Skip to content
  1. Dec 05, 2022
  2. Nov 18, 2022
    • Svyatoslav Nikolsky's avatar
      Remove message fee + message send calls (#1642) · 7b24cd3a
      Svyatoslav Nikolsky authored
      * remove message fee
      
      * it is compiling!
      
      * fixes + fmt
      
      * more cleanup
      
      * more cleanup
      
      * restore MessageDeliveryAndDispatchPayment since we'll need relayer rewards
      
      * started rational relayer removal
      
      * more removal
      
      * removed estimate fee subcommand
      
      * remove DispatchFeePayment
      
      * more removals
      
      * removed conversion rates && some metrics
      
      * - unneeded associated type
      
      * - OutboundMessageFee
      
      * fix benchmarks compilation
      
      * fmt
      
      * test + fix benchmarks
      
      * fix send message
      
      * clippy
      7b24cd3a
  3. Oct 20, 2022
    • Svyatoslav Nikolsky's avatar
      Bump Substrate/Polkadot/Cumulus refs (aka Weights v1.5) (#1597) · 789f185c
      Svyatoslav Nikolsky authored
      * update Substrate + Polkadot + Cumulus refs
      
      * Origin -> RuntimeOrigin
      
      * weights v1.5
      
      * update refs once again + `cargo test -p pallet-bridge-grandpa` works
      
      * started work on `cargo test -p pallet-bridge-messages`
      
      * cargo test -p pallet-bridge-relayers
      
      * cargo test -p pallet-bridge-parachains
      
      * cargo test -p millau-runtime
      
      * cargo test -p bridge-runtime-common
      
      * cargo test -p rialto-runtime
      
      * cargo test -p rialto-parachain-runtime
      
      * cargo test -p millau-bridge-node
      
      * cargo test -p rialto-bridge-node
      
      * cargo test -p rialto-parachain-collator
      
      * cargo test -p messages-relay
      
      * cargo test -p parachains-relay
      
      * cargo test -p substrate-relay
      
      * cargo test --all
      
      * cargo check -p millau-runtime --locked --features runtime-benchmarks
      
      * fix remaining test
      
      * fmt
      
      * try to allow clippy failure temporarily
      
      * Revert "try to allow clippy failure temporarily"
      
      This reverts commit d1b65935.
      
      * use min_by
      
      * Revert "use min_by"
      
      This reverts commit 33042f49.
      
      * Revert "Revert "use min_by""
      
      This reverts commit 1d2204f0.
      
      * trigger CI
      
      * Revert "trigger CI"
      
      This reverts commit 259d91b5.
      
      * new day, new clippy warning
      
      * more clippy issues
      789f185c
  4. Oct 04, 2022
  5. Jul 20, 2022
    • Svyatoslav Nikolsky's avatar
      Introduce bridge relayers pallet (#1513) · 7101e9f4
      Svyatoslav Nikolsky authored
      * introduce relayers pallet
      
      * add MessageDeliveryAndDispatchPaymentAdapter
      
      * plug in pallet into test runtimes
      
      * tests prototype
      
      * tests for the relayers pallet
      
      * tests for payment adapter
      
      * mint_reward_payment_procedure_actually_mints_tokens
      
      * benchmarks
      
      * remove irrelevant todo
      
      * remove redundant clone
      7101e9f4
  6. Jul 07, 2022
    • Svyatoslav Nikolsky's avatar
      Fix and update benchmarks (#1494) · f3d79860
      Svyatoslav Nikolsky authored
      * decrease parameters range in grandpa benchmarks
      
      * fix messages benchmarks
      
      * update all weights
      
      * dealing with failed test (WiP)
      
      * Revert "dealing with failed test (WiP)"
      
      This reverts commit 0379d24b.
      
      * proper tests fix
      f3d79860
  7. Jan 10, 2022
  8. Oct 08, 2021
  9. Jun 07, 2021
  10. Apr 22, 2021
    • Tomasz Drwięga's avatar
      Add pruning to bechmarks & update weights. (#918) · c2d56b2e
      Tomasz Drwięga authored
      * Insert headers in benchmarks.
      
      * Fix benchmarks.
      
      * Lower number of headers.
      
      * Avoid hardcoding numbers.
      
      * Update weights.
      
      * cargo fmt --all
      
      * Remove todo.
      
      * Fix test.
      
      * Address review comments.
      
      * Fix borrowed value.
      c2d56b2e
  11. Apr 15, 2021
  12. Apr 05, 2021
    • Hernando Castano's avatar
      Use Vote Ancestries Directly in Weight Calculations (#862) · af2634b3
      Hernando Castano authored
      * Use more accurate weight calculation in declared weight
      
      * Remove session length and validator set size config constants
      
      * Remove config params from mock
      
      * Allow specifying total number of votes-ancestries per justification
      
      * Change limits used during benchmarking
      
      * Regenerate weights
      
      * Use simplified weight annotation
      
      * Remove comment
      
      * Address leftover TODO
      
      * Prevent possible divide by zero errors
      
      * Use correct argument order in weight declaration
      af2634b3
  13. Apr 01, 2021
    • Hernando Castano's avatar
      Weights for `pallet-bridge-grandpa` (#815) · 1a89b1ec
      Hernando Castano authored
      * 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 `Current...
      1a89b1ec