Skip to content
  1. Sep 21, 2021
    • Svyatoslav Nikolsky's avatar
      Polkadot <> Kusama relayers (#1122) · 832536ca
      Svyatoslav Nikolsky authored
      
      
      * relay headers between Kusama and Polkadot
      
      * relay messages between Kusama and Polkadot
      
      * complex Kusama <> Polkadot relayer
      
      * expose relayer_fund_account_id from messages pallet
      
      * create relayers fund accounts on Kusama/Polkadot + some more fixes
      
      * fmt
      
      * fix compilation
      
      * compilation + clippy
      
      * compilation
      
      * MAXIMAL_BALANCE_DECREASE_PER_DAY for K<>P header relays
      
      * fmt
      
      * deduplicate tests
      
      * Update modules/messages/src/lib.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * extract storage_parameter_key function
      
      * other grumbles
      
      * fix
      
      * fmt
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      832536ca
  2. 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
  3. Jun 25, 2021
    • Svyatoslav Nikolsky's avatar
      Rococo <> Wococo messages relay (#1030) · 23dda624
      Svyatoslav Nikolsky authored
      * MessagesInstance -> BridgedMessagesInstance
      
      * Chain::ID -> Bridge::THIS_CHAIN_ID+Bridge::BRIDGED_CHAIN_ID
      
      * FromBridgedChainEncodedMessageCall<B> -> FromBridgedChainEncodedMessageCall<DecodedCall>
      
      * impl Parameter for ()
      
      * copypaste storage_map_final_key to avoid different runtime references/dummy runtimes
      
      * moved dummy runtime from primitives to relay client
      
      * Rococo <> Wococo messages relays
      
      * send R<>W messages using relay
      
      * fmt
      
      * return Result from get_dispatch_info
      
      * fix benchmarks compilation
      
      * clippy
      23dda624
  4. Apr 15, 2021
  5. Apr 14, 2021
  6. Apr 06, 2021
  7. Mar 30, 2021
  8. Mar 23, 2021
  9. Mar 12, 2021
  10. Mar 08, 2021
  11. Mar 02, 2021
  12. Mar 01, 2021
    • Tomasz Drwięga's avatar
      Add few CLI helpers (#764) · fd90bf7f
      Tomasz Drwięga authored
      * Adding call encoding.
      
      * Add message payload encoding.
      
      * Nicer output.
      
      * Add fee estimation.
      
      * cargo fmt --all
      
      * Split message payload encoding into separate command.
      
      * Use HexBytes.
      
      * cargo fmt --all
      
      * Fix compilation.
      fd90bf7f
  13. Feb 22, 2021
    • Svyatoslav Nikolsky's avatar
      Generate large messages (#700) · c5b87650
      Svyatoslav Nikolsky authored
      * generate large messages
      
      * consider headers sync lag when computing number of rewards in confirmation
      
      * more fixes
      
      * fix logs
      
      * fix warnings
      
      * do not wait until tx that has delivered nonces will be finalized before submitting other tx
      
      * tests for maximal weight/size
      
      * cleanup
      
      * cleanup
      
      * clippy
      
      * compilation
      
      * args for dispatch weight and remark size
      
      * ExplicitOrMaximal
      
      * clippy
      c5b87650
  14. Feb 16, 2021
    • Tomasz Drwięga's avatar
      Rework relay CLI a bit (#734) · 78b843d4
      Tomasz Drwięga authored
      * Change CLI UX.
      
      * De-duplicate main.
      
      * De-duplicate send message.
      
      * Add more docs and extract functions.
      
      * Fix scripts.
      
      * cargo fmt --all
      
      * Add missing 'u'.
      78b843d4
  15. Jan 27, 2021
  16. Jan 26, 2021
    • Andreas Doerr's avatar
      Prevent potential signature reuse (#667) · 773f948b
      Andreas Doerr authored
      * patch audit findings #42
      
      * extend msg signature for substrate relay
      
      * signature verification test
      
      * make proof dependet on call_dispatch crate
      
      * silence clippy
      
      * revert deny exception
      
      * address code review
      
      * since it's not really a proof, call it digest
      773f948b
  17. Jan 13, 2021
  18. Jan 04, 2021
  19. Dec 16, 2020
    • Hernando Castano's avatar
      Rialto to Millau Transfer Generator (#568) · fad8c928
      Hernando Castano authored
      
      
      * Add option to relay for sending transfers to Millau chain
      
      * Endow derived accounts on Millau chain
      
      * Update message generator entrypoint script to send transfers
      
      * Use correct command when sending messages
      
      * Send Root messages from Root origin on source chain
      
      * Wrap calls from Root Origin in Sudo Call
      
      * Allow Root to send messages without paying fees
      
      * Use correct variable when sending messages to Rialto
      
      * Print warning if no message type is provided to script.
      
      * Add note mentioning that certain source origins aren't supported yet
      
      * Use correct runtime when initializing header sync
      
      * Remove option to send messages as Root
      
      * Remove endowment of derived Root accounts
      
      * Fix indentation.
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      fad8c928
  20. Dec 09, 2020
    • Hernando Castano's avatar
      Cross-Chain Transfer Generator (#535) · 5de2bc3d
      Hernando Castano authored
      * 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
      5de2bc3d
  21. Dec 04, 2020
  22. 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
  23. Nov 24, 2020
  24. Nov 23, 2020
  25. Nov 18, 2020
  26. Nov 10, 2020
  27. Nov 05, 2020
    • Svyatoslav Nikolsky's avatar
      Millau -> Rialto messages relay (#399) · c5f3f293
      Svyatoslav Nikolsky authored
      
      
      * Millau messages -> Rialto relay
      
      * prepare for custom race strategy of delivery race
      
      * custom strategy for delivery race
      
      * update TODOs
      
      * add reference to issue 457
      
      * impl reconnect
      
      * clippy
      
      * fix check in test
      
      * fmt
      
      * removed obsolete TODO
      
      * fixed another TODOs
      
      * fmt
      
      * use MAX_UNCONFIRMED_MESSAGES_AT_INBOUND_LANE const from primitives
      
      * Update relays/messages-relay/src/message_lane_loop.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * added SubstrateMessagesProof typedef
      
      * fix test
      
      * removed comment
      
      * additional_proof_required -> ProofParameters
      
      * typo
      
      * multiline literal
      
      * clippy
      
      * fix typo
      
      * and_then -> await
      
      * update_source_latest_confirmed_nonce
      
      * Update relays/messages-relay/src/message_race_delivery.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      c5f3f293
  28. Nov 03, 2020
  29. Oct 28, 2020
  30. Oct 26, 2020
  31. Oct 14, 2020
  32. Oct 07, 2020
  33. Oct 05, 2020
  34. Sep 30, 2020
  35. Jul 29, 2020
  36. May 20, 2020
  37. Mar 19, 2020
    • Hernando Castano's avatar
      Run RustFmt as part of the CI (#37) · e030497c
      Hernando Castano authored
      * Run RustFmt as part of the CI
      
      * Format repo
      
      * Run RustFmt before the default Travis build step
      
      Apparently if you override `script` you also need to make
      sure to `build` and `test` the code yourself.
      
      * Format repo
      e030497c
  38. Mar 07, 2020