Skip to content
  1. Jul 05, 2021
  2. Jul 02, 2021
  3. 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
  4. Jun 24, 2021
  5. Jun 22, 2021
  6. Jun 21, 2021
  7. Jun 18, 2021
  8. 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
  9. Jun 14, 2021
  10. Jun 08, 2021
  11. Jun 07, 2021
  12. 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
  13. May 13, 2021
  14. 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
  15. Apr 29, 2021
  16. Apr 28, 2021
  17. Apr 23, 2021
  18. 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
  19. 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
  20. Apr 14, 2021
  21. Apr 13, 2021
  22. 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
  23. Apr 06, 2021
  24. 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
  25. 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 `Current...
      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
  26. 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
  27. 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
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · 7ed84892
      Tomasz Drwięga authored
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      7ed84892
    • Svyatoslav Nikolsky's avatar
      Westend->Millau headers relay in deployments (#831) · 353ef77a
      Svyatoslav Nikolsky authored
      * reorganize monitoring
      
      * Westend->Millau bridge
      
      * support multiple bridges
      
      * initialize Westend -> Millau bridge byMillau.George
      
      * fix intersecting ports
      
      * ignore dashboards
      
      * single bridged network
      
      * deal with multple --env-file args
      
      * fix chain name
      
      * use images from docker hub
      
      * update show_help
      
      * updated comment
      
      * mount whole dashboards directory
      
      * removed unneeded network
      
      * reverted reverse-proxy changes
      
      * prometheus -> targets
      
      * separate Grafana.Dockerfile with builtin /etc/grafana
      
      * Revert "separate Grafana.Dockerfile with builtin /etc/grafana"
      
      This reverts commit 53e04c45.
      
      * read dashboards from /etc/grafana/dashboards
      
      * stop comment
      353ef77a
  28. 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
    • Svyatoslav Nikolsky's avatar
      Rename pallet-message-lane into pallet-bridge-messages (#834) · 5eb919ee
      Svyatoslav Nikolsky authored
      * use runtime:: prefix for message-lane pallet traces
      
      * renamed message-lane (module and primitives) folder into messages
      
      * replace "message lane" with "messages" where appropriate
      5eb919ee