Skip to content
Snippets Groups Projects
  1. Apr 10, 2024
    • Svyatoslav Nikolsky's avatar
      fixed benchmarks of relayers pallet (#1700) · b94bd8d4
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      b94bd8d4
    • Svyatoslav Nikolsky's avatar
      Per-lane rewards in pallet-bridge-relayers (#1665) · ea981180
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * per-lane rewards in pallet-bridge-relayers
      
      * add lane id to RewardPaid event
      
      * clippy
      
      * fix benchmarks
      ea981180
    • Svyatoslav Nikolsky's avatar
      Introduce bridge relayers pallet (#1513) · 7590abd1
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * 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
      7590abd1
    • fewensa's avatar
      Add mut support (#1232) · 26c5a35d
      fewensa authored and Bastian Köcher's avatar Bastian Köcher committed
      26c5a35d
    • fewensa's avatar
      Custom relay strategy (#1198) · 19201175
      fewensa authored and Bastian Köcher's avatar Bastian Köcher committed
      * Add relayer strategy
      
      * Add default relayer strategy
      
      * default relayer strategy
      
      * expose relayer strategy
      
      * fix compile
      
      * fix compile
      
      * docs
      
      * Rename Relayer to Relay, keep RelayerDecide
      
      * split `DefaultRelayerStrategy` into `AltruisticRelayerStrategy` and `RationalRelayerStrategy`
      
      * Remove relayer mode
      
      * Remove unused import
      
      * Rename `RelayerStrategy` to `RelayStrategy`
      
      * Add missing docs
      
      * clippy
      
      * clippy
      
      * clippy
      
      * clippy
      
      * Revert `relayer_mode` and add `MixStrategy`
      
      * Add `EnforcementStrategy`
      
      * fix bug and simplify relay strategy
      
      * Update message_lane_loop.rs
      
      * Update messages_target.rs
      
      * clippy
      
      * clippy
      
      * clippy
      
      * clippy
      
      * clippy
      
      * clippy
      
      * clippy
      
      * fix test
      
      * fix test
      
      * test
      
      test
      
      test
      
      fix test
      19201175
    • hacpy's avatar
      Match substrate's fmt (#1148) · bd70de8b
      hacpy authored and Bastian Köcher's avatar Bastian Köcher committed
      
      * Alter gitlab.
      
      * Use substrate's rustfmt.toml
      
      * cargo +nightly fmt --all
      
      * Fix spellcheck.
      
      * cargo +nightly fmt --all
      
      * format.
      
      * Fix spellcheck and fmt
      
      * fmt?
      
      * Fix spellcheck
      
      Co-authored-by: default avatarTomasz Drwięga <tomasz@parity.io>
      bd70de8b
    • Svyatoslav Nikolsky's avatar
      Increase pause before messages generation start (#1126) · 7730e417
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * increase pause before messages generation start
      
      * spelling
      7730e417
    • Hernando Castano's avatar
      Update Copyright Date to 2021 (#864) · 21baffc8
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Update copyright date to 2021
      
      * Bump date in license header template
      21baffc8
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · acb872fb
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      acb872fb
    • Tomasz Drwięga's avatar
      Reorganize relay code to make it easy to add new networks. (#813) · d9bec5f3
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      
      * Nest some crates.
      
      * Alter command execution to make it easier to add new bridges.
      
      * Rename sub-dirs.
      
      * cargo fmt --all
      
      * Address clippy.
      
      * Update relays/substrate/src/rialto_millau/cli.rs
      
      Co-authored-by: default avatarHernando Castano <HCastano@users.noreply.github.com>
      
      Co-authored-by: default avatarHernando Castano <HCastano@users.noreply.github.com>
      d9bec5f3
    • Svyatoslav Nikolsky's avatar
      Migrate to jsonrpsee v2 (#787) · a2b8bb19
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      
      * 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 <niklasadolfsson1@gmail.com>
      Co-authored-by: default avatarHernando Castano <HCastano@users.noreply.github.com>
      a2b8bb19
    • Svyatoslav Nikolsky's avatar
      Extract minimal ethereum client (#359) · ec34870e
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * relay-ethereum-client
      
      * use relay-ethereum-client from ethereum-poa-relay
      
      * cargo fmt --all
      
      * #![warn(missing_docs)]
      
      * EthereumRpcClient -> EthereumClient
      
      * make EthereumHeadersSyncPipeline private
      
      * return concrete type from crate::new
      
      * cleanup dependencies
      
      * *self -> self
      
      * remove trait Client
      
      * sort deps
      ec34870e
    • Svyatoslav Nikolsky's avatar
      Prepare separate runtime for testing sub2sub bridge (#341) · d8ae7867
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * renamed bin/node/runtime to bin/node/rialto-runtime
      
      * replaced bridge-node-runtime references with rialto-runtime references
      
      * separate folders for millau/rialto nodes+runtimes
      
      * extracted pallet-shift-session-manager
      
      * bridge-node -> bridge-node-runtime
      
      * uninstall previous rust (temp solution???)
      
      * fix dockerfile
      
      * cargo fmt
      
      * fix benchmarks check
      
      * fix benchmarks again
      
      * update LAST_RUST_UPDATE to clear the cache
      
      * changed runtime comments
      
      * move bin/node/* to bin/
      
      * REVERT ME
      
      * Revert "REVERT ME"
      
      This reverts commit 7c335f946308ed11d9ed6ffec7c1c13dbe2743ed.
      
      * specify container name
      
      * REVERT ME
      
      * container_name -> hostname
      
      * fix typo
      
      * aliases
      
      * Revert "REVERT ME"
      
      This reverts commit 0e74af5f8430f1975a3fc924d8b52079f266bda1.
      
      * removed prefixes
      d8ae7867
    • Svyatoslav Nikolsky's avatar
      Migrate to new substrate (#79) · 50d6ed18
      Svyatoslav Nikolsky authored and Bastian Köcher's avatar Bastian Köcher committed
      * new substrate version + actually verify justification
      
      * cargo update + fix remaining stuff
      
      * add weight=0 comments
      
      * cargo fmt --all
      
      * fix hash types
      50d6ed18
    • Tomasz Drwięga's avatar
      Add license headers (#27) · 91b6248f
      Tomasz Drwięga authored and Bastian Köcher's avatar Bastian Köcher committed
      * Add the scripts.
      
      * Add license preamble.
      
      * Change existing license headers.
      91b6248f
    • Hernando Castano's avatar
      Add a Node (#22) · 40b4f78b
      Hernando Castano authored and Bastian Köcher's avatar Bastian Köcher committed
      * Copy node-template over from Substrate repo
      
      Got the template at rev=6e6d06c33911
      
      * Use dependencies from crates.io + stop renaming on import
      
      * Remove template pallet
      
      * Stop using crates.io dependencies
      
      Instead they're going to be pinned at v2.0.0-alpha.2
      at commit `2afecf81ee19b8a6edb364b419190ea47c4a4a31`
      until something stable comes along.
      
      * Remove LICENSE
      
      * Change references of `node-template` to `bridge-node`
      
      * Remove README
      
      * Fix some missed node-template references
      
      * Add WASM toolchain to CI
      
      * Be more specific about nightly version to use
      
      * Maybe don't tie to a specific nightly
      
      * Use composite accounts
      
      * Update to use lazy reaping
      
      * Only use Development chain config
      40b4f78b