Svyatoslav Nikolsky
e656e0089e
Reinitialize bridge relay subcommand ( #1331 )
...
* reinitialize bridge subcommand
* PolkadotToKusama in reinit-bridge
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
60f82cf459
removed extra *_RUNTIME_VERSION consts from relay code ( #1330 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e29b590785
Using-same-fork metric for finality and complex relay ( #1327 )
...
* using_same_fork metric in finality relay
* support `using_different_forks` in messages relay
* added dashboards and alerts
* lockfile
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
36443f3d54
use mortal transactions in transaction resubmitter ( #1326 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
6f1c4f8beb
impl Decode for SignedExtensions (otherwise transaction resubmitter panicks) ( #1325 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
efa3e97210
Encode and estimate Rococo/Wococo/Kusama/Polkadot messages ( #1322 )
...
* encode and estimate Rococo/Wococo/Kusama/Polkadot messages
* allow send-message for non-bundled chains
* weight -> dispatch-weight
* fmt
* fix spelling
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
097a28418b
Add some tests to check integrity of chain constants + bridge configuration ( #1316 )
...
* add some tests to check integrity of chain constants + bridge configuration
* try to use named parameters where possible
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
821b2e7184
Fix issues from cargo deny ( #1311 )
...
* update libp2p-core (RUSTSEC-2022-0009)
* update thread_local (RUSTSEC-2022-0006)
* time 0.2 -> time 0.3
* ignore RUSTSEC-2021-0130
* proper migration to time 0.3
* fix clippy?
* Revert "fix clippy?"
This reverts commit 53bc289631769071848e43976871304782486fed.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
214febc46a
expose fee multiplier metrics in messages relay ( #1312 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a39c567274
Endow relayer account at target chain in message benchmarks ( #1310 )
...
* endow relayer account at target chain in message benchmarks
* pick another line
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
43d2e4967b
fix benchmarks before using it in Polkadot/Kusama/Rococo runtimes ( #1309 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
d4e692e429
increase relay balance guard limits for Polkadot<>Kusama bridge ( #1308 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
145bce5f25
Fix mandatory headers scanning in on-demand relay ( #1306 )
...
* more logging in on-demand headerss
* remove `maximal_headers_difference` concept from on-demand-relay
* another leftover from previous on-demand version
* removed extra log
* fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e190c35c95
fix session length of Rococo and Wococo ( #1304 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
01ee74c949
Use raw balance value if tokenDecimals property is missing ( #1299 )
...
* use raw balance value if tokenDecimals property is missing
* fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c0f6509d40
Fix ss58 prefixes of Polkadot, Kusama and Westend used by relay ( #1298 )
...
* fix ss58 prefixes of Polkadot, Kusama and Westend
* fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
cb20c10bdb
bump chain spec versions ( #1297 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ea2d6f898d
Bump Substrate/Polkadot/Cumulus refs ( #1295 )
...
Substrate: 31d90c202d6df9ce3837ee55587b604619a912ba
Polkadot: 60df3c55c711c2872872d6220f98b2611340e051
Cumulus: a9630551c2
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
fe34a526bb
Relay balance metrics ( #1291 )
...
* relay balance metrics
* convert balance to "main" tokens in balance metrics
* add balances widgets to maintenance dashboard
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
25008a5166
when messages pallet is halted, relay shall not submit messages delivery/confirmation transactions ( #1289 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
0fa8c02e7a
when GRANDPA pallet is halted, relay shall not submit finality transactions ( #1288 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a9334bb609
support version mode cli options in send-message subcommand ( #1284 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
1ec2edd357
reuse polkadot-service code ( #1273 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
1d99ad3619
replace latest_confirmed_nonce runtime APIs with direct storage reads ( #1282 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
fd816b60e3
move "common" code of messages pallet benchmarks helpers to the common library ( #1281 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c4837d2368
do not start spec_version guard when version mode is set to auto ( #1278 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a7fa7a491f
removed extra messages benchmarks ( #1279 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
00f68e7722
Move benchmarks from Rialto to Millau ( #1277 )
...
* move brnchmarks from Rialto to Millau
* fix limits test
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
eb5a3eecd2
Revert "override conversion rate in estimate-message-fee RPC ( #1189 )" ( #1275 )
...
This reverts commit ad4299f6c91ce4c50cb6fbc739a0c788e2920956.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
a88207876c
Replace InboundLaneApi::latest_received_nonce with direct storage read ( #1269 )
...
* remove inbound_latest_received_nonce
* Update relays/lib-substrate-relay/src/messages_target.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
bb249eff15
verify that GRANDPA pallet is not initialized before submitting initialization transaction ( #1267 )
...
* verify that GRANDPA pallet is not initialized before submitting initialization transaction
* spelling
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
988f6b1664
remove OutboundLaneApi::latest_received_nonce ( #1262 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
13a3974f27
bump rococo version ( #1263 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
c21217a282
read latest_generated_nonce directly from storage ( #1260 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
741484214e
override conversion rate in estimate-message-fee RPC ( #1189 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
22b1e456ab
move storage keys computation to primitivs ( #1254 )
2024-04-10 10:28:37 +02:00
fewensa
3aff81a707
Change submit transaction spec_version and transaction_version query from chain ( #1248 )
...
* The `spec_version` and `transaction_version` query from chain
* fix compile
* Lint
* Custom spec_version and transaction_version
* runtime version params struct opt
* runtime version cli
* cli params
* Add missing types defined
* fix compile
* debug cli
* clippy
* clippy
* Query spec_version and transaction_version same times
* Fix vars
* Wrap option
* Wrap option
* Try fix ci
* Change follow suggestions
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
ecd7687701
Add missing RPC APIs to rialto parachain node ( #1250 )
...
* add missing RPC APIs to rialto parachain node
* spellcheck
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
bbd3f1229a
Bump relay version to 1.0.0 ( #1249 )
2024-04-10 10:28:37 +02:00
Adrian Catangiu
8edc9038d1
runtimes: fix call_size() test ( #1245 )
...
Signed-off-by: acatangiu <adrian@parity.io >
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
b84d0e4028
Use same endowed accounts set on dev/local chains ( #1244 )
...
* use same accounts set on dev/local chains
* run altruistic relayers in local demo scripts
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
4cdd959057
Refactor message relay helpers ( #1234 )
...
* refactor message relay helpers
* single standalone_metrics function
* fixed tests
* clippy + fmt
* removed commented code
* add calls tracing
* fix spelling
* cargo fmt
* -commented code
* fix build again
* post-merge build fix
* clippy + fmt
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
90f2b3c365
post-merge build fix ( #1243 )
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
cc6320c3f9
Fix transactions mortality ( #1196 )
...
* added lost stall timeout fix
* use best_block.parent() to start mortal tx era
* fmt
* Revert "revert messages transactions mortality"
This reverts commit 77776357dafdfa80dcb3ec307d76fcfd0d5195bb.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
e675b13042
Refactor finality relay helpers ( #1220 )
...
* refactor finality relay helper definitions
* add missing doc
* removed commented code
* fmt
* disable rustfmt for macro
* move best_finalized method const to relay chain def
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
f84590817b
Update Rococo/Wococo version + prepare relay for Rococo<>Wococo bridge ( #1241 )
...
* update Rococo version + create relayers fund account
* start finality relay guards when complex relay is started
2024-04-10 10:28:37 +02:00
Tomasz Drwięga
e69e94d4f9
Enable offchain indexing for Rialto/Millau nodes ( #1239 )
...
* Enable off-chain indexing for Rialto & Millau nodes
* cargo fmt --all
* cargo +nightly fmt --all
* fmt is weird.
2024-04-10 10:28:37 +02:00
Svyatoslav Nikolsky
edd1724957
Fix storage parameter name computation ( #1238 )
...
* fixed storage_parameter_key
* added test for storage_parameter_key
2024-04-10 10:28:37 +02:00
Adrian Catangiu
1fb70c7ed7
Integrate BEEFY with Rialto & Millau runtimes ( #1227 )
...
* Add Beefy pallet to Rialto runtime
* Add Beefy gadget to Rialto node
* Add MMR pallet to Rialto runtime
* Add Beefy pallet to Millau runtime
* Add Beefy gadget to Millau node
* Add MMR pallet to Millau runtime
* Add pallet_beefy_mmr to Millau runtime
* Add pallet_beefy_mmr to Rialto runtime
* Implement MMR and BEEFY APIs in Rialto
* fix unit tests
- should_encode_bridge_send_message_call() tests for new
runtime encoding resulted from newly added pallets.
- runtime size_of::<Call>() slightly increased from newly
added pallets.
* fix grumbles
* tighten clippy allowances
* fix more grumbles
* Add MMR RPC to Rialto and Millau nodes
Also implement MmrApi in Millau runtime.
* rialto: use upstream polkadot_client::RuntimeApiCollection
2024-04-10 10:28:37 +02:00
Antonio Dropulic
7b30098a12
update dependencies ( #1229 )
2024-04-10 10:28:37 +02:00