Skip to content
  1. Dec 18, 2020
  2. Dec 17, 2020
  3. Dec 16, 2020
    • Svyatoslav Nikolsky's avatar
      Benchmarks for message delivery transaction (#567) · 4d795245
      Svyatoslav Nikolsky authored
      
      
      * benchmarks for pallet_message_lane::receive_messages_proof
      
      * use CallOrigin::TargetAccount (worst case of CallOrigin)
      
      * fmt
      
      * closures
      
      * Update modules/message-lane/src/benchmarking.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * Update modules/message-lane/src/benchmarking.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * fix compilation
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      4d795245
    • 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
    • Hernando Castano's avatar
      Update Substrate Dependency (#566) · 64dab9c2
      Hernando Castano authored
      
      
      * Update `sp-io` dependency
      
      * Rename Trait to Config
      
      * RustFmt
      
      * Bump `sp-io` again
      
      * Use new frame_system weight types in Rialto and Millau runtimes
      
      * Update test Runtimes to use new weight types
      
      * Bump `sp-io` again
      
      * Update to not-the latest first.
      
      * Update benchmarks.
      
      * Another Trai.
      
      * Move new weight types into runtime primitive crates
      
      This allows us to check limits for extrinsics from other parts
      of the codebase without pulling in the entire chain runtime.
      
      * Remove leftover comments
      
      * Move new functions to a better location
      
      * Small formatting fixes
      
      * Add actual documentation to new weight config types
      
      * Decrease maximum block weight of Millau chain
      
      * Decreease maximum block length of Millau chain
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      64dab9c2
  4. Dec 15, 2020
  5. Dec 14, 2020
  6. 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
  7. Dec 08, 2020
  8. Dec 07, 2020
  9. Dec 04, 2020
  10. Dec 03, 2020
  11. Dec 01, 2020
  12. 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
    • Svyatoslav Nikolsky's avatar
      Fixed clippy warnings (#537) · 1eedbb1b
      Svyatoslav Nikolsky authored
      * fixed clippy warnings
      
      * Revert "Actually use pinned nightly version when building runtimes (#465)"
      
      This reverts commit 03ef7638.
      
      * Revert "Pin Rust Nightly Version (#420)"
      
      This reverts commit 8902ac20.
      
      * fix after revert
      
      * another fix after revert
      
      * more clippy fixes
      1eedbb1b
  13. Nov 26, 2020
  14. Nov 24, 2020
  15. Nov 23, 2020
  16. Nov 18, 2020
  17. Nov 17, 2020
  18. Nov 16, 2020
    • Hernando Castano's avatar
      Fixes for Millau-Rialto Deployment (#493) · e0f2e08d
      Hernando Castano authored
      
      
      * 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: default avatarTomasz Drwięga <[email protected]>
      e0f2e08d
  19. Nov 12, 2020
  20. Nov 10, 2020
  21. Nov 09, 2020
    • Hernando Castano's avatar
      Allow Substrate Pallet to be Halted (#485) · 405b9bae
      Hernando Castano authored
      * Copy-Pasta owner and freezing code from `message-lane`
      
      * Halt pallet if bridge hasn't been initialized
      
      * Make owner optional in `message-lane` pallet
      
      * Add `is_halted` to `InitializationData`
      
      * Fix initialization tests
      
      * Only allow pallet to be initialized once
      
      * Add some logging around halting and ownership changes
      
      * Remove `target` in debugging calls
      405b9bae
  22. Nov 06, 2020
    • Hernando Castano's avatar
      Rework Compose Setup for Millau Deployment (#464) · 133fd2ba
      Hernando Castano authored
      * Rename `rialto` deployment to `eth-sub-bridge`
      
      * Add base Compose configs for Rialto and Eth-PoA nodes
      
      * Add new compose file for eth-sub deployment
      
      * Rename bridge-nodes to rialto-nodes
      
      * Update bootnode entries for Rialto nodes
      
      * Remove new compose file since it was used for quick test
      
      * Rename bridge nodes in entrypoint scripts
      
      * Remove all nodes from Eth-Sub Compose file
      
      The nodes should be getting pulled in from the new compose files.
      
      * Remove TODO comment
      
      * Rename nodes to networks
      
      Reflects the fact that a set of nodes makes up a network.
      
      * Add Compose file for Millau network nodes
      
      * Enable logging for all Millau nodes
      
      * Delete Rialto reserved peers file
      
      * Rename `bridge-config` to `scripts`
      
      * Add Compose file for Rialto-Millau bridge
      
      * Move bridge deployments into `bridges` folder
      
      * Drop `bridges` prefix from bridge deployments
      
      * Rename folder that had scripts for working with binaries
      
      * ...
      133fd2ba
    • Svyatoslav Nikolsky's avatar
      fb12cf8e
    • Svyatoslav Nikolsky's avatar
      Verify messages proofs (#480) · 0f141514
      Svyatoslav Nikolsky authored
      * verify messages proofs
      
      * fmt
      
      * clippy
      
      * grumbles
      0f141514
    • Svyatoslav Nikolsky's avatar
      664441d4
  23. Nov 05, 2020
  24. Nov 03, 2020
  25. Oct 28, 2020