-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bridges V2 refactoring backport and pallet_bridge_messages
simplifications
#4935
Commits on Jun 26, 2024
-
Use compact proofs for messages delivery (#2155)
* Define Chain::STATE_VERSION * Add vec_db module * Use VecDb instead of StorageProof for message delivery * Make sure that the TrustedVecDb is sorted * Address review comments * Run benchmarks on parent commit * Run benchmarks with new code * Fix test * Fix code review comments
Configuration menu - View commit details
-
Copy full SHA for bc0f814 - Browse repository at this point
Copy the full SHA bc0f814View commit details -
Moved FromBridgedChainMessagesDeliveryProof to bp-messages (#2169)
* moved FromBridgedChainMessagesDeliveryProof to bp-messages * spelling * fix benchmarks compilation
Configuration menu - View commit details
-
Copy full SHA for 18b5b22 - Browse repository at this point
Copy the full SHA 18b5b22View commit details -
Moved FromBridgedChainMessagesProof to bp-messages (#2170)
* moved FromBridgedChainMessagesProof to bp-messages * fmt
Configuration menu - View commit details
-
Copy full SHA for 379a600 - Browse repository at this point
Copy the full SHA 379a600View commit details -
Separate folder for messages in relay lib (#2173)
* moved message files to separate folder * ...and fix paths in code * fmt rebase nit
Configuration menu - View commit details
-
Copy full SHA for 7b5b01c - Browse repository at this point
Copy the full SHA 7b5b01cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0278a54 - Browse repository at this point
Copy the full SHA 0278a54View commit details -
Improve receive_messages_proof benchmarks accuracy (#2176)
* Adjust messages pallet benchmarks * Address comment
Configuration menu - View commit details
-
Copy full SHA for 9197d85 - Browse repository at this point
Copy the full SHA 9197d85View commit details -
Moving messages code to pallet (#2180)
* moved files around * and fix compilation Move Chain::ID from relay-level Chain to primitives-level Chain (#2181) * move Chain::ID from relay-level Chain to primitives-level Chain * removed chain IDs from bp-runtime * add missing file header Adjust weights (#2185) fix clippy (#2186) Remove source header chain (#2183) * moved messages proof verification to messages pallet * removed SourceHeaderChain * cleanup * benchmarks compilation * fix benchmark tests compilation * clippy * fmt Use compact proofs for messages delivery confirmation (#2187) * Use compact proofs for messages delivery confirmation * Fix benchmarks Move messages delivery proof verification to pallet (#2189) * rename messages_proof.rs to proofs.rs * moved delivery proof verification to the messages pallet * removed TargetHeaderChain * cleaning up * fixed benchmarks compilation * Update modules/messages/README.md Co-authored-by: Adrian Catangiu <[email protected]> * uncommented test and removed printlns * vec![].into_iter().collect() -> vec![].into() --------- Co-authored-by: Adrian Catangiu <[email protected]> removed MaxUnrewardedRelayerEntriesAtInboundLane and MaxUnconfirmedMessagesAtInboundLane from messages pallet config (#2190) * removed MaxUnrewardedRelayerEntriesAtInboundLane and MaxUnconfirmedMessagesAtInboundLane from messages pallet config * fixed doc * fixed benchmarking code * more fixes remove MaximalOutboundPayloadSize and use BridgedChain::maximal_incomging_message_size instead (#2191) remove MessageBridge trait (#2192)
Configuration menu - View commit details
-
Copy full SHA for 7c46371 - Browse repository at this point
Copy the full SHA 7c46371View commit details -
Configuration menu - View commit details
-
Copy full SHA for acb15cc - Browse repository at this point
Copy the full SHA acb15ccView commit details -
Use compact proofs for parachains (#2194)
* Use compact proofs for parachains * Remove StorageProofChecker * Cleanup Reuse messages proof generation from messages pallet (#2195) * reuse messages proof generation from messages pallet * incorrect merge fixed remaining TODOs after messages pallet Config refactoring (#2196) Return UntrustedVecDb from prove_storage() (#2197) Storage proofs related renamings (#2198) * Storage proofs related renamings * Leftovers * StorageSize -> StorageProofSize
Configuration menu - View commit details
-
Copy full SHA for 91d6f6b - Browse repository at this point
Copy the full SHA 91d6f6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11cd08c - Browse repository at this point
Copy the full SHA 11cd08cView commit details -
Fix maximal message dispatch weight (#2219)
* add test for maximal message dispatch weight * fixed weight computations - use kb for both size-related benchmarks * fix typo in weight formula * decreased maximal message size to 64Kb
Configuration menu - View commit details
-
Copy full SHA for e5acef8 - Browse repository at this point
Copy the full SHA e5acef8View commit details -
Box messages proof argument in receive_messages_proof call (#2222)
* Box messages proof argument in receive_messages_proof call * fix benchmark tests
Configuration menu - View commit details
-
Copy full SHA for 5303b2c - Browse repository at this point
Copy the full SHA 5303b2cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6019c51 - Browse repository at this point
Copy the full SHA 6019c51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cbee73 - Browse repository at this point
Copy the full SHA 4cbee73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1265806 - Browse repository at this point
Copy the full SHA 1265806View commit details -
* StorageProofSize -> StorageSize * Rename benchmarks * StorageSize -> UnverifiedStorageProofParams * Fix clippy * Fix priority boost
Configuration menu - View commit details
-
Copy full SHA for 8a1d006 - Browse repository at this point
Copy the full SHA 8a1d006View commit details -
* update async-trait to 0.1.69 * more clippy fixes
Configuration menu - View commit details
-
Copy full SHA for ccf2919 - Browse repository at this point
Copy the full SHA ccf2919View commit details -
* some code grooming: enable warn(missing_docs) for all piblic crates + added missing documentation + removed obsolete clippy/deny workarounds * removed strange allow + added comment related to other allow * removed incorrect_clone_impl_on_copy_type which is unknown to CI clippy
Configuration menu - View commit details
-
Copy full SHA for 37225c0 - Browse repository at this point
Copy the full SHA 37225c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f06c39f - Browse repository at this point
Copy the full SHA f06c39fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2e7be3 - Browse repository at this point
Copy the full SHA e2e7be3View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_relayers ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_relayers ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_parachains ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_parachains ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_messages ".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_messages
Configuration menu - View commit details
-
Copy full SHA for 0325bdc - Browse repository at this point
Copy the full SHA 0325bdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 948e4ab - Browse repository at this point
Copy the full SHA 948e4abView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b6ccf - Browse repository at this point
Copy the full SHA b1b6ccfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 096aca1 - Browse repository at this point
Copy the full SHA 096aca1View commit details
Commits on Jun 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7e6b6b2 - Browse repository at this point
Copy the full SHA 7e6b6b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8a40ef - Browse repository at this point
Copy the full SHA c8a40efView commit details -
Updated new
substrate-relay
version `v2.0.0-rc1-compact-proof-ro-we……` with compact proofs
Configuration menu - View commit details
-
Copy full SHA for cdd1280 - Browse repository at this point
Copy the full SHA cdd1280View commit details
Commits on Jul 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bcf8050 - Browse repository at this point
Copy the full SHA bcf8050View commit details
Commits on Jul 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ded4e86 - Browse repository at this point
Copy the full SHA ded4e86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c94e43 - Browse repository at this point
Copy the full SHA 4c94e43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94e977d - Browse repository at this point
Copy the full SHA 94e977dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19f4011 - Browse repository at this point
Copy the full SHA 19f4011View commit details -
Configuration menu - View commit details
-
Copy full SHA for a367b49 - Browse repository at this point
Copy the full SHA a367b49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6dbbb48 - Browse repository at this point
Copy the full SHA 6dbbb48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a149d9 - Browse repository at this point
Copy the full SHA 3a149d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4a1c5b - Browse repository at this point
Copy the full SHA e4a1c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for abd140f - Browse repository at this point
Copy the full SHA abd140fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 685bcb4 - Browse repository at this point
Copy the full SHA 685bcb4View commit details -
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
…nto HEAD
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for cd6b1c7 - Browse repository at this point
Copy the full SHA cd6b1c7View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_parachains
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 2a3d5cc - Browse repository at this point
Copy the full SHA 2a3d5ccView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_relayers
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 39a5340 - Browse repository at this point
Copy the full SHA 39a5340View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
…idge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_xcm_benchmarks::generic
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for dcb550f - Browse repository at this point
Copy the full SHA dcb550fView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 45155b3 - Browse repository at this point
Copy the full SHA 45155b3View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_relayers
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 43dcfc0 - Browse repository at this point
Copy the full SHA 43dcfc0View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_parachains
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 27dfe41 - Browse repository at this point
Copy the full SHA 27dfe41View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_messages
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 25ed0da - Browse repository at this point
Copy the full SHA 25ed0daView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=xcm --runtime=br…
…idge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_xcm_benchmarks::generic
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 387e624 - Browse repository at this point
Copy the full SHA 387e624View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for e2635b5 - Browse repository at this point
Copy the full SHA e2635b5View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_messages
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 612cf2d - Browse repository at this point
Copy the full SHA 612cf2dView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=asset-hub-rococo --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm_bridge_hub_router
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 6047fa9 - Browse repository at this point
Copy the full SHA 6047fa9View commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=asset-hub-westend --runtime_dir=assets --target_dir=cumulus --pallet=pallet_xcm_bridge_hub_router
command-bot committedJul 3, 2024 Configuration menu - View commit details
-
Copy full SHA for 32d7455 - Browse repository at this point
Copy the full SHA 32d7455View commit details -
Configuration menu - View commit details
-
Copy full SHA for 233fb44 - Browse repository at this point
Copy the full SHA 233fb44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f1c5ff - Browse repository at this point
Copy the full SHA 0f1c5ffView commit details -
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-back…
…port-refactoring
Configuration menu - View commit details
-
Copy full SHA for 24b3a12 - Browse repository at this point
Copy the full SHA 24b3a12View commit details
Commits on Jul 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cf42701 - Browse repository at this point
Copy the full SHA cf42701View commit details -
Merge remote-tracking branch 'origin/master' into bko-bridges-v2-back…
…port-refactoring
Configuration menu - View commit details
-
Copy full SHA for 5e4c70d - Browse repository at this point
Copy the full SHA 5e4c70dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed7df7 - Browse repository at this point
Copy the full SHA 1ed7df7View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 308ec4a - Browse repository at this point
Copy the full SHA 308ec4aView commit details
Commits on Jul 10, 2024
-
[bridges] Prune messages from confirmation tx body, not from the on_i…
…dle (#4944) Original PR with more context: paritytech/parity-bridges-common#2211 Relates to: paritytech/parity-bridges-common#2210 ## TODO - [x] fresh weighs for `pallet_bridge_messages` - [x] add `try_state` for `pallet_bridge_messages` which checks for unpruned messages - relates to the [comment](paritytech/parity-bridges-common#2211 (comment)) - [x] ~prepare migration, that prunes leftovers, which would be pruned eventually from `on_idle` the [comment](paritytech/parity-bridges-common#2211 (comment) can be done also by `set_storage` / `kill_storage` or with `OnRuntimeUpgrade` implementatino when `do_try_state_for_outbound_lanes` detects problem. ## Open question - [ ] Do we really need `oldest_unpruned_nonce` afterwards? - after the runtime upgrade and when `do_try_state_for_outbound_lanes` pass, we won't need any migrations here - we won't even need `do_try_state_for_outbound_lanes` --------- Signed-off-by: Branislav Kontur <[email protected]> Co-authored-by: Svyatoslav Nikolsky <[email protected]> Co-authored-by: command-bot <>
Configuration menu - View commit details
-
Copy full SHA for 7c875be - Browse repository at this point
Copy the full SHA 7c875beView commit details
Commits on Jul 11, 2024
-
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
…nto HEAD
command-bot committedJul 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 09a306f - Browse repository at this point
Copy the full SHA 09a306fView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-rococo --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa
command-bot committedJul 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 1dc37bc - Browse repository at this point
Copy the full SHA 1dc37bcView commit details -
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
…=bridge-hub-westend --runtime_dir=bridge-hubs --target_dir=cumulus --pallet=pallet_bridge_grandpa
command-bot committedJul 11, 2024 Configuration menu - View commit details
-
Copy full SHA for 953e4bd - Browse repository at this point
Copy the full SHA 953e4bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 397dd61 - Browse repository at this point
Copy the full SHA 397dd61View commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b42bd1c - Browse repository at this point
Copy the full SHA b42bd1cView commit details