- Apr 10, 2024
-
-
* High level docs - start. * Clean up README * Start adding details to high level docs * More docs on the header sync pallet * Testing scenarios document. * Add some scenarios. * Add multi-sig scenario. * Start writing about message dispatch pallet * Move content from old README into PoA specific doc * Apply suggestions from code review Co-authored-by:
Andreas Doerr <[email protected]> * GRANDPA for consistency. * Describe scenario steps. * WiP * Add notes about block production and forks * Update. * Add sequence diagram for Millau to Rialto transfer * Clean up header sync pallet overview * Remove leftover example code * Clean up testing scenarios and amend sequence diagram. * Linking docs. * Add some more docs. * Do a bit of cleanup on the high-level docs * Clean up the testing scenario * Fix typos in flow charts * Fix small typo * Fix indentation of Rust block * Another attempt at rendering block correctly * TIL about lazy list numbering in Markdown * Add list numbers across sections * Start counting from correct number * Update README to use correct path to local scripts * Wrap ASCII art in code block Co-authored-by:
Tomasz Drwięga <[email protected]> Co-authored-by:
Tomasz Drwięga <[email protected]> Co-authored-by:
Andreas Doerr <[email protected]>
-
-
-
* Attempt at adding Cross-Chain Transfer Generator * Add Transfer subcommand for sending messages to Rialto * Add temp helper script for sending messages * Remove Message and Lane Ids from Dispatch Event * Increase transfer amount used by script * Endow derived Dave account on Rialto with funds * Update Message generator to send more types of messages This commit first of all updates the script to use the new CLI commands for sending messages. Second, it adds messages which are sent from both Target and Source origins. * Generate messages from Root origin * Remove dbg! logs from relayer * Log AccountId as well as HexId * Remove Balances logs * Add InstanceId and MessageId back to Dispatch Event * Add InstanceId and MessageId types for Apps * Add missing comment * Document derived accounts as tests * Move shared commands to variables * Add example usage for send_message script * Add docs to message variants * Fix Clippy complaint
-
* Make sure to verify sender's origin. * Make sure to use dispatch verification. * Add tests. * cargo fmt --all * Remove superfluous lifetime. * Move the check to MessageLanVerifier. * cargo fmt --all * Fix docs.
-
* message lane benchmarks: start * finish send_message_worst_case benchmark * fix compilation * removed redundant bench param
-
* limit maximal number of unconfirmed messages at inbound lane * unrewarded_relayer_entries API * change relay to support max unrewarded relayer entries * Update modules/message-lane/src/inbound_lane.rs Co-authored-by:
Tomasz Drwięga <[email protected]> * Update relays/messages-relay/src/message_lane_loop.rs Co-authored-by:
Hernando Castano <[email protected]> * removed pub Co-authored-by:
Tomasz Drwięga <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
-
-
-
* kusama primitives + client * polkadot primitives + client * lost Chain definitions * fix compilation and fmt * Update primitives/runtime/src/lib.rs Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
-
* limit max number of messages in delivery tx * support max-messages-in-delivery-tx in relayer * clippy * clippy * Update modules/message-lane/src/lib.rs Co-authored-by:
Tomasz Drwięga <[email protected]> Co-authored-by:
Tomasz Drwięga <[email protected]>
-
* lower limit for message weight * fmt * do not include tx overhead in weights returned by weight_limits_of_message_on_bridged_chain * Use correct chain in comment Co-authored-by:
Hernando Castano <[email protected]>
-
* Update some docs * Add derived account origin * Add tests for derived origin * Do a little bit of cleanup * Change Origin type to use AccountIds instead of Public keys * Update (most) tests to use new Origin types * Remove redundant test * Update `runtime-common` tests to use new Origin types * Remove unused import * Fix documentation around origin verification * Update config types to use AccountIds in runtime * Update Origin type used in message relay * Use correct type when verifying message origin * Make CallOrigin docs more consistent * Use AccountIds instead of Public keys in Runtime types * Introduce trait for converting AccountIds * Bring back standalone function for deriving account IDs * Remove AccountIdConverter configuration trait * Remove old bridge_account_id derivation function * Handle target ID decoding errors more gracefully * Update message-lane to use new AccountId derivation * Update merged code to use new Origin types * Use explicit conversion between H256 and AccountIds * Make relayer fund account a config option in `message-lane` pallet * Add note about deriving the same account on different chains * Fix test weight * Use AccountId instead of Public key when signing Calls * Semi-hardcode relayer fund address into Message Lane pallet
-
* fixed clippy warnings * Revert "Actually use pinned nightly version when building runtimes (#465)" This reverts commit dedddb6b0f22260e00053c28873a0cb1fbea22e2. * Revert "Pin Rust Nightly Version (#420)" This reverts commit 8902ac2030cf7ef48ec512463424f134a3b38804. * fix after revert * another fix after revert * more clippy fixes
-
* fixed missing else * really wake up when retry timeout is completed * do not query weights if target nonce is unknown * fix compilation
-
* add more substrate accounts * 's * Update deployments/README.md Co-authored-by:
Hernando Castano <[email protected]> * Update deployments/README.md Co-authored-by:
Hernando Castano <[email protected]> * more fixes * with messages to -> which contain messages for Co-authored-by:
Hernando Castano <[email protected]>
-
* generic SyncHeader type * add panic condition to method description * extract -> into_inner * checked_sub + expect
-
* migrate back to Substrate master * fmt * clippy
-
-
* relay Rialto messages to Millau * impl SubmitRialtoToMillauMessage * fmt
-
* Bump futures from 0.3.7 to 0.3.8 Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.7 to 0.3.8. - [Release notes](https://github.com/rust-lang/futures-rs/releases) - [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.7...0.3.8 ) Signed-off-by:
dependabot-preview[bot] <[email protected]> * Fix clippy. * Fix more clippy. * Fix clippy again? * Cliipy yet again. Co-authored-by:
dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by:
Tomasz Drwięga <[email protected]>
-
-
* replace generic message lane APIs with chain-specific * moved SubstrateHeadersSyncPipeline to headers_pipeline.rs * substrate-specific message lane trait * Update relays/substrate/src/messages_lane.rs Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
* use best block state to craft message relay transactions * removed obsolete TODO * Update relays/messages-relay/src/message_race_loop.rs Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
-
-
* Fix cargo-deny. * Update time crate. * Fix time issues.
-
* Allow bridge pallet to return no finalized headers * Update Runtime APIs to optionally return best finalized header * Update relay to handle optional best finalized headers * Fix Clippy lints * Return a dummy header instead of an Option * Remove Option from runtime Apis * Remove support for handling optional finalized headers in relay
-
-
* fixed message that is signed by relay * clippy
-
-
* fixed referenced balance in rialto_messages * names Co-authored-by:
Hernando Castano <[email protected]>
-
* limit messages in the batch by weight/count * fixed components compilation * reverted obsolete parts of #469 * implement generated_messages_weights * actually use computed weight in message proof * fmt and clippy * fixed TODO * clippy * Update relays/messages-relay/src/message_race_loop.rs Co-authored-by:
Hernando Castano <[email protected]> * add issue reference * add assert message * grumbles * fmt * reexport weight from bp-message-lane Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
* Expose two nodes publicly through brucke.link * Use flags for GNU `sed` instead of BSD `sed` * Update Substrate relay entrypoint scripts to initialize bridge * Add Rialto to Millau relay to Compose deployment * Stop initializing Rialto chain through chainspec * Include logging for Substrate pallet * Make Rialto to Millau entrypoint executable * Use YAML references for relay components * Use published Substrate Relay image * Relay messages from Millau to Rialto * Use Bob nodes to serve message lane * Fix some port number issues for PoA-Rialto deployment * Stop directly referencing `environment` anchor in nodes * Add probable cause to relayer error message * Edit monitoring config file in-place * Add some sleep time between bridge init call and starting relays * Expose grafana. * Use Root key as bridge pallet owner In our case that's going to be Alice since she's Root for our Dev and Local chains. Co-authored-by:
Tomasz Drwięga <[email protected]>
-
* removed unused file * another unused file
-
-
-
* initialize substrate bridge from relay * is_halted: false * initialize using su instead of owner * Fix wording in comments Co-authored-by:
Hernando Castano <[email protected]>
-