Skip to content
  1. Nov 02, 2020
  2. Oct 28, 2020
  3. Oct 27, 2020
    • Hernando Castano's avatar
      Support Tracking Forks in Substrate Pallet (#409) · 45163a72
      Hernando Castano authored
      
      
      * Support multiple "best headers" from different forks
      
      * Update the name of a test
      
      * Add note about multiple scheduled changes
      
      * Disallow multiple scheduled authority set changes
      
      * Return multiple best headers from Runtime APIs
      
      * Remove invalid test write-up
      
      * Add some sketch-ups of test scenarios
      
      * Clean up test scenarios
      
      * Add module for testing forks
      
      * Write headers to storage
      
      * Add way to check expected outcome for header imports
      
      * Add support for importing finality proofs
      
      * Support importing headers which schedule changes
      
      * Write out test scenario using new framework
      
      * Map authority set changes across forks
      
      Gets all the tests in the `forks` module passing
      
      * Remove basic tests
      
      These were used when working on the initial test helper
      
      * Prevent multiple pending set changes on the same fork
      
      * Remove old test which allowed imports past unfinalized header
      
      * Ignore failing test (for now)
      
      * Rewrite `if` comparison using `match` and `cmp`
      
      Fixes Clippy warning: `comparison_chain`
      
      * Add helper for writing test headers with default characteristics
      
      * Fix test that checked authority set updates
      
      * Make note about importing headers on different unfinalized fork
      
      * Perform some cleanup on the fork module
      
      * Fix Clippy complaints
      
      * Provide list of unfinalized headers to Runtime APIs
      
      * Add proofs to expect() calls
      
      * Make tests the focus of the forks module
      
      * Allow specific errors to be checked in fork tests
      
      * Remove unused method
      
      * Replace unreachable() statement with expect()
      
      * Rename storage `unfinalized_headers() `to make its purpose more clear
      
      * Update Runtime API name in relayer to match pallet
      
      * Commit `unfinalized_headers` changes I forgot to add
      
      * Rename ChainTipHeight to BestHeight
      
      * Make schedule_next_set_change require a mutable reference
      
      * Remove check for key when enacting authority set
      
      We only expect to take the happy-path in the pallet anyways, so this check
      to save ourselves the time spent decoding the entry isn't really used.
      
      * Clear justification set when writing headers to storage
      
      * Clarify why we only allow one set change per fork
      
      * Change best_headers() to return HeaderIDs
      
      Prevents us from returning full headers (which are more expensive to
      get from storage) since we only care about header IDs (number, hash)
      anyways.
      
      * Fix Clippy complaint
      
      * Make note about equivocations
      
      * Use HeaderIds when returning incomplete headers
      
      This change stops returning full headers which are more expensive
      to get from storage than header Ids (number, hash) are. Clients likely
      don't need the full header anyways which is why this change is fine.
      
      * Introduce HeaderId type to reduce type complexity
      
      * Add signal hash to storage during genesis config
      
      * Return error instead of expect()-ing
      
      * Fix Clippy lint about `ok_or` fn call
      
      * Rename `forks` module to indicate that it's for testing
      
      * Use `const` for `expect()` proofs
      
      * Remove check that key exists before `kill`-ing value
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      45163a72
  4. Oct 26, 2020
  5. Oct 19, 2020
  6. Oct 14, 2020
  7. Oct 12, 2020
  8. Oct 09, 2020
    • Hernando Castano's avatar
      Add GenesisConfig for Millau and Rialto Runtimes (#401) · 9d22549a
      Hernando Castano authored
      
      
      * Add Rialto as a target for the Millau node
      
      * Rename Rialto module to Rialto-PoA
      
      This will reduce confusion as the Millau runtime has a
      Rialto module as well which refers to the Substrate chain.
      
      * Add Millau as a target for the Rialto node
      
      * Be more explicit about Rialto PoA related code
      
      * Missed some name changes in the Ethereum PoA relay
      
      * Re-export Substrate pallet structs used by node
      
      * Remove `first_scheduled_change` of Millau in Rialto node
      
      * Make Millau's genesis config for Rialto bridge more accurate
      
      * Set initial header for Millau config
      
      * Update initial Millau authorities
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      
      * RustFmt Millau authorities
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      9d22549a
  9. Oct 07, 2020
  10. Oct 06, 2020
    • Svyatoslav Nikolsky's avatar
      Message lane loop metrics (#400) · 4dc3d40f
      Svyatoslav Nikolsky authored
      * message lane metrics
      
      * fmt and clippy
      4dc3d40f
    • 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
  11. Oct 05, 2020
  12. Oct 02, 2020
  13. Sep 30, 2020
  14. Sep 28, 2020
  15. Sep 25, 2020
  16. Sep 22, 2020
    • Svyatoslav Nikolsky's avatar
      Extract minimal ethereum client (#359) · 69f958fb
      Svyatoslav Nikolsky authored
      * 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
      69f958fb
  17. Sep 18, 2020
  18. Sep 17, 2020
  19. 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
    • Svyatoslav Nikolsky's avatar
      Relay DummyOrdered messages (#318) · 26175490
      Svyatoslav Nikolsky authored
      
      
      * DummyOrdered relay: initial commit
      
      * 1 ML file -> 3 files
      
      * extracted generic message race loop
      
      * uncommented race error procesing
      
      * lane loop tests
      
      * cargo fmt
      
      * moved HeaderId to utils.rs
      
      * restart lane loop on stall
      
      * message delivery strategy tests
      
      * removed obsolete code
      
      * clippy
      
      * Update relays/ethereum/src/message_lane_loop.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update relays/ethereum/src/message_lane_loop.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * added more races docs
      
      * Update relays/ethereum/src/message_race_delivery.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * update docs
      
      * Update relays/ethereum/src/message_race_loop.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * deal with TODOs
      
      * removed docs
      
      * docs
      
      * cargo fmt --all
      
      * Update relays/ethereum/src/message_race_loop.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      Co-authored-by: default avatarHernando Castano <[email protected]>
      26175490
  20. Aug 31, 2020
  21. Aug 28, 2020
  22. Aug 20, 2020
  23. Aug 19, 2020
  24. Aug 18, 2020
  25. Aug 17, 2020