Skip to content
  1. Apr 15, 2021
  2. Apr 14, 2021
  3. Apr 13, 2021
  4. Apr 12, 2021
  5. Apr 09, 2021
  6. Apr 07, 2021
  7. Apr 06, 2021
  8. Apr 05, 2021
  9. Apr 02, 2021
  10. Apr 01, 2021
    • Hernando Castano's avatar
      Weights for `pallet-bridge-grandpa` (#815) · 5b7288fa
      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
      5b7288fa
    • Hernando Castano's avatar
      Use GrandpaJustification instead of Vec<u8> in Pallet API (#847) · 146c70f7
      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.
      146c70f7
    • Tomasz Drwięga's avatar
      Make relay CLI generic (#849) · 57948a74
      Tomasz Drwięga authored
      
      
      * Start generalizing rialto-millau commands.
      
      * cargo fmt --all
      
      * Introduce generic balance.
      
      * Unify message payloads.
      
      * cargo fmt --all
      
      * init - generic
      
      * Attempt to unify send message.
      
      * Start moving things around.
      
      * cargo fmt --all
      
      * Move init-bridge.
      
      * cargo fmt --all
      
      * Improve UX of bridge argument.
      
      * Fix clippy.
      
      * Fix docs and scripts.
      
      * Add docs.
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      
      * Fix copyright.
      
      * Add issue numbers.
      
      * More todos.
      
      * Update comments.
      
      Co-authored-by: default avatarHernando Castano <[email protected]>
      57948a74
  11. Mar 31, 2021
  12. Mar 30, 2021
  13. Mar 26, 2021
  14. Mar 25, 2021
  15. Mar 24, 2021
    • Hernando Castano's avatar
      Larger Test Keyring Support (#842) · 2daae576
      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
      2daae576
    • Svyatoslav Nikolsky's avatar
      Changed how relay loops are started (#840) · f5674e18
      Svyatoslav Nikolsky authored
      * slightly changed relay loop initialization
      
      * git mv
      
      * clippy
      
      * more clippy
      
      * loop_run -> run_loop
      
      * review and clippy
      
      * clippy
      f5674e18
  16. Mar 23, 2021
    • Hernando Castano's avatar
      Rename Finality Verifier and Call Dispatch Pallets (#838) · 574f3cfd
      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
      574f3cfd
    • Tomasz Drwięga's avatar
      Flatten back the structure (#837) · 59eaa224
      Tomasz Drwięga authored
      * Remove chains.
      
      * Move relay clients.
      
      * Flatten generic.
      
      * Fix fmt.
      59eaa224
    • Svyatoslav Nikolsky's avatar
      Westend->Millau headers relay in deployments (#831) · 6dacb043
      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 53e04c4556f882d19e3af0fac581a926b8e0c167.
      
      * read dashboards from /etc/grafana/dashboards
      
      * stop comment
      6dacb043
  17. Mar 22, 2021
    • Hernando Castano's avatar
      Tunable Justification Generator (#835) · b7515afa
      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
      b7515afa