Skip to content
  1. Mar 22, 2021
  2. Mar 18, 2021
    • Hernando Castano's avatar
      Make Test Helpers `no_std` Compatible (#823) · b7410cad
      Hernando Castano authored
      * Use `sp-application-crypto` when generating test justifications
      
      * Try to justifications tests compiling
      
      * Try using `ed25519_dalek` for justification creation
      
      * Small cleanup
      
      * Correctly generate a Keypair
      
      The public key didn't correspond to what would be derived
      with the given private key.
      
      * Remove enum index hack
      
      * Clean up test account helper functions
      
      * Fix tests in `pallet-finality-verifier`
      
      * Get `pallet-substrate-bridge` tests compiling again
      
      * Use the correct keyring in justification tests
      
      * Clean up Keyring related code a bit
      
      * Appease Clippy
      
      * Remove unused import
      
      * Use keyring variants directly
      
      * Remove unecessary From implementation
      b7410cad
  3. Mar 16, 2021
    • Svyatoslav Nikolsky's avatar
      Sync Westend to Millau (#824) · 314f9f7d
      Svyatoslav Nikolsky authored
      * make finality verifier pallet instantiable
      
      * add second instance of finality verifier pallet to the Millau runtime
      
      * add Westend -> Millau headers relay
      
      * use wss to connect to public westend nodes
      
      * initialize with best_finalized_block
      
      * typo
      
      * Revert "initialize with best_finalized_block"
      
      This reverts commit 954ed283.
      
      * pass VoterSet by ref
      
      * new bridge initialization code
      
      * loop upper bound
      
      * Polkadot -> Westend
      
      * fixed tests compilation
      
      * default-features
      
      * assert
      314f9f7d
  4. Mar 15, 2021
  5. Mar 10, 2021
    • Hernando Castano's avatar
      Clean Finality Verifier Pallet (#804) · 6c2c2311
      Hernando Castano authored
      
      
      * Remove unused Config types from `pallet-finality-verifier`
      
      * Remove unused AncestryChecker trait
      
      * Remove ancestry proof parameter from relayer calls
      
      * Update docs to reflect current state of pallet
      
      * Remove mock ancestry checker
      
      * Remove unused error
      
      * Write headers outside of function used for authority set changes
      
      * Move justification verification into helper function
      
      * Add documentation suggestions
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Clean up module level documentation a bit
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      6c2c2311
    • 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
    • Hernando Castano's avatar
      Simplify operational extrinsics (#810) · 3332b0e5
      Hernando Castano authored
      * Simplify operational extrinsics
      
      * Remove old extrinsics from finality verifier
      3332b0e5
  6. Mar 09, 2021
  7. Mar 08, 2021
  8. Mar 04, 2021
    • Hernando Castano's avatar
      Unify Substrate Bridge Pallet with Finality Verifier (#783) · bb7ed3c0
      Hernando Castano authored
      * Add relevant storage items from Substrate pallet
      
      * Add function for importing finalized headers to storage
      
      * Remove unused getter functions
      
      * Add GenesisConfig to pallet
      
      * Add initialization extrinsic
      
      * Add operational extrinsic
      
      * Get existing finality verifier tests compiling again
      
      * Add tests for pallet initialization
      
      * Add tests related to pallet's operational status
      
      * Update tests which were using `pallet-substrate-bridge`
      
      * Add tests related to header imports
      
      * Use wrapper function when init-ing some tests
      
      * Add prefix to tests related to rate limiter
      
      * Fix failed compilation related to GenesisConfig
      
      * Add some documentation
      
      * Change some extrinsics to be Operational
      
      * Add public interface to pallet
      
      * Implement runtime APIs for finality-verifier pallet
      
      * Justify use of `expect` when importing headers
      
      * Reject headers with forced changes
      
      * Add weight to initialize extrinsic
      
      * Remove TODO which will be addressed later
      
      * Move succesful import log to correct location
      
      * Expand proof for when `best_finalized` is fetched
      
      * Move check for newer finalized blocks earlier in pipeline
      
      * Rename `ConflictingFork` error to be more generic
      
      * Only compute finality_target's hash once
      
      * Add missing documentation to Runtime APIs
      
      * Add TODO about using `set_id` from `ScheduledChange` digest
      bb7ed3c0
  9. Feb 28, 2021
  10. Feb 26, 2021
  11. Feb 25, 2021
  12. Feb 24, 2021
  13. Feb 18, 2021
  14. Feb 17, 2021
  15. Feb 16, 2021
  16. Feb 12, 2021
  17. Feb 11, 2021
  18. Feb 10, 2021
    • Svyatoslav Nikolsky's avatar
      Account proof size in weight formula (#679) · 15b27e38
      Svyatoslav Nikolsky authored
      
      
      * fix broken message lane benchmarks
      
      * proof-size related benchmarks
      
      * impl Size for proof parameters
      
      * include proof weight into weight formula
      
      * left TODO
      
      * fixed proof size
      
      * WeightInfoExt::receive_messages_proof_weight
      
      * charge for extra message bytes delivery in send_message
      
      * removed default impl of WeightsInfoExt
      
      * moved weight formulas to WeightInfoExt
      
      * receive_messages_proof_outbound_lane_state_overhead is included twice in weight
      
      * typo
      
      * typo
      
      * fixed TODO
      
      * more asserts
      
      * started wotk on message-lane documentation
      
      * expected_extra_storage_proof_size() is actually expected in delivery confirmation tx
      
      * update README.md
      
      * ensure_able_to_receive_confirmation
      
      * test rialto message lane weights
      
      * removed TODO
      
      * removed unnecessary trait requirements
      
      * fixed arguments
      
      * fix compilation
      
      * decreased basic delivery tx weight
      
      * fmt
      
      * clippy
      
      * Update modules/message-lane/src/benchmarking.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * structs
      
      * Update primitives/millau/src/lib.rs
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * removed readme.md
      
      * removed obsolete trait bounds
      
      * Revert "removed readme.md"
      
      This reverts commit 50b7376a
      
      .
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * Update bin/runtime-common/src/messages.rs
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      
      * PreComputedSize
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      15b27e38
    • Hernando Castano's avatar
      Stop Importing Full Header Chain (#707) · aa7b797d
      Hernando Castano authored
      * Make AncestryProof type more flexible
      
      * Only import single finalized header instead of a chain
      
      * Fix unchecked header import tests
      
      * Add option for limiting ancestry proof size
      
      * Update finality verifier Config in runtimes
      
      * Update some documentation
      
      * Fix Clippy warning
      
      * Allow AncestryChecker to return proof size
      
      Stops us from abusing the `Size` trait
      
      * Remove Size impl for Vec<T>
      
      * Remove size contraints for ancestry proofs
      
      With different proof types its unclear how to "size" should be interpreted,
      so we remove this requirement all together to avoid confusion.
      aa7b797d
  19. Feb 04, 2021
  20. Feb 03, 2021
  21. Feb 02, 2021
  22. Feb 01, 2021
  23. Jan 29, 2021
  24. 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