Skip to content
  1. Jul 24, 2023
  2. Jul 19, 2023
    • Svyatoslav Nikolsky's avatar
      Update dependecies (#2277) (#2281) · 3c4ada92
      Svyatoslav Nikolsky authored
      * cargo update -p parachain-info
      
      * flush
      
      * it compiles
      
      * clippy
      
      * temporary add more logging to cargo deny
      
      * Revert "temporary add more logging to cargo deny"
      
      This reverts commit 20daa88b.
      
      * list installed Rust binaries before running cargo deny
      
      * changed prev commit
      
      * once again
      
      * try cargo update?
      
      * post-update fixes (nothing important)
      3c4ada92
  3. Jul 13, 2023
  4. Jul 10, 2023
  5. Jul 07, 2023
  6. May 16, 2023
    • Branislav Kontur's avatar
      Bump polkadot/substrate (#2134) · 0f6091d4
      Branislav Kontur authored
      * Bump polkadot/substrate
      
      * Fix millau network service
      
      * Fix polkadot_node_core_pvf_worker
      
      * Fix sc-network
      
      * Fix parachain rpc stuff
      
      * Check `integrity-test` for `bridge-runtime-common`
      
      * Backport fix from cumulus https://github.com/paritytech/cumulus/pull/2585/files#diff-5a942d80670b5ef31bb18b5acacab93ff30512d7cd21c19d7da364f76f6bb5c3 because of https://gitlab.parity.io/parity/mirrors/cumulus/-/jobs/2842938
      
      * TODO
      
      * Bump cumulus
      0f6091d4
  7. May 09, 2023
  8. Mar 14, 2023
    • Branislav Kontur's avatar
      Bump substrate/polkadot/cumulus (#1962) · 897b1c0b
      Branislav Kontur authored
      * Bump substrate/polkadot/cumulus
      
      * sp_finality_grandpa - >sp_consensus_grandpa
      
      * sp_beefy -> sp_consensus_beefy
      
      * pallet_randomness_collective_flip -> pallet_insecure_randomness_collective_flip
      
      * fix
      
      * Cumulus parachain stuff
      
      * Cumulus parachain stuff one more
      
      * Millau/Rialto runtimes
      
      * Removed pallet_insecure_randomness_collective_flip
      
      * Millau node
      
      * Removed session historial
      
      * TMP: just try disable all fetches
      
      * Docs in gitlab.yml
      897b1c0b
  9. Mar 09, 2023
    • Serban Iorga's avatar
      Some error improvements (#1956) · ef1b1bcd
      Serban Iorga authored
      * Use `HeaderChainError` in parachains module
      
      * Use MessageProofError instead of 'static str in some places
      
      * Avoid implementing Into<'static str> for some errors
      
      We avoid deriving `Debug` for the structs that we use in the runtime and
      we derive `RuntimeDebug` instead in order to avoid bloating th eruntime
      with static strs. But implementing `Into<'static str>` does the same. So
      in some places it makes sense to replace `Into<'static str>` with `Debug`.
      
      * Move the messages error definition
      
      Move the messages error definition outside of `mod target`
      ef1b1bcd
  10. Feb 23, 2023
  11. Feb 22, 2023
    • Svyatoslav Nikolsky's avatar
      Weight+size limits for bridge GRANDPA pallet calls (#1882) · 9b7285ed
      Svyatoslav Nikolsky authored
      
      
      * weight+size limits for bridge GRANDPA pallet calls
      
      * continue
      
      * fixed all tests
      
      * some changes to refund computations
      
      * post_dispatch_refunds_relayer_in_all_finality_batch_with_extra_weight
      
      * - dup code
      
      * do not return Pays::No if call is above weight/size limits
      
      * relayer_pays_tx_fee_when_submitting_huge_mandatory_header and relayer_pays_tx_fee_when_submitting_justification_with_long_ancestry_votes
      
      * clippy
      
      * fmt
      
      * clippy
      
      * small change in docs
      
      * fixed GRANDPA-limits constants for Polkadot-like chains
      
      * clippy
      
      * clippy + spelling
      
      * Update primitives/polkadot-core/src/lib.rs
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      
      * Update bin/runtime-common/src/refund_relayer_extension.rs
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      
      * reverted unnecessary change
      
      * GrandpaJustification::max_reasonable_size
      
      ---------
      
      Co-authored-by: default avatarAdrian Catangiu <[email protected]>
      9b7285ed
  12. Feb 20, 2023
  13. Feb 16, 2023
  14. 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
  15. Jan 27, 2023
  16. 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
  17. Dec 05, 2022
  18. Nov 11, 2022
  19. Oct 28, 2022
  20. Oct 10, 2022
  21. Jun 28, 2022
  22. Jun 24, 2022
  23. Jun 21, 2022
  24. May 25, 2022
  25. Mar 22, 2022
  26. Jan 18, 2022
  27. Dec 23, 2021
  28. 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
  29. Sep 24, 2021
  30. Sep 22, 2021
  31. 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
  32. May 31, 2021
  33. May 19, 2021
  34. 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
  35. 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
  36. Apr 06, 2021
  37. 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
  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 08, 2021