Skip to content
  1. Jul 28, 2021
  2. Jul 22, 2021
  3. Jul 12, 2021
  4. Jul 05, 2021
  5. Jul 02, 2021
  6. Jun 25, 2021
    • Svyatoslav Nikolsky's avatar
      Rococo <> Wococo messages relay (#1030) · 23dda624
      Svyatoslav Nikolsky authored
      * MessagesInstance -> BridgedMessagesInstance
      
      * Chain::ID -> Bridge::THIS_CHAIN_ID+Bridge::BRIDGED_CHAIN_ID
      
      * FromBridgedChainEncodedMessageCall<B> -> FromBridgedChainEncodedMessageCall<DecodedCall>
      
      * impl Parameter for ()
      
      * copypaste storage_map_final_key to avoid different runtime references/dummy runtimes
      
      * moved dummy runtime from primitives to relay client
      
      * Rococo <> Wococo messages relays
      
      * send R<>W messages using relay
      
      * fmt
      
      * return Result from get_dispatch_info
      
      * fix benchmarks compilation
      
      * clippy
      23dda624
    • Chevdor's avatar
      Update the wasm builder to substrate master (#1029) · bcde21dc
      Chevdor authored
      
      
      * chore: update the wasm builder to substrate master
      * Bump Substrate
      * Update weight of sending remarks
      
      ref https://github.com/paritytech/polkadot/pull/3354
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      bcde21dc
  7. Jun 24, 2021
  8. Jun 22, 2021
  9. Jun 21, 2021
  10. Jun 18, 2021
  11. Jun 17, 2021
    • Hernando Castano's avatar
      Bump Substrate to `286d7ce` (#1006) · 1e354770
      Hernando Castano authored
      * Bump dependencies
      
      - Substrate to `74a1bfdcc`
      - `finality-grandpa` to `0.14.1`
      - `fs-swap` to `0.2.6`
      
      * Add `pallet_randomness_collective_flip` to runtimes
      
      * Rename GenesisConfig fields
      
      See Substrate PR: https://github.com/paritytech/substrate/pull/8990
      
      * Missed PoA renames in Rialto GenesisConfig
      
      * Use `spawn_essential_handle` for transaction pool
      
      See Substrate PR: https://github.com/paritytech/substrate/pull/9074
      1e354770
  12. Jun 14, 2021
  13. Jun 08, 2021
  14. Jun 07, 2021
  15. Jun 02, 2021
    • Denis_P's avatar
      Move CI from GitHub Actions to GitLab (#814) · e74e8ab7
      Denis_P authored
      * CI: do not trust this CI 1
      
      * CI: don't want to trigger unneded statuses
      
      * CI: debug 1
      
      * CI: new CI
      
      * CI: temp allow failure
      
      * CI: exclude paths
      
      * doc: check if docs won't trigger pipelines
      
      * doc: check hybrid changes pipeline
      
      * doc: do not push excluded files together with others
      
      * CI: undebug fmt
      
      * CI: better deny
      
      * CI: fix deny and spellcheck
      
      * CI: global backtrace
      
      * CI: deny config
      
      * CI: publishing
      
      * Dockerfile: metadata fix [skip ci]
      
      * CI: revert me
      
      * CI: debug bash
      
      * CI: mv ci.Dockerfile; fix buildah bug
      
      * CI: fix artifact name
      
      * Dockerfile: fix context
      
      * CI: separate deny check licenses
      
      * CI: when to run
      
      * CI: unneded stuff in these Dockerfiles
      
      * CI: merged test-refs and build-refs
      
      * CI: test-build optimizations
      
      * CI: changes, web, scheduled pipelines now work as intended
      
      * CI: use tested production CI image
      
      * CI: substitute GHA
      
      * Fix clippy.
      
      * Moar clippy fixes.
      ...
      e74e8ab7
  16. May 13, 2021
  17. May 03, 2021
    • fewensa's avatar
      Move pallet-bridge-dispatch types to primitives (#948) · ed20ef34
      fewensa authored
      * message dispatch support multiple instances
      
      * Move pallet-bridge-dispatch types to primitives
      
      * remove pallet-bridge-dispatch dependency
      
      * Update cargo.lock (remove pallet-bridge-dispatch in substrate-relay)
      
      * remove extra dependencies
      ed20ef34
  18. Apr 29, 2021
  19. Apr 28, 2021
  20. Apr 23, 2021
  21. Apr 22, 2021
    • Tomasz Drwięga's avatar
      Add pruning to bechmarks & update weights. (#918) · c2d56b2e
      Tomasz Drwięga authored
      * Insert headers in benchmarks.
      
      * Fix benchmarks.
      
      * Lower number of headers.
      
      * Avoid hardcoding numbers.
      
      * Update weights.
      
      * cargo fmt --all
      
      * Remove todo.
      
      * Fix test.
      
      * Address review comments.
      
      * Fix borrowed value.
      c2d56b2e
  22. Apr 15, 2021
    • Tomasz Drwięga's avatar
      Update weights (#898) · 3260eb60
      Tomasz Drwięga authored
      * New weights.
      
      * Fix test.
      
      * cargo fmt --all
      3260eb60
    • 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
  23. Apr 14, 2021
  24. Apr 13, 2021
  25. 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
  26. Apr 06, 2021
  27. 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
  28. Apr 01, 2021
    • Hernando Castano's avatar
      Weights for `pallet-bridge-grandpa` (#815) · 1a89b1ec
      Hernando Castano authored
      * Add benchmarking skeleton
      
      * Allow runtime to indicate concrete header type for benches
      
      * Set up skeleton for benchmark tests
      
      * Play around with mutating bench header
      
      * Create a working test for benchmarking
      
      * Add benches related to enacting authority set changes
      
      * Add bench for checking effect of prec-commits/vote ancestries
      
      * Use new `no_std` test utils in benchmarks
      
      * Support pallet instances in benchmarking
      
      * Use correct benchmarking instance macro
      
      * Add instance to runtime benchmark helper impl
      
      * Start using new justification creation API
      
      * Allow mock header's number to be specified
      
      * Set up benches with correct fork/depth parameters
      
      * Use new pallet name during runtime bench setup
      
      * Use correct `set_id` in tests
      
      * Limit number of forks as workaround to get tests passing
      
      * Use number of authorities which matches number of forks
      
      * Make sure test post-conditions are checked properly
      
      * Only read `CurrentAuthoritySet` from storage once
      
      * Add combined benchmark for `submit_finality_proof`
      
      * Add bench test
      
      * Introduce config bounds related to justification verification
      
      * Use config consts from pallet in benchmarking
      
      * Return data relevant to benchmarks from helper functions
      
      * Annotate `submit_finality_proof` with autogenerated weights
      
      * Return actual weight after call execution
      
      * Ignore Clippy warnings in bench template
      
      * Update benchmark template
      
      * Use `test-utils` to create test headers
      
      * Clarify that helper is only for messages benches
      
      * Add more documentation to benches
      
      * Update TODOs
      
      * Clarify return types in comment
      
      * Fix pallet name post-merge
      
      * Update NOTE to a TODO item
      
      * Indicate that Config params are max values, not actual values
      
      * Change Config validator count type to be `u32`
      
      * Return decoded justification instead of fields
      
      * Add missing trait bounds for tests
      
      * Correctly issue weight refund
      
      Thanks for spotting this Tomek!
      
      * Update comment
      
      * Add note about SESSION_LENGTH
      
      * Fix benchmarking code
      1a89b1ec
    • 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
  29. 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
  30. Mar 23, 2021
    • Hernando Castano's avatar
      Rename Finality Verifier and Call Dispatch Pallets (#838) · 38666462
      Hernando Castano authored
      * Rename `pallet-finality-verifier` to `pallet-bridge-grandpa`
      
      * Missed some CamelCase ones
      
      * Update logging target in GRANDPA pallet
      
      * Rename `pallet-bridge-call-dispatch` to `pallet-bridge-dispatch`
      
      * Rename the dispatch pallet folder
      
      * Update logging target in Dispatch pallet
      
      * Missed a couple
      
      * Format the repo
      
      * Stop listing individual pallets in Compose logs
      
      * Use correct pallet name in module doc comments
      
      * Add `pallet-bridge-dispatch` to README project layout
      
      * Sort crate names in TOML files
      
      * Rename `pallet-bridge-grandpa` runtime Call alias
      38666462