Skip to content
  1. Mar 16, 2021
    • Svyatoslav Nikolsky's avatar
      Sync Westend to Millau (#824) · 314f9f7d
      Svyatoslav Nikolsky authored
      * 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 954ed283.
      
      * pass VoterSet by ref
      
      * new bridge initialization code
      
      * loop upper bound
      
      * Polkadot -> Westend
      
      * fixed tests compilation
      
      * default-features
      
      * assert
      314f9f7d
  2. Mar 12, 2021
  3. Mar 11, 2021
  4. Mar 10, 2021
    • Hernando Castano's avatar
      Clean Finality Verifier Pallet (#804) · 6c2c2311
      Hernando Castano authored
      
      
      * Remove unused Config types from `pallet-finality-verifier`
      
      * Remove unused AncestryChecker trait
      
      * Remove ancestry proof parameter from relayer calls
      
      * Update docs to reflect current state of pallet
      
      * Remove mock ancestry checker
      
      * Remove unused error
      
      * Write headers outside of function used for authority set changes
      
      * Move justification verification into helper function
      
      * Add documentation suggestions
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Clean up module level documentation a bit
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      6c2c2311
    • Tomasz Drwięga's avatar
      Add Westend & Rococo primitives (#808) · b9b6daa5
      Tomasz Drwięga authored
      * 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.
      b9b6daa5
  5. Mar 09, 2021
  6. Mar 08, 2021
  7. Mar 04, 2021
    • Svyatoslav Nikolsky's avatar
      Migrate to jsonrpsee v2 (#787) · 727848da
      Svyatoslav Nikolsky authored
      
      
      * POC jsonrpsee v2
      
      * POC update ws client
      
      * connect to eth nodes using ws
      
      * fix for subscriptions
      
      * reverted unncecessary changes
      
      * reference jsonrpsee from crates.io
      
      * fixed eth port in deployments
      
      * fmt
      
      * order deps
      
      * remove unnecessary comment
      
      * clone is no longer required for subscriptions
      
      * treat RpcError::Internal as connection error
      
      * resubscribe on terminate
      
      * Update deployments/bridges/poa-rialto/entrypoints/poa-exchange-tx-generator-entrypoint.sh
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarHernando Castano <[email protected]>
      727848da
  8. Mar 02, 2021
  9. 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
  10. Feb 25, 2021
  11. 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
  12. 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
    • Tomasz Drwięga's avatar
      Update to latest substrate (#723) · 2ad5185c
      Tomasz Drwięga authored
      * Bump substrate deps.
      
      * Bump scale.
      
      * Bump ethabi.
      
      * Remove inherent from aura.
      
      * Migrate to construct_runtime
      
      * cargo fmt --all
      2ad5185c
  13. Feb 12, 2021
  14. Feb 10, 2021
  15. Feb 02, 2021
  16. Feb 01, 2021
  17. Jan 27, 2021
  18. Jan 26, 2021
    • Svyatoslav Nikolsky's avatar
      Extract common part of relay loops (#660) · 165714ad
      Svyatoslav Nikolsky authored
      * extract common parts of relay loops: begin
      
      * merge client impls
      
      * backoff in exchange loop
      
      * reconnect without clone
      165714ad
    • 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
  19. Jan 25, 2021
  20. Jan 20, 2021
  21. Jan 19, 2021
  22. Jan 18, 2021
  23. Jan 15, 2021
    • Hernando Castano's avatar
      Move justification code to primitives crate (#640) · d9e94715
      Hernando Castano authored
      
      
      * Move justification module to header-chain primitives crate
      
      * Get justification module compiling in new location
      
      * Get justification module tests compiling
      
      * Use justification code from `header-chain` crate
      
      Mostly compiles, having issues with std/test feature flags across crates.
      
      * Move some code around
      
      * Move justification tests to integration testing crate
      
      * Add `test-utils` crate
      
      * Remove tests and test-helper module from justification code
      
      * Use `test-utils` in Substrate bridge pallet tests
      
      * Remove `sp-keyring` related code from `pallet-substrate-bridge`
      
      * Remove `helpers` module from `pallet-substrate-bridge`
      
      * Add some documentation
      
      * Add more documentation
      
      * Fix typo
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      d9e94715
  24. Jan 13, 2021
  25. Jan 04, 2021
  26. Dec 22, 2020
  27. Dec 17, 2020
  28. 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
    • 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
  29. Dec 15, 2020
  30. Dec 14, 2020
  31. 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
  32. Dec 08, 2020
  33. Dec 04, 2020