Skip to content
  1. Mar 01, 2021
  2. 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
  3. 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
  4. Sep 30, 2020
  5. 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
  6. 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
  7. Jul 29, 2020
  8. Jun 05, 2020
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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