Skip to content
  1. 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
  2. Oct 03, 2022
  3. Sep 09, 2022
    • Svyatoslav Nikolsky's avatar
      035feea9
    • Svyatoslav Nikolsky's avatar
      update Substrate/Polkadot/Cumulus refs (#1562) · 97cf6dfb
      Svyatoslav Nikolsky authored
      * update Substrate/Polkadot/Cumulus refs
      
      * finality-grandpa 0.16
      
      * fix miillau-runtime compilation
      
      * fix rialto runtime compilation
      
      * fixed rialto-parachain runtime compilation
      
      * backport GRANDPA test fixes
      
      * helper instead of removed record_all_keys
      
      * substrate-relay is compiling
      
      * millau-bridge-node at least compiles
      
      * rialto-bridge-node at least compiles
      
      * rialto-parachain-collator compiles
      
      * fixings tests (wip)
      
      * fmt
      
      * fixed BEEFY alert
      
      * clippy
      
      * removed unused dep
      
      * -extra var
      
      * move Leaf to mod mmr
      
      * fix benchmarks
      97cf6dfb
  4. May 02, 2022
    • Adrian Catangiu's avatar
      Update Substrate/Polkadot refs for latest BEEFY + xcm-v3 capability (#1381) · 3317b8a6
      Adrian Catangiu authored
      
      
      * Update Substrate/Polkadot xcm-v3-capable references
      
      Branches below are based on gav-xcm-v3 + cherry-picked BEEFY commits.
      
      polkadot: 'locked-for-gav-xcm-v3-and-bridges#6e00638f0a2d07ba3bb1c7430a539c15b5a79b74'
      substrate: 'sv-locked-for-gav-xcm-v3-and-bridges#a42bef088f173f54aba152ca63eb301ba44dd339'
      
      Signed-off-by: default avataracatangiu <[email protected]>
      
      * millau: reduce beefy min block delta to 2
      
      * bump substrate, polkadot refs to include beefy fixes
      
      * grafana: fix beefy dashboards
      3317b8a6
  5. Apr 28, 2022
  6. Apr 12, 2021
  7. Mar 23, 2021
  8. Mar 12, 2021
  9. Mar 10, 2021
    • 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
  10. Mar 08, 2021
  11. Mar 01, 2021
  12. Jan 21, 2021
    • Hernando Castano's avatar
      Finality Verifier Pallet (#629) · 6b46db8e
      Hernando Castano authored
      * Add skeleton for `pallet-finality-verifier`
      
      * Sketch out implementation for importing finality proofs
      
      * Get pallet compiling
      
      * Introduce skeleton for mock runtime
      
      * Start using real Grandpa types in finality pallet
      
      * Redefine types in header chain primitives crate
      
      * Implement HeaderChain for Substrate bridge pallet
      
      * Plug Substrate Bridge Pallet into verifier mock
      
      * Fix compilation of `header-chain` primitives
      
      * Start writing to base pallet storage
      
      * Add first "cross-pallet" test
      
      * Move keyring primitives used in tests to shared crate
      
      * Stop pulling `std` deps into `no_std` builds
      
      * Revert "Stop pulling `std` deps into `no_std` builds"
      
      This reverts commit f74dd660.
      
      * Revert "Move keyring primitives used in tests to shared crate"
      
      This reverts commit b774fa73.
      
      * Use new SS58Prefix type in mock
      
      * Start using `bp-test-utils` in finality pallet
      
      * Start using real justification code
      
      * Get a test working with real justification verification
      
      * Add basic tests for invalid proofs
      
      * Get rid of AncestryProof config type
      
      * Add error types to transaction outcome
      
      * Bound number of headers allowed in a single ancestry proof
      
      * Disallow invalid authority sets
      
      * Remove unused items
      
      * Add some documentation
      
      * Get rid of Clippy warnings
      
      * Rename BaseHeaderChain to TransactionVerifier
      
      * Remove unused code
      
      * Make dummy trait implementations more generic
      
      * Fix more Clippy complaints
      
      * Update tests to use fix for duplicate headers
      
      * Fix benchmarking compilation
      
      * Rename TransactionVerifier to InclusionProofVerifier
      6b46db8e
  13. Oct 06, 2020
    • Hernando Castano's avatar
      Split Rialto and Millau Nodes (#372) · e9f92c6b
      Hernando Castano authored
      * Split the Rialto Node into a standalone crate
      
      * Split the Millau Node into a standalone crate
      
      * Remove `bridge-node` crate
      
      * Add benchmarking feature to nodes
      
      * Check that benchmarks compile in CI
      
      * Remove nodes from CI matrix
      
      * Update Rialto node to Substrate 2.0
      
      * Get Millau node compiling with Substrate 2.0
      
      * Remove extra license text
      
      * Remove comments in TOML files
      
      * Move nodes and runtimes into Rialto and Millau folders
      
      * Fix dependency paths
      
      * Remove unused script
      
      * Add issue to benchmarking TODO
      
      * Fix benchmark manifest paths
      e9f92c6b
  14. Sep 30, 2020
  15. Sep 14, 2020
    • Svyatoslav Nikolsky's avatar
      Prepare separate runtime for testing sub2sub bridge (#341) · e31eada2
      Svyatoslav Nikolsky authored
      * 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 7c335f94.
      
      * specify container name
      
      * REVERT ME
      
      * container_name -> hostname
      
      * fix typo
      
      * aliases
      
      * Revert "REVERT ME"
      
      This reverts commit 0e74af5f.
      
      * removed prefixes
      e31eada2
  16. Sep 04, 2020
    • Tomasz Drwięga's avatar
      Initial version of `Call::decode` dispatch. (#300) · a2159edf
      Tomasz Drwięga authored
      
      
      * Initial version of call dispatch.
      
      * cargo fmt --all
      
      * Remove unused stuff.
      
      * cargo fmt --all
      
      * weight is part of msg + events
      
      * should_fail_on_weight_mismatch
      
      * plug into runtime
      
      * cargo fmt --all
      
      * fix benchmarks compilation?
      
      * expected/actual values in events
      
      * return actual weight from MessageDispatch::dispatch()
      
      * MessageOrigin -> InstanceId + move bridge_account_id to bp-runtime
      
      * fix benchmarks again
      
      * cargo fmt --all
      
      * clippy
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      a2159edf
  17. Jul 29, 2020
  18. Jun 05, 2020
  19. Apr 29, 2020
    • Svyatoslav Nikolsky's avatar
      Solidity contract that accepts unverified substrate headers (#65) · 9993873c
      Svyatoslav Nikolsky authored
      * solidity contract
      
      * continue
      
      * upd
      
      * cargo update
      
      * fixes
      
      * ehtereum_headers -> headers
      
      * extracted some common stuff
      
      * ethereum_sync.rs -> sync.rs
      
      * make sync generic
      
      * continue extracting
      
      * continue
      
      * add eth-contract argument
      
      * continue
      
      * some fixes
      
      * contract v2
      
      * continue
      
      * more fixes
      
      * more fixes
      
      * deal with duplicated params
      
      * removed multiple call_rpc variants
      
      * bail_on_error!()
      
      * fn submit_ethereum_transaction
      
      * more fixes
      
      * cargo fmt --all
      
      * fix
      
      * bail_on_arg_error!()
      
      * fix
      
      * fix
      
      * remove async_extra stuff
      
      * substrate-bridge.json -> substrate-bridge-abi.json
      
      * get rid of substrate transactions hashes
      
      * get rid of ethereum transactions hashes
      
      * extracted contract bytecode to separate file
      
      * cargo fmt --all
      
      * avoid duplicate import in contracts
      
      * removed Default::default()
      
      * swapped configurations for sub2eth && eth2sub
      
      * fix compilation
      
      * do not double gas limit when submitting Substrate headers
      
      * cargo fmt --all
      
      * solidity contract removed
      
      * consts
      
      * extracted solc compilation details to separate file
      
      * removed (obsolete in future Vec<u8> justification)
      
      * fixed cli option description
      
      * fix typos
      
      * fix grumble
      
      * extracted constants
      
      * log decoded header
      
      * cargo fmt --all
      
      * comment
      9993873c
  20. Mar 17, 2020
    • Hernando Castano's avatar
      Get Ethereum Relay to Compile (#21) · 1eb8f879
      Hernando Castano authored
      * Update dependencies
      
      Upgrades Substrate based dependencies from v2.0.0 -> v2.0.0-alpha.1
      and uses the `jsonrpsee`'s new feature flags. The actual code hasn't
      been updated though, so this won't compile.
      
      * Use `RawClient`s from `jsonrpsee`
      
      * Update to use jsonrpsee's new API
      
      * Hook up Ethereum Bridge Runtime, Relay, and Node Runtime
      
      * Bump `parity-crypto` from v0.4 to v0.6
      
      Fixes error when trying to compile tests. This was caused by
      `parity-crypto` v0.4's use of `parity-secp256k1` over `secp256k1'.
      Using the Parity fork meant multiple version of the same underlying
      C library were being pulled in. `parity-crypto` v0.6 moved away from
      this, only relying on `secp256k1` thus fixing the issue.
      1eb8f879
  21. Mar 04, 2020
    • Hernando Castano's avatar
      Add a Node (#22) · da936d32
      Hernando Castano authored
      * 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
      da936d32
  22. Mar 02, 2020
    • Hernando Castano's avatar
      Move `substrate-bridge-relay` into repository (#1) · 907e9f85
      Hernando Castano authored
      
      
      * Initial commit. CLI which parses RPC urls.
      
      * Establish ws connections and make simple RPC requests.
      
      * Complete bridge setup.
      
      * Process subscription events.
      
      * Ctrl-C handler.
      
      * Write a bare-bones README and copy in design doc.
      
      * Modularize code a little bit.
      
      * Communicate with each chain in a separate task.
      
      * Parse headers from RPC subscription notifications.
      
      * Send (fake) extrinsics across bridge channels.
      
      And now it's deadlocked.
      
      * Fix deadlock.
      
      * Clarify in README that this is not-in-progress.
      
      * Move everything into a single folder
      
      * Move Substrate relay into appropriate folder
      
      * Get the Substrate Relay node compiling
      
      * Update Cargo.lock
      
      * Use new composite accounts from Substrate
      
      * Remove specification document
      
      It has been moved to the Wiki on the Github repo.
      
      * Update author + remove comments
      
      * Use latest master for jsonrpsee
      
      Required renaming some stuff (e.g Client -> RawClient)
      
      Co-authored-by: default avatarJim Posen <[email protected]>
      907e9f85
  23. Feb 03, 2020
    • Hernando Castano's avatar
      Squashed commit of Rust-ifying the repo: · b26d005d
      Hernando Castano authored
      commit e31c1965a2e6b9a21ce68be63b81915b2b090f1d
      Author: Hernando Castano <[email protected]>
      Date:   Sun Feb 2 21:15:42 2020 -0500
      
          Get Ethereum bridge module compiling
      
      commit a497fc1640e68682f61b39414ffb15206c6120e2
      Author: Hernando Castano <[email protected]>
      Date:   Thu Jan 30 12:15:43 2020 -0500
      
          Make the toml file look a bit better
      
      commit 898fb7b06cfac7cf866e1a28fed9a4f02bd246a7
      Author: Hernando Castano <[email protected]>
      Date:   Thu Jan 30 12:06:27 2020 -0500
      
          Get substrate bridge module compiling
      
      commit 81e1547e6bec9f590cad9ffba0ee5dfa82cda1c1
      Author: Hernando Castano <[email protected]>
      Date:   Thu Jan 30 11:40:29 2020 -0500
      
          Create workspace and move more files around
      b26d005d