Skip to content
  1. Feb 18, 2021
  2. Feb 17, 2021
  3. Feb 16, 2021
  4. Feb 12, 2021
  5. Feb 11, 2021
  6. 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
  7. Feb 04, 2021
  8. Feb 03, 2021
  9. Feb 02, 2021
  10. Feb 01, 2021
  11. Jan 29, 2021
  12. 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
  13. Jan 26, 2021
  14. Jan 22, 2021
  15. 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
  16. Jan 20, 2021
  17. Jan 19, 2021
  18. Jan 18, 2021
  19. 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
  20. Jan 14, 2021
  21. Jan 12, 2021
  22. Jan 06, 2021
  23. Jan 04, 2021
  24. Dec 24, 2020
  25. Dec 22, 2020