Skip to content
  1. Apr 10, 2024
    • hacpy's avatar
      Match substrate's fmt (#1148) · bd70de8b
      hacpy authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * Alter gitlab.
      
      * Use substrate's rustfmt.toml
      
      * cargo +nightly fmt --all
      
      * Fix spellcheck.
      
      * cargo +nightly fmt --all
      
      * format.
      
      * Fix spellcheck and fmt
      
      * fmt?
      
      * Fix spellcheck
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      bd70de8b
    • Svyatoslav Nikolsky's avatar
      Fix spelling (#1118) · 6e3b083a
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * I'm just trying to do my job
      
      * spelling
      6e3b083a
    • Svyatoslav Nikolsky's avatar
      Fix delivery transaction estimation used by rational relayer (#1109) · 03a54df3
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * fix delivery transaction estimation in greedy relayer
      
      * fixed typo
      
      * improve logging
      
      * improve logging
      
      * fmt
      
      * fix compilation
      
      * fmt
      
      * Update relays/lib-substrate-relay/src/messages_target.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * review
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      03a54df3
    • Tomasz Waszczyk's avatar
      Fix full spellcheck (#1076) · f86d101d
      Tomasz Waszczyk authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * fix(spellcheck): test of fixing
      
      * fix(hunspell): improved many typos etc.
      
      * fix(hunspell): all errors solved
      
      * fix(hunspell): extended scope of files - the build should fail
      
      * Return error code.
      
      * Fix spelling, sort dictionary.
      
      * fix(hunspell): added fix to gitlabs check
      
      * fix(typo): one typo and test of verification on github
      
      * fix(typo): one typo
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      f86d101d
    • Svyatoslav Nikolsky's avatar
      rename messages_dispatch_weight -> message_details (#996) · ec8412b6
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      ec8412b6
    • Svyatoslav Nikolsky's avatar
      ff7f8ad0
    • Hernando Castano's avatar
      Prep for Westend to Rococo Header Sync (#915) · 25a4151a
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * Bump Rococo and Westend RuntimeVersions
      
      * Add helper scripts for running Rococo<>Westend header sync
      
      * Remove extra space
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      25a4151a
    • Hernando Castano's avatar
      Westend<>Rococo Headers Relay (#875) · bca83fd0
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Add modules for Rococo<>Westend header sync
      
      * Use mock Westend and Rococo finaltiy tx calls
      
      * Add Westend<>Rococo variants to `init_bridge`
      
      * Add Westend<>Rococo variants to `relay_headers`
      
      * Simplify the Rococo and Westend signing params
      
      * Add `submit_finality_proof` mock Call variant
      
      * Add note to more closely match `initialize` Call variant
      
      * Accidentally committed `cargo-expand`ed code 🤦
      
      
      
      * Add `initialize` Call variant to Rococo mock
      
      * Fix call enums.
      
      * Add explainatory comment.
      
      * clippy.
      
      * Add issue number.
      
      * De-duplicate metrics customisation.
      
      * Add comments to Rococo/Westend runtimes.
      
      * Add scale-encoding compatibility test.
      
      * Fix tests.
      
      * Clippy.
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      bca83fd0
    • Hernando Castano's avatar
      Westend Mock Runtime and Client (#874) · 81d4eb9e
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Copy-Pasta Call code from mock Rococo to mock Westend runtime
      
      * Update Westend client to include signing and call related code
      
      * Add missing part of license header
      
      * Move `account_info_storage_key` to `polkadot-core` crate
      81d4eb9e
    • Hernando Castano's avatar
      Weights for `pallet-bridge-grandpa` (#815) · 025a9cad
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Add benchmarking skeleton
      
      * Allow runtime to indicate concrete header type for benches
      
      * Set up skeleton for benchmark tests
      
      * Play around with mutating bench header
      
      * Create a working test for benchmarking
      
      * Add benches related to enacting authority set changes
      
      * Add bench for checking effect of prec-commits/vote ancestries
      
      * Use new `no_std` test utils in benchmarks
      
      * Support pallet instances in benchmarking
      
      * Use correct benchmarking instance macro
      
      * Add instance to runtime benchmark helper impl
      
      * Start using new justification creation API
      
      * Allow mock header's number to be specified
      
      * Set up benches with correct fork/depth parameters
      
      * Use new pallet name during runtime bench setup
      
      * Use correct `set_id` in tests
      
      * Limit number of forks as workaround to get tests passing
      
      * Use number of authorities which matches number of forks
      
      * Make sure test post-conditions are checked properly
      
      * Only read `CurrentAuthoritySet` from storage once
      
      * Add combined benchmark for `submit_finality_proof`
      
      * Add bench test
      
      * Introduce config bounds related to justification verification
      
      * Use config consts from pallet in benchmarking
      
      * Return data relevant to benchmarks from helper functions
      
      * Annotate `submit_finality_proof` with autogenerated weights
      
      * Return actual weight after call execution
      
      * Ignore Clippy warnings in bench template
      
      * Update benchmark template
      
      * Use `test-utils` to create test headers
      
      * Clarify that helper is only for messages benches
      
      * Add more documentation to benches
      
      * Update TODOs
      
      * Clarify return types in comment
      
      * Fix pallet name post-merge
      
      * Update NOTE to a TODO item
      
      * Indicate that Config params are max values, not actual values
      
      * Change Config validator count type to be `u32`
      
      * Return decoded justification instead of fields
      
      * Add missing trait bounds for tests
      
      * Correctly issue weight refund
      
      Thanks for spotting this Tomek!
      
      * Update comment
      
      * Add note about SESSION_LENGTH
      
      * Fix benchmarking code
      025a9cad
    • Tomasz Drwięga's avatar
      Make relay CLI generic (#849) · 904b9f4d
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      
      
      * Start generalizing rialto-millau commands.
      
      * cargo fmt --all
      
      * Introduce generic balance.
      
      * Unify message payloads.
      
      * cargo fmt --all
      
      * init - generic
      
      * Attempt to unify send message.
      
      * Start moving things around.
      
      * cargo fmt --all
      
      * Move init-bridge.
      
      * cargo fmt --all
      
      * Improve UX of bridge argument.
      
      * Fix clippy.
      
      * Fix docs and scripts.
      
      * Add docs.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * Fix copyright.
      
      * Add issue numbers.
      
      * More todos.
      
      * Update comments.
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      904b9f4d
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · acb872fb
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      acb872fb
    • Svyatoslav Nikolsky's avatar
      Rename pallet-message-lane into pallet-bridge-messages (#834) · 41055757
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * use runtime:: prefix for message-lane pallet traces
      
      * renamed message-lane (module and primitives) folder into messages
      
      * replace "message lane" with "messages" where appropriate
      41055757
    • Svyatoslav Nikolsky's avatar
      Sync Westend to Millau (#824) · d749bc3a
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * make finality verifier pallet instantiable
      
      * add second instance of finality verifier pallet to the Millau runtime
      
      * add Westend -> Millau headers relay
      
      * use wss to connect to public westend nodes
      
      * initialize with best_finalized_block
      
      * typo
      
      * Revert "initialize with best_finalized_block"
      
      This reverts commit 954ed2832372d67618abc1a06d47e66faa93f674.
      
      * pass VoterSet by ref
      
      * new bridge initialization code
      
      * loop upper bound
      
      * Polkadot -> Westend
      
      * fixed tests compilation
      
      * default-features
      
      * assert
      d749bc3a
    • Tomasz Drwięga's avatar
      Add Westend & Rococo primitives (#808) · 84cd93f9
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Move chain primitives to a sub-folder.
      
      * Update workspace members.
      
      * Extract core parts of polkadot.
      
      * cargo fmt --all
      
      * Remove TODO.
      
      * cargo fmt --all
      
      * Fix crate names.
      
      * Add to the latest API.
      
      * cargo fmt --all
      
      * Add nested lock files to ignore (generated during cargo fmt)
      
      * Fix compilation.
      
      * cargo fmt --all
      
      * Fix ignore pattern.
      
      * Address review comments.
      84cd93f9