- Jun 18, 2021
-
-
Svyatoslav Nikolsky authored
* pay dispatch fee at target chain * refund unspent dispatch weight to messages relayer * test that transfer actually happens * pay-at-target-cchain benchmarks + fix previous benchmarks (invalid signature) * include/exclude pay-dispatch-fee weight from delivery_and_dispatch_fee/delivery tx cost * remvoe some redundant traces * enum DispatchFeePayment {} * typo * update docs * (revert removal of valid check) * Update modules/messages/src/benchmarking.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update modules/messages/src/benchmarking.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update modules/messages/src/benchmarking.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update modules/messages/src/benchmarking.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jun 17, 2021
-
-
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
-
- Jun 16, 2021
-
-
Svyatoslav Nikolsky authored
* introduce relayer mode enum * removed MaximalReward mode * TODO * Saturating -> SaturatingAdd * ref issue in TODOs * Update relays/messages/src/message_race_delivery.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Jun 14, 2021
-
-
Svyatoslav Nikolsky authored
* relayer balance guards in Rococo <> Wococo * removed printlns * update constant * update constant * start balance guard for Wococo -> Rococo * Update relays/bin-substrate/src/chains/wococo_headers_to_rococo.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/bin-substrate/src/chains/wococo_headers_to_rococo.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jun 07, 2021
-
-
Hernando Castano authored
* Bump Substrate to commit `0495ead4` * Derive MaxEncodedLen for MillauHash * Add new config params to Balances pallet * Update Millau and Rialto service files * Add new Config items to mock runtime * Bump Substrate to `37bb3ae7` * Update Aura worker params
-
Svyatoslav Nikolsky authored
* flag for rejecting all outbound messages * update weights * Revert "update weights" This reverts commit 992b866e. * Revert "flag for rejecting all outbound messages" This reverts commit d094964b . * OperatingMode * Update modules/messages/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * Poke CI * RustFmt Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- May 31, 2021
-
-
Svyatoslav Nikolsky authored
* custom justification verification * is_ancestor -> ensure_descendant * PrecommitIsNotCommitDescendant * Update primitives/header-chain/src/justification.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- May 26, 2021
-
-
Svyatoslav Nikolsky authored
* always run on-demand headers relay in complex relay * fix compilation
-
- May 25, 2021
-
-
Svyatoslav Nikolsky authored
-
- May 20, 2021
-
-
Dan Shields authored
* revert to use InspectCmd * rust toolchain 1.52 * Bump `finality-grandpa` and `parity-scale-codec` * bump to same version for substrate as polkadot v0.9.1 * bump to polkadot 0.9.2 deps for substrate `6bef4f4` Co-authored-by: Hernando Castano <[email protected]>
-
- May 19, 2021
-
-
Hernando Castano authored
-
- May 18, 2021
-
-
Svyatoslav Nikolsky authored
-
- May 04, 2021
-
-
Hernando Castano authored
* Bump Substrate to commit `b094edafd1cd5d26e49ecbf92b0ce7553cfad717` * Remove unsafe random seed method See: https://github.com/paritytech/substrate/pull/8718 * Update Subkey syntax See: https://github.com/paritytech/substrate/pull/8678
-
- May 03, 2021
-
-
Hernando Castano authored
-
Hernando Castano authored
* Bump Substrate to commit `0856e0729c5f9cd5d398b93680ab154fe486e588` * Update service to use new inherent data client Relevant Substrate PR: https://github.com/paritytech/substrate/pull/8526 * Appease Clippy
-
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
-
- Apr 29, 2021
-
-
Hernando Castano authored
* Add Wococo primitives crate * Add more Wococo boilerplate code * Add CLI support for initializing the Wococo<>Rococo bridge * Add support for relaying headers between Rococo and Wococo * Fix test * RustFmt * Fix compilation issues related to enum naming * Bump Rococo `spec_version` * Remove stray Westend references
-
- Apr 27, 2021
-
-
Hernando Castano authored
* Bump Substrate to `0856e072` * Fix compilation errors
-
Svyatoslav Nikolsky authored
-
- Apr 22, 2021
-
-
Tomasz Drwięga authored
* Add properties to chainspec. * Update bin/millau/node/src/chain_spec.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Apr 20, 2021
-
-
Niklas Adolfsson authored
* update jsonrpsee to 0.2.0-alpha.5 * cargo fmt
-
Svyatoslav Nikolsky authored
* (temporarily) switch to jsonrpsee master * removed param used for tests
-
- Apr 19, 2021
-
-
Hernando Castano authored
-
- Apr 15, 2021
-
-
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: Tomasz Drwięga <[email protected]>
-
- Apr 14, 2021
-
-
Svyatoslav Nikolsky authored
* use Substrate state_getReadProof method instead of pallet-bridge-messages-rpc * Fix typo Co-authored-by: Hernando Castano <[email protected]>
-
- Apr 13, 2021
-
-
Tomasz Drwięga authored
* Support moar validators. * Update weights script. * Use correct type for benchmarking accounts * Use package name instead of manifest path Co-authored-by: Hernando Castano <[email protected]>
-
Tomasz Drwięga authored
* Send Message WiP * It compiles. * Add tests. * Use common macro. * Nicer balance display. * Get rid of redundant send_message_call function. * Fix clippy. Co-authored-by: Svyatoslav Nikolsky <[email protected]>
-
- Apr 12, 2021
-
-
Hernando Castano authored
* Bump `jsonrpsee` to `alpha.3` * Arc-ify `WsClient`
-
- Apr 07, 2021
-
-
Hernando Castano authored
* Copy-Pasta Call code from mock Rococo to mock Westend runtime * Update Westend client to include signing and call related code * Add missing part of license header * Move `account_info_storage_key` to `polkadot-core` crate
-
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
-
- Apr 06, 2021
-
-
Hernando Castano authored
* Remove `pallet-substrate-bridge` * Fix transfer call encoding test Co-authored-by: Tomasz Drwięga <[email protected]>
-
Svyatoslav Nikolsky authored
* administrative metrics * fmt * fix compilation * fix compilation again * and another one * remove GenericLoopMetrics * chttp -> isahc * remove redundant marker * not about price metrics * fmt
-
- Apr 01, 2021
-
-
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
-
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.
-
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: Hernando Castano <[email protected]> * Fix copyright. * Add issue numbers. * More todos. * Update comments. Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 25, 2021
-
-
Tomasz Drwięga authored
* Implement fake rococo runtime. * Generate correct storage key. * cargo fmt --all * Move client-rococo. * Satisfy clippy. * Apply suggestions from code review Co-authored-by: Hernando Castano <[email protected]> * Address review comments. * Clippy again. Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 23, 2021
-
-
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
-
Tomasz Drwięga authored
* Remove chains. * Move relay clients. * Flatten generic. * Fix fmt.
-
- Mar 22, 2021
-
-
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
-
- Mar 18, 2021
-
-
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
-