Skip to content
  1. Sep 27, 2021
  2. Sep 24, 2021
  3. Sep 23, 2021
  4. Sep 21, 2021
  5. Sep 10, 2021
  6. Sep 09, 2021
  7. Sep 02, 2021
  8. Aug 01, 2021
    • Tomasz Waszczyk's avatar
      Fix full spellcheck (#1076) · 3fb97fa5
      Tomasz Waszczyk authored
      
      
      * fix(spellcheck): test of fixing
      
      * fix(hunspell): improved many typos etc.
      
      * fix(hunspell): all errors solved
      
      * fix(hunspell): extended scope of files - the build should fail
      
      * Return error code.
      
      * Fix spelling, sort dictionary.
      
      * fix(hunspell): added fix to gitlabs check
      
      * fix(typo): one typo and test of verification on github
      
      * fix(typo): one typo
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      3fb97fa5
  9. Jun 24, 2021
  10. Jun 21, 2021
  11. Jun 18, 2021
  12. May 13, 2021
  13. Apr 29, 2021
    • Hernando Castano's avatar
      Add Wococo<>Rococo Header Relayer (#925) · 801c99f3
      Hernando Castano authored
      * Add Wococo primitives crate
      
      * Add more Wococo boilerplate code
      
      * Add CLI support for initializing the Wococo<>Rococo bridge
      
      * Add support for relaying headers between Rococo and Wococo
      
      * Fix test
      
      * RustFmt
      
      * Fix compilation issues related to enum naming
      
      * Bump Rococo `spec_version`
      
      * Remove stray Westend references
      801c99f3
  14. Apr 06, 2021
  15. Apr 01, 2021
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · ca98d090
      Hernando Castano authored
      * Stop passing raw encoded justifications to pallet API
      
      By having the API accept a struct-ified justification we are able to
      better utilize the justifications fields for weight calculations.
      
      * Update relayer code to use decoded justifications
      
      * Add justification to `expect()` statement
      
      * Fix some imports
      
      * Make justification wrapper contain decoded justification
      
      * Rename some fields
      
      * Get rid of warnings
      
      * Appease Clippy
      
      * Only decode justification once at init time
      
      * Remove unnecessary method
      
      * Remove justification wrapper
      
      This became kinda unnecessary since we could implement the FinalityProof
      trait on GrandpaJustification directly.
      ca98d090
  16. Mar 23, 2021
    • Hernando Castano's avatar
      Rename Finality Verifier and Call Dispatch Pallets (#838) · 38666462
      Hernando Castano authored
      * Rename `pallet-finality-verifier` to `pallet-bridge-grandpa`
      
      * Missed some CamelCase ones
      
      * Update logging target in GRANDPA pallet
      
      * Rename `pallet-bridge-call-dispatch` to `pallet-bridge-dispatch`
      
      * Rename the dispatch pallet folder
      
      * Update logging target in Dispatch pallet
      
      * Missed a couple
      
      * Format the repo
      
      * Stop listing individual pallets in Compose logs
      
      * Use correct pallet name in module doc comments
      
      * Add `pallet-bridge-dispatch` to README project layout
      
      * Sort crate names in TOML files
      
      * Rename `pallet-bridge-grandpa` runtime Call alias
      38666462
  17. Mar 22, 2021
  18. 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
  19. Mar 08, 2021
    • Hernando Castano's avatar
      Move Storage Parser from Bridge Pallet (#793) · 8cf26099
      Hernando Castano authored
      * Move storage proof checker to runtime primtives
      
      * Add method for parsing storage proofs
      
      * Use finality-verifier pallet in runtime-common
      
      * Get bridge pallet compiling again
      
      * Use storage prover from bp-runtime in a few more places
      
      * Don't leak `std` items from proof helper into `no-std` builds
      
      * Fix benchmarking compilation
      
      * Remove unused import in fuzzer
      8cf26099
  20. Feb 17, 2021
  21. Feb 10, 2021
  22. Jan 29, 2021
  23. Jan 12, 2021
  24. Dec 14, 2020
    • Hernando Castano's avatar
      High-Level Documentation (#565) · e31ac43b
      Hernando Castano authored
      
      
      * High level docs - start.
      
      * Clean up README
      
      * Start adding details to high level docs
      
      * More docs on the header sync pallet
      
      * Testing scenarios document.
      
      * Add some scenarios.
      
      * Add multi-sig scenario.
      
      * Start writing about message dispatch pallet
      
      * Move content from old README into PoA specific doc
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarAndreas Doerr <[email protected]>
      
      * GRANDPA for consistency.
      
      * Describe scenario steps.
      
      * WiP
      
      * Add notes about block production and forks
      
      * Update.
      
      * Add sequence diagram for Millau to Rialto transfer
      
      * Clean up header sync pallet overview
      
      * Remove leftover example code
      
      * Clean up testing scenarios and amend sequence diagram.
      
      * Linking docs.
      
      * Add some more docs.
      
      * Do a bit of cleanup on the high-level docs
      
      * Clean up the testing scenario
      
      * Fix typos in flow charts
      
      * Fix small typo
      
      * Fix indentation of Rust block
      
      * Another attempt ...
      e31ac43b
  25. Dec 04, 2020
  26. Nov 30, 2020
    • Hernando Castano's avatar
      Add Derived Account Origins to Dispatcher (#519) · f73286b7
      Hernando Castano authored
      * Update some docs
      
      * Add derived account origin
      
      * Add tests for derived origin
      
      * Do a little bit of cleanup
      
      * Change Origin type to use AccountIds instead of Public keys
      
      * Update (most) tests to use new Origin types
      
      * Remove redundant test
      
      * Update `runtime-common` tests to use new Origin types
      
      * Remove unused import
      
      * Fix documentation around origin verification
      
      * Update config types to use AccountIds in runtime
      
      * Update Origin type used in message relay
      
      * Use correct type when verifying message origin
      
      * Make CallOrigin docs more consistent
      
      * Use AccountIds instead of Public keys in Runtime types
      
      * Introduce trait for converting AccountIds
      
      * Bring back standalone function for deriving account IDs
      
      * Remove AccountIdConverter configuration trait
      
      * Remove old bridge_account_id derivation function
      
      * Handle target ID decoding errors more gracefully
      
      * Update message-lane to use new AccountId derivation
      
      * Update merged code to use new Origin types
      
      * Use explicit conversion between H256 and AccountIds
      
      * Make relayer fund account a config option in `message-lane` pallet
      
      * Add note about deriving the same account on different chains
      
      * Fix test weight
      
      * Use AccountId instead of Public key when signing Calls
      
      * Semi-hardcode relayer fund address into Message Lane pallet
      f73286b7
  27. Nov 05, 2020
  28. Nov 03, 2020
  29. Nov 02, 2020
  30. 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
    • Svyatoslav Nikolsky's avatar
      Integrate message-lane module RPCs into Rialto/Millau nodes (#458) · 480839ce
      Svyatoslav Nikolsky authored
      * integrate message-lane RPCs into Millau and Rialto runtime
      
      * fmt
      
      * use instance in InboundLanes
      
      * moved RialtoMessageLaneKeys/MillauMessageLaneKeys inside rpc_extensions_builder to ease Substrate refs update
      480839ce
  31. Oct 26, 2020
  32. Oct 07, 2020
  33. 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
  34. Sep 02, 2020