Skip to content
  1. 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
  2. Jul 29, 2020
  3. Jun 05, 2020
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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