Skip to content
  1. Feb 15, 2023
    • Svyatoslav Nikolsky's avatar
      Reject storage proofs with unused nodes: begin (#1878) · 0bd77f45
      Svyatoslav Nikolsky authored
      * reject storage proofs with unused nodes: begin
      
      * fix ignores_parachain_head_if_it_is_missing_from_storage_proof
      
      * message_proof_is_rejected_if_it_has_duplicate_trie_nodes && message_proof_is_rejected_if_it_has_unused_trie_nodes
      
      * proof_with_duplicate_items_is_rejected and proof_with_unused_items_is_rejected
      
      * clippy
      
      * fix benchmarks compilation
      
      * impl From<Error> for &'static str
      
      * fix review comments
      
      * added comment
      0bd77f45
  2. Jan 27, 2023
  3. Jan 09, 2023
    • Serban Iorga's avatar
      Deduplicate pallet call structs used for indirect runtime calls (#1744) · 6c826a6c
      Serban Iorga authored
      * Small changes
      
      * Define generic bridge pallets call structs
      
      * polkadot-core SignedExtension simplifications
      
      - we don't seem to need to pass the Call as a generic param
      - we can use codec(skip) instead of implementing Encode and Decode
      
      * Split BridgeHubRococo and BridgeHubWococo calls
      
      * code review fixes
      6c826a6c
  4. Dec 05, 2022
  5. Nov 11, 2022
  6. Oct 28, 2022
  7. Oct 10, 2022
  8. Sep 09, 2022
    • Svyatoslav Nikolsky's avatar
      update Substrate/Polkadot/Cumulus refs (#1562) · 97cf6dfb
      Svyatoslav Nikolsky authored
      * update Substrate/Polkadot/Cumulus refs
      
      * finality-grandpa 0.16
      
      * fix miillau-runtime compilation
      
      * fix rialto runtime compilation
      
      * fixed rialto-parachain runtime compilation
      
      * backport GRANDPA test fixes
      
      * helper instead of removed record_all_keys
      
      * substrate-relay is compiling
      
      * millau-bridge-node at least compiles
      
      * rialto-bridge-node at least compiles
      
      * rialto-parachain-collator compiles
      
      * fixings tests (wip)
      
      * fmt
      
      * fixed BEEFY alert
      
      * clippy
      
      * removed unused dep
      
      * -extra var
      
      * move Leaf to mod mmr
      
      * fix benchmarks
      97cf6dfb
  9. Aug 19, 2022
  10. Jun 28, 2022
  11. Jun 24, 2022
  12. Jun 21, 2022
  13. May 25, 2022
  14. Apr 28, 2022
  15. Mar 22, 2022
  16. Mar 15, 2022
    • Svyatoslav Nikolsky's avatar
      Update Substrate/Polkadot/Cumulus references (#1353) · ff5d539f
      Svyatoslav Nikolsky authored
      * cumulus: 4e952282914719fafd2df450993ccc2ce9395415
      polkadot: 975e780ae0d988dc033f400ba822d14b326ee5b9
      substrate: 89fcb3e4f62d221d4e161a437768e77d6265889e
      
      * fix refs
      
      * sync changes from https://github.com/paritytech/polkadot/pull/3828
      
      * sync changes from https://github.com/paritytech/polkadot/pull/4387
      
      * sync changes from https://github.com/paritytech/polkadot/pull/3940
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/4493
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/4958
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/3889
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/5033
      
      * sync with changes from https://github.com/paritytech/polkadot/pull/5065
      
      * compilation fixes
      
      * fixed prometheus endpoint startup (it now requires to be spawned within tokio context)
      ff5d539f
  17. Mar 09, 2022
  18. Jan 27, 2022
  19. Jan 18, 2022
  20. Dec 23, 2021
  21. Oct 25, 2021
    • Svyatoslav Nikolsky's avatar
      Bump dependencies (#1180) · 364d6e15
      Svyatoslav Nikolsky authored
      * substrate: d0f6c1c60da22e04dd25c2eca46ebfe6f1571af0
      polkadot: dd4b2e6a34a08a01b876d14641e99e7011be3463
      cumulus: 9379cd6c1863ea846ad6c6a8cbbc99848dd5d693
      
      * fmt
      
      * fixed lost refs
      
      * spelling
      
      * benckhmarks
      
      * fmt
      364d6e15
  22. Sep 24, 2021
  23. Sep 22, 2021
  24. Sep 09, 2021
  25. 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
  26. Jul 12, 2021
  27. Jun 07, 2021
  28. May 31, 2021
  29. May 19, 2021
  30. Apr 15, 2021
    • Hernando Castano's avatar
      Westend<>Rococo Headers Relay (#875) · f99f2225
      Hernando Castano authored
      * Add modules for Rococo<>Westend header sync
      
      * Use mock Westend and Rococo finaltiy tx calls
      
      * Add Westend<>Rococo variants to `init_bridge`
      
      * Add Westend<>Rococo variants to `relay_headers`
      
      * Simplify the Rococo and Westend signing params
      
      * Add `submit_finality_proof` mock Call variant
      
      * Add note to more closely match `initialize` Call variant
      
      * Accidentally committed `cargo-expand`ed code 🤦
      
      
      
      * Add `initialize` Call variant to Rococo mock
      
      * Fix call enums.
      
      * Add explainatory comment.
      
      * clippy.
      
      * Add issue number.
      
      * De-duplicate metrics customisation.
      
      * Add comments to Rococo/Westend runtimes.
      
      * Add scale-encoding compatibility test.
      
      * Fix tests.
      
      * Clippy.
      
      Co-authored-by: default avatarTomasz Drwięga <[email protected]>
      f99f2225
  31. Apr 07, 2021
    • Hernando Castano's avatar
      Bump Substrate (#871) · 08c7ea42
      Hernando Castano authored
      * Bump Substrate
      
      * Change usage of "Module" to "Pallet"
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8372
      
      * Add `OnSetCode` config param
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8496
      
      * Update Aura Slot duration time type
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8386
      
      * Add `OnSetCode` to mock runtimes
      
      * Add support for multiple justifications
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/7640
      
      * Use updated justification type in more places
      
      * Make GenesisConfig type non-optional
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8275
      
      * Update service to use updated telemetry
      
      Related Substrate PR: https://github.com/paritytech/substrate/pull/8143
      
      * Appease Clippy
      08c7ea42
  32. Apr 06, 2021
  33. Apr 05, 2021
    • Hernando Castano's avatar
      Use Vote Ancestries Directly in Weight Calculations (#862) · af2634b3
      Hernando Castano authored
      * Use more accurate weight calculation in declared weight
      
      * Remove session length and validator set size config constants
      
      * Remove config params from mock
      
      * Allow specifying total number of votes-ancestries per justification
      
      * Change limits used during benchmarking
      
      * Regenerate weights
      
      * Use simplified weight annotation
      
      * Remove comment
      
      * Address leftover TODO
      
      * Prevent possible divide by zero errors
      
      * Use correct argument order in weight declaration
      af2634b3
  34. 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
  35. Mar 24, 2021
    • Hernando Castano's avatar
      Larger Test Keyring Support (#842) · 5c2fba7d
      Hernando Castano authored
      * Allow creation of authority lists with any number of authorities
      
      * Move keyring helpers into their own module
      
      * Add helper for generating list of test accounts
      
      * Fix import names in tests
      
      * Rename Keyring trait to Signer
      
      * Get list of accounts in a more functional way
      
      * Clarify meaning of `test_keyring` return type
      
      * Use concrete test account type instead of generics
      
      * Make sure voter set contains all authorities which signed off on pre-commits
      5c2fba7d
  36. Mar 22, 2021
    • Hernando Castano's avatar
      Tunable Justification Generator (#835) · cde4db68
      Hernando Castano authored
      * Add way to create tunable GRANDPA justifications
      
      * Use new function in tests
      
      * Allow multiple authorities on a single fork
      
      * Only store pre-commit targets instead of full ancestry chains
      
      * Rename precommit_header to be more generic
      
      * Push new digest item instead of overriding entire digest
      
      * Ensure that we generate chains with non-zero length
      
      * Extract justification creation parameters into struct
      
      * Appease Clippy
      cde4db68
  37. 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
  38. 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
  39. 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
  40. Mar 09, 2021