Skip to content
  1. Feb 03, 2021
  2. Feb 02, 2021
  3. Feb 01, 2021
  4. Jan 29, 2021
  5. Jan 27, 2021
    • Hernando Castano's avatar
      Add Unchecked Header Writes to Bridge Pallet (#672) · 0b1bb2aa
      Hernando Castano authored
      
      
      * Add method for unchecked header imports
      
      * Update docs for importing unchecked headers
      
      * Import unchecked headers in HeaderChain implementation
      
      * Fix Clippy warnings
      
      * Move unchecked header import out of Verifier struct
      
      * Clean up unchecked import tests
      
      * Change HeaderChain API to accept iterator of headers
      
      * Use chains of headers in tests
      
      * Remove unused Result return type when appending finalized headers
      
      * Add test which shows that genesis changes are not enacted
      
      * Use initial header's hash for unchecked authority set changes
      
      * Appease Clippy
      
      * Check ancestry before making unchecked writes
      
      * Fix typo
      
      * Fix Clippy warning
      
      * Add note about `ancestry_proof` structure
      
      * Use best hash storage item directly
      
      Co-authored-by: default avatarSvyatoslav Nikolsky <[email protected]>
      0b1bb2aa
    • Svyatoslav Nikolsky's avatar
      791b1c74
  6. Jan 26, 2021
  7. Jan 22, 2021
  8. 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
    • Svyatoslav Nikolsky's avatar
      Use real weights to compute message delivery and dispatch fee (#598) · de6850e2
      Svyatoslav Nikolsky authored
      
      
      * message fee formula
      
      * update GetDelvieryConfirmationTransactionFee
      
      * include cost of transactions (i.e. not only dispatch cost) in delivery_and_dispatch_fee
      
      * endow relayers fund account
      
      * include db ops weight in max tx weight estimation
      
      * (in bytes)
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      de6850e2
  9. Jan 20, 2021
  10. Jan 19, 2021
  11. Jan 18, 2021
  12. Jan 15, 2021
    • Hernando Castano's avatar
      Move justification code to primitives crate (#640) · d9e94715
      Hernando Castano authored
      
      
      * Move justification module to header-chain primitives crate
      
      * Get justification module compiling in new location
      
      * Get justification module tests compiling
      
      * Use justification code from `header-chain` crate
      
      Mostly compiles, having issues with std/test feature flags across crates.
      
      * Move some code around
      
      * Move justification tests to integration testing crate
      
      * Add `test-utils` crate
      
      * Remove tests and test-helper module from justification code
      
      * Use `test-utils` in Substrate bridge pallet tests
      
      * Remove `sp-keyring` related code from `pallet-substrate-bridge`
      
      * Remove `helpers` module from `pallet-substrate-bridge`
      
      * Add some documentation
      
      * Add more documentation
      
      * Fix typo
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      d9e94715
    • Svyatoslav Nikolsky's avatar
      Improve Substrate pallet logs (#650) · 1b3c689e
      Svyatoslav Nikolsky authored
      1b3c689e
  13. Jan 14, 2021
  14. Jan 12, 2021
  15. Jan 06, 2021
  16. Jan 04, 2021
  17. Dec 24, 2020
  18. Dec 22, 2020
  19. Dec 21, 2020
  20. Dec 18, 2020
  21. Dec 17, 2020
  22. Dec 16, 2020
    • Svyatoslav Nikolsky's avatar
      Benchmarks for message delivery transaction (#567) · 4d795245
      Svyatoslav Nikolsky authored
      
      
      * benchmarks for pallet_message_lane::receive_messages_proof
      
      * use CallOrigin::TargetAccount (worst case of CallOrigin)
      
      * fmt
      
      * closures
      
      * Update modules/message-lane/src/benchmarking.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * Update modules/message-lane/src/benchmarking.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * fix compilation
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      4d795245
    • Hernando Castano's avatar
      Rialto to Millau Transfer Generator (#568) · fad8c928
      Hernando Castano authored
      
      
      * Add option to relay for sending transfers to Millau chain
      
      * Endow derived accounts on Millau chain
      
      * Update message generator entrypoint script to send transfers
      
      * Use correct command when sending messages
      
      * Send Root messages from Root origin on source chain
      
      * Wrap calls from Root Origin in Sudo Call
      
      * Allow Root to send messages without paying fees
      
      * Use correct variable when sending messages to Rialto
      
      * Print warning if no message type is provided to script.
      
      * Add note mentioning that certain source origins aren't supported yet
      
      * Use correct runtime when initializing header sync
      
      * Remove option to send messages as Root
      
      * Remove endowment of derived Root accounts
      
      * Fix indentation.
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      fad8c928
    • Hernando Castano's avatar
      Update Substrate Dependency (#566) · 64dab9c2
      Hernando Castano authored
      
      
      * Update `sp-io` dependency
      
      * Rename Trait to Config
      
      * RustFmt
      
      * Bump `sp-io` again
      
      * Use new frame_system weight types in Rialto and Millau runtimes
      
      * Update test Runtimes to use new weight types
      
      * Bump `sp-io` again
      
      * Update to not-the latest first.
      
      * Update benchmarks.
      
      * Another Trai.
      
      * Move new weight types into runtime primitive crates
      
      This allows us to check limits for extrinsics from other parts
      of the codebase without pulling in the entire chain runtime.
      
      * Remove leftover comments
      
      * Move new functions to a better location
      
      * Small formatting fixes
      
      * Add actual documentation to new weight config types
      
      * Decrease maximum block weight of Millau chain
      
      * Decreease maximum block length of Millau chain
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      64dab9c2
  23. 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
    • Svyatoslav Nikolsky's avatar
      fix send_message_worst_case (#571) · 74266d2c
      Svyatoslav Nikolsky authored
      74266d2c