Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit bbce074

Browse files
author
antonio-dropulic
committed
Squashed 'bridges/' changes from 23dda62482..407bf44a8a
407bf44a8a add missing license header (#1204) 9babb19810 Custom relay strategy (#1198) c287872a11 fix clippy things (#1200) 3a40e62789 Expose some const value and type (#1186) 32b61476d1 increase sleep before connectingMillau (#1195) aabe7041fa revert messages transactions mortality (#1194) 3651f4f909 Message transactions mortality (#1191) 364d6e155d Bump dependencies (#1180) f0389acc08 cargo +nightly fmt --all (#1192) b270b6a016 Unify error enums in substrate and ethereum clients with `thiserror` (#1094) 58c4946f74 Limit max call size of Rialto/Millau runtimes (#1187) fd56a8cd56 Add UI to the deployment (#1047) 16f01dc736 Westend -> Millau alerts are pending before notifications are sent (#1184) 5628c11ece replace collective flip with babe randomness in Rialto (#1188) 1094a63b00 ignore another (pretty bad) RUSTSEC (#1185) 379fe323ea fix/ignore cargo deny issues (#1183) 92af5e6e64 additional log in finality relay + rephrase "failed" (#1182) b996a3b681 Rialto parachain in test deployments (#1178) 28d9332b44 Resubmit transactions strategy for Polkadot/Kusama (#1175) d0172c6847 Playing with CI (#1179) fb6f42456d fix checks order when registering parachain (#1177) ee828c005a Register-parachain subcommand of substrate-relay (#1170) 8cd2b1a112 Token swap pallet benchmarks (#1174) bb811accb1 fix collision with westend bridge (#1172) 8d2fba70ed add token swaps to test deployments (#1169) b6d1bdfe2c publish rialto parachain collator image (#1171) 834ae4a10a Fix OutboundLaneData types (#1159) 5ee0ea1626 copypasted -> copied (#1168) c3bb835f18 fix spelling (#1167) f90d041dc9 Upgrade `jsonrpsee` to v0.3 (#1051) 598c9b6d0d add some basic tests for swap tokens (#1164) 05e88c61f5 publish images when tag of specific format(e.g. v2021-09-27 + v2021-09-27-1) is published (#1166) 7f3f94a6e0 Fix CI again (#1165) ff37de332f Move calculation relayer reward into `MessageDeliveryAndDispatchPayment` (#1153) 36fbba839b fix clippy warning (#1163) 16da44d018 explicit wasm build (#1158) c9c8226449 Match substrate's fmt (#1148) 2fdd7f3e5e Fix/ignore clippy warnings (#1157) 43dfcc2686 Adding LookupAddress (#1156) 951eaa5582 Add rialto-parachain runtime and node (#1142) 803d266d61 Rename MessageId -> BridgeMessageId (#1152) 5f234484fc Box large arguments of GRANDPA pallet (#1154) cf9abc1011 Fix spelling (#1150) ab83ba2e58 Relay subcommand that performs token RLT <> MLAU token swap (#1141) 832536caf0 Polkadot <> Kusama relayers (#1122) 6d0daa8975 Add `OnMessageAccepted` callback (#1134) 5d03a20b3e Integrate token swap pallet into Millau runtime (#1099) ea4cfa833e Adding MultiAddress type and ValidationCodeHash (#1139) c20325a784 Add tests for `Raw` and `BridgeSendMessage` enum `Call` variants (#1125) 6d802416e2 increase pause before pining Rialto nodes (#1137) b54fa56b62 calculate fee using full message payload (#1132) ca5d8178f5 Add parachain pallets to rialto runtime (#1053) 9eaae4142e fix transaction resubmitter limits for Millau -> Rialto transactions (#1135) 9d4e17783c add --mandatory-headers-only cli option to complex relay (#1129) 1c5e0ec1cb Add local CI info to README (#1131) a8e0929e14 chore: spellchecker fixes (#1130) 3b8e2118e3 set fee for importing mandatory headers to zero (#1127) 49bba9aa52 another bunch of words for spellchecker (#1128) 8a72eafef6 Increase pause before messages generation start (#1126) 1f0ba9a191 Move some associated types from relay_substrate_client::Chain to bp_runtime::Chain (#1087) 74bc1a5b54 Transactions resubmitter (#1083) 21ba001f26 log max balance drop when sending message (#1117) 638a7ddffa Code Cleaning (#1124) be6555c51b Fix buildah logout (#1120) 87539c4a98 Format code work (#1116) 526fe7fdd7 fix spelling (#1119) bd4ce7f241 Fix spelling (#1118) 3c1147858e added missing constants to Kusama/Polkadot primitives (#1114) 52093b22ab Fix delivery transaction estimation used by rational relayer (#1109) 77a2f2fbed Remove fund account checks from upgrade. (#1111) 824334802b Rename param and update comment (#1108) d7784bfe06 Fix spellcheck (#1110) 0b18f5906a Refactor substrate messages source and substrate messages target (#1105) b27240bbff fix compilation (#1107) 9697da4fe8 Emit mortal transactions from relay (#1073) b29396c077 Change vault vars type to env vars (#1084) 35e0bbdc0c Make clippy mandatory. (#1103) a517e8541f Remove unused deps (#1102) 873dae608a Remove unnessary deps (#1101) 13450b74ee Stored conversion rate updater (#1005) 74389829f3 [BREAKING] Migrate messages pallet to frame v2 (#1088) 424da938dd README fix (#1100) 865744c909 upgrade currency exchange pallet to frame v2 (#1097) b5038148b3 Add missing docs (#1095) 0791e911c1 Common crate for substrate-relay (#1082) 3834c9d880 Update high-level-overview.md (#1093) c93553face Increase the time window for messaging alerts. (#1092) 8b9cc3cecd migrate pallet-shift-session-manager to frame v2 (#1090) dc91813c22 migrate eth PoA pallet to frame v2 (#1091) f16bb098cc Migrate dispatch pallet to frame v2 (#1089) 19f4325348 Bridge/This Chain Ids should be exposed as constants on pallet level. (#1085) 6381122df7 Change ChainSpec::from_genesis for Rialto and Millau chains to reflect the chain names. (#1079) 0f1d33e973 Make CI happy again (#1086) 238e65d96f fix typo (#1080) fc008457b6 Token-swap-over-bridge pallet (#944) 3fb97fa5ef Fix full spellcheck (#1076) eae4ed7170 fixed wrong trace (#1075) 219a0fad04 merge two weight-related loops in messages pallet (#1071) fc85632fdb increase_message_fee depends on stored mesage size (#1066) 530f37a23b companion for #3507 (#1067) 53b8cba683 sc_basic_authorship=trace for millau nodes (#1074) 9874e05e98 Improve traces of message generator scripts (#1069) 7b5ee84fbb extract message_details impl into runtime common (#1070) 5a4aed5a8b refund weight for mot pruning messages (#1062) 90e3d1e111 Fix Westend -> Millau sync (#1064) 427d30ddfc When restarting client, also "restart" tokio runtime (#1065) d47c05eeef Change get pipeline sensitive variables from Vault instead of GitLab settings (#1063) d775a85415 use tokio reactor to execute jsonrpsee futures (#1061) 15c8cd61cb Use BABE to author blocks on Rialto (previously: Aura) (#1050) 5186293500 Allow reading suri && password override from file (#1059) b506298262 Update jsonrpsee reference (#1049) 1734d00517 enable weight fee adjustent in Rialto/Millau (#1044) 607265afae Pay dispatch fee at target chain cli option (#1043) ce79ef91be bump dependencies before start referencing polkadot repo (#1048) 924fa24f6d Cli option for greedy relayer + run no-losses relayer by default (#1042) e21eba7b59 Yrong README Fixup + M1 Fixes (#1045) 20d08204a2 Confirm delivery detects when more than expected messages are confirmed (#1039) 994b846b52 pre and post dispatch weights of OnDeliveryConfirmed callback (#1040) 1dd5297e84 give real value to Rialto and Millau tokens (#1038) 035bee8715 Use real conversion rate in greedy relayer strategy (#1035) 9cfaecd0f7 fixed metrics prefix (#1037) 1d8d224937 Use kebab-case for bridge arguments (#1036) f30a4c79a6 Shared reference to conversion rate metric value (#1034) c34d7a5cbb estimate transaction fee (#1015) 93404b18bb change alert period from 2m to 10m for Westend -> Millau (GRANDPA or public node itself is lagging sometimes) (#1032) git-subtree-dir: bridges git-subtree-split: 407bf44a8a5f4e60aceef2dc755cd9ff09929ac3
1 parent 944ff40 commit bbce074

File tree

1,167 files changed

+55952
-205626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,167 files changed

+55952
-205626
lines changed

.config/lingua.dic

Lines changed: 173 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,239 @@
1-
150
2-
adversary/SM
3-
annualised/MS
4-
Apache-2.0/M
5-
api/SM
1+
90
2+
3+
&&
4+
1KB
5+
1MB
6+
5MB
7+
=
68
API/SM
79
APIs
8-
assignee/SM
9-
async
10+
AccountId/MS
11+
Apache-2.0/M
12+
Autogenerated
1013
BFT/M
14+
BTC/S
15+
Best/MS
16+
BlockId
17+
BlockNumber
18+
BridgeStorage
19+
CLI/MS
20+
Chain1
21+
Chain2
22+
ChainSpec
23+
ChainTime
24+
DOT/S
25+
ERC-20
26+
Ethereum
27+
FN
28+
FinalizationError
29+
GPL/M
30+
GPLv3/M
31+
GiB/S
32+
Handler/MS
33+
Hasher
34+
HeaderA
35+
HeaderId
36+
InitiateChange
37+
Instance1
38+
Instance2
39+
Instance42
40+
InstantCurrencyPayments
41+
KSM/S
42+
KYC/M
43+
KeyPair
44+
Kovan
45+
Lane1
46+
Lane2
47+
Lane3
48+
LaneId
49+
MIN_SIZE
50+
MIT/M
51+
MMR
52+
MaxUnrewardedRelayerEntriesAtInboundLane
53+
MaybeExtra
54+
MaybeOrphan
55+
Merklized
56+
MessageNonce
57+
MessageNonces
58+
MessagePayload
59+
MetricsParams
60+
Millau/MS
61+
OldHeader
62+
OutboundMessages
63+
PoA
64+
PoV/MS
65+
Pre
66+
RLP
67+
RPC/MS
68+
Rialto/MS
69+
Relayer/MS
70+
Runtime1
71+
Runtime2
72+
SIZE_FACTOR
73+
SS58
74+
SS58Prefix
75+
STALL_SYNC_TIMEOUT
76+
SURI
77+
ServiceFactory/MS
78+
SignedExtension
79+
Stringified
80+
Submitter1
81+
S|N
82+
TCP
83+
ThisChain
84+
TODO
85+
U256
86+
Unparsed
87+
Vec
88+
WND/S
89+
Westend/MS
90+
Wococo/MS
91+
XCM/S
92+
XCMP/M
93+
annualised/MS
94+
api/SM
95+
aren
96+
arg
97+
args
98+
async
99+
auth
100+
auths/SM
101+
backoff
102+
benchmarking/MS
103+
best_substrate_header
11104
bitfield/MS
12105
blake2/MS
13106
blockchain/MS
14107
borked
15-
BTC
16-
BTC/S
17-
CLI/MS
18-
codec/SM
108+
chain_getBlock
109+
choosen
19110
config/MS
20111
crypto/MS
21112
customizable/B
22113
debian/M
23114
decodable/MS
24-
dispatchable/SM
25-
DMP/SM
26-
DOT/S
115+
delivery_and_dispatch_fee
116+
dev
117+
dispatchable
118+
dispatchables
119+
doesn
27120
ed25519
28121
enum/MS
29-
ERC-20
30-
ETH
122+
entrypoint/MS
31123
ethereum/MS
32124
externality/MS
33125
extrinsic/MS
34126
extrinsics
35127
fedora/M
36-
GiB/S
37-
GPL/M
38-
GPLv3/M
39-
Handler/MS
40-
HMP/SM
128+
functor
129+
fuzzer
130+
hasher
131+
hardcoded
41132
https
133+
implementers
42134
include/BG
43135
inherent/MS
44136
initialize/RG
45137
instantiate/B
46138
intrinsic/MS
47-
intrinsics
139+
invariant/MS
140+
invariants
48141
io
142+
isn
49143
isolate/BG
50-
jaeger/MS
51144
js
145+
jsonrpsee
146+
keccak
52147
keccak256/M
53-
KSM/S
148+
keyring
149+
keystore/MS
54150
kusama/S
55-
KYC/M
151+
lane
152+
malus
153+
max_value
56154
merkle/MS
155+
metadata
156+
millau
57157
misbehavior/SM
58158
misbehaviors
59-
MIT/M
60-
MQC/SM
61159
multivalidator/SM
62-
NFT/SM
160+
natively
161+
no_std
162+
nonces
163+
number
164+
ok
63165
oneshot/MS
64166
others'
167+
pallet_bridge_grandpa
168+
pallet_bridge_messages
169+
pallet_message_lane
65170
parablock/MS
66171
parachain/MS
172+
param/MS
67173
parameterize/D
68-
picosecond/SM
174+
plancks
69175
polkadot/MS
70176
pov-block/MS
71-
PoV/MS
177+
precommit
72178
promethius
73179
promethius'
74180
provisioner/MS
181+
probabilistically
182+
prune_depth
183+
prune_end
184+
receival
185+
reconnection
75186
redhat/M
76187
repo/MS
77-
RPC/MS
78188
runtime/MS
79189
rustc/MS
190+
relayer/MS
191+
shouldn
192+
source_at_target
193+
source_latest_confirmed
194+
source_latest_generated
195+
sp_finality_grandpa
196+
spawner
80197
sr25519
198+
src
199+
stringified
81200
struct/MS
201+
submitters/MS
82202
subsystem/MS
83203
subsystems'
204+
subcommand/MS
205+
synchronizer
206+
target_at_source
207+
target_latest_confirmed
208+
target_latest_received
84209
taskmanager/MS
85-
TCP
86210
teleport/RG
87211
teleportation/SM
88212
teleporter/SM
89213
teleporters
90214
testnet/MS
215+
timeframe
216+
tokio
217+
timestamp
91218
trie/MS
92219
trustless/Y
93-
tuple/SM
220+
tuple
221+
u32
94222
ubuntu/M
95-
UDP
96-
UI
97-
unfinalize/B
223+
undeliverable
224+
unfinalized
98225
union/MSG
226+
unpruned
99227
unservable/B
228+
unsynced
229+
updatable
100230
validator/SM
101-
VMP/SM
102-
VRF/SM
231+
ve
232+
vec
233+
verifier
103234
w3f/MS
235+
wakeup
104236
wasm/M
105-
WND/S
106-
XCM/S
107-
XCMP/M
108-
instantiation/SM
109-
NFA
237+
websocket
238+
x2
239+
~

.config/spellcheck.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
lang = "en_US"
33
search_dirs = ["."]
44
extra_dictionaries = ["lingua.dic"]
5+
skip_os_lookups = true
6+
use_builtin = true
57

68
[hunspell.quirks]
79
# `Type`'s
810
# 5x
9-
# He tagged it as 'TheGreatestOfAllTimes'
10-
# Transforms'
11-
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?(x|%)$", "^(.*)'$", "^\\+$"]
11+
transform_regex = ["^'([^\\s])'$", "^[0-9]+(?:\\.[0-9]*)?x$", "^'s$", "^\\+$", "[><+-]"]
1212
allow_concatenation = true
1313
allow_dashes = true

.dockerignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
doc
2-
**/target
1+
**/target/

.editorconfig

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
root = true
2-
3-
[*.rs]
2+
[*]
43
indent_style=tab
54
indent_size=tab
65
tab_width=4
7-
max_line_length=120
86
end_of_line=lf
97
charset=utf-8
108
trim_trailing_whitespace=true
9+
max_line_length=100
1110
insert_final_newline=true
1211

13-
[*.yml]
12+
[*.{yml,md,yaml,sh}]
1413
indent_style=space
1514
indent_size=2
1615
tab_width=8
1716
end_of_line=lf
18-
charset=utf-8
19-
trim_trailing_whitespace=true
20-
insert_final_newline=true
2117

22-
[*.sh]
23-
indent_style=space
24-
indent_size=2
25-
tab_width=8
26-
end_of_line=lf
18+
[*.md]
19+
max_line_length=80

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)