Skip to content
  1. Mar 09, 2023
    • Serban Iorga's avatar
      Some error improvements (#1956) · ef1b1bcd
      Serban Iorga authored
      * Use `HeaderChainError` in parachains module
      
      * Use MessageProofError instead of 'static str in some places
      
      * Avoid implementing Into<'static str> for some errors
      
      We avoid deriving `Debug` for the structs that we use in the runtime and
      we derive `RuntimeDebug` instead in order to avoid bloating th eruntime
      with static strs. But implementing `Into<'static str>` does the same. So
      in some places it makes sense to replace `Into<'static str>` with `Debug`.
      
      * Move the messages error definition
      
      Move the messages error definition outside of `mod target`
      ef1b1bcd
  2. Dec 09, 2022
  3. Dec 06, 2022
  4. Nov 18, 2022
    • Svyatoslav Nikolsky's avatar
      Remove callbacks from the messages pallet (#1649) · c0c0c7db
      Svyatoslav Nikolsky authored
      * remove callbacks
      
      * clippy
      
      * fmt
      c0c0c7db
    • 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
  5. Oct 21, 2022
  6. 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
  7. Oct 17, 2022
  8. Oct 04, 2022
  9. Jul 12, 2022
  10. May 25, 2022
  11. May 16, 2022
    • Svyatoslav Nikolsky's avatar
      Xcm in Rialto<>Millau bridge (#1379) · 6d7a5eab
      Svyatoslav Nikolsky authored
      * add XCM pallet to Millau runtime
      
      * some progress
      
      * messages are delivered (no fee)
      
      * temp
      
      * flush
      
      * flush
      
      * some progress
      
      * progress
      
      * Trap(42) is dispatched successfully
      
      * fix spelling
      
      * no more manual sending
      
      * parametrize weight credit for tests
      
      * actually charge fees
      
      * enable send-using-messages-pallet to keep our test deployments alive + send valid XCM sometimes
      
      * fix benchmarks build
      
      * fix tests
      6d7a5eab
  12. Mar 14, 2022
    • Svyatoslav Nikolsky's avatar
      Support dedicated lanes for pallets (#962) · 1581f60c
      Svyatoslav Nikolsky authored
      * pass call origin to the message verifier
      
      * is_outbound_lane_enabled -> is_message_accepted
      
      * trait SenderOrigin
      
      * only accept messages from token swap pallet to token swap lane
      
      * tests for edge cases of pay_delivery_and_dispatch_fee
      
      * fixed origin verification
      
      * fmt
      
      * fix benchmarks compilation
      
      * fix TODO with None account and non-zero message fee (already covered by tests)
      
      * revert cargo fmt changes temporarily
      1581f60c
  13. Oct 08, 2021
  14. Sep 27, 2021
    • bear's avatar
      Move calculation relayer reward into `MessageDeliveryAndDispatchPayment` (#1153) · ff37de33
      bear authored
      * Refactor logic
      
      * Thanks svyatonik help, it compile
      
      * Fix failed unit test
      
      * Remove compile warning
      
      * Rename
      
      * Return result in pay_relayers_rewards
      
      * Fix runtime compile issue
      
      * Use MessageNonce
      
      * Fix review issue
      
      * Missing u64 replacement
      
      * Revert return type changes
      
      * Fix merge issue
      
      * Remove useless clone
      ff37de33
  15. Sep 24, 2021
  16. Sep 16, 2021
    • bear's avatar
      Add `OnMessageAccepted` callback (#1134) · 6d0daa89
      bear authored
      * Add `OnMessageAccepted` config type
      
      * Update actual weight
      
      * Add unit test
      
      * Update weight
      
      * Remove old comment & update wrong test data
      
      * Make ci happy
      
      * Add lane_id param
      
      * update test case
      
      * Make log info more readable
      
      * Use saturating_sub
      
      * Update docs
      6d0daa89
  17. Sep 15, 2021
  18. Sep 07, 2021
  19. Sep 06, 2021
  20. Aug 02, 2021
  21. Aug 01, 2021
    • Tomasz Waszczyk's avatar
      Fix full spellcheck (#1076) · 3fb97fa5
      Tomasz Waszczyk authored
      
      
      * 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]>
      3fb97fa5
  22. Jul 02, 2021
  23. Jun 21, 2021
  24. Apr 06, 2021
  25. Mar 22, 2021
  26. Feb 17, 2021
  27. Feb 11, 2021
  28. Feb 10, 2021
  29. Jan 14, 2021
  30. Jan 06, 2021
    • Tomasz Drwięga's avatar
      Relayer rewards improvements (#624) · ed6694a8
      Tomasz Drwięga authored
      * Document relayers fund existence and add root account.
      
      * Introduce initialize method instead of assuming that relayer_fund_account is always required.
      
      * cargo fmt --all
      
      * Fix benchmarks.
      
      * cargo fmt --all
      
      * Fix docs for the relayer fund account.
      ed6694a8
  31. Dec 08, 2020
  32. Nov 30, 2020
    • Hernando Castano's avatar
      Add Derived Account Origins to Dispatcher (#519) · f73286b7
      Hernando Castano authored
      * 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
      f73286b7
  33. Oct 20, 2020
  34. Sep 25, 2020