- Jul 28, 2021
-
-
https://github.com/paritytech/polkadot/pull/3507thiolliere authored
* better test * fmt Co-authored-by: Svyatoslav Nikolsky <[email protected]>
-
- Jul 22, 2021
-
-
Svyatoslav Nikolsky authored
-
- Jul 12, 2021
-
-
Svyatoslav Nikolsky authored
-
- Jul 05, 2021
-
-
Svyatoslav Nikolsky authored
* confirm delivery detects when more than expected messages are confirmed * fix benchmarks compilation
-
- Jul 02, 2021
-
-
Svyatoslav Nikolsky authored
* pre and post dispatch weights of OnDeliveryConfirmed callback * Update modules/messages/README.md Co-authored-by: Tomasz Drwięga <[email protected]> * clippy + compilation * fix test issue from parallel PR Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jun 25, 2021
-
-
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
-
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: Hernando Castano <[email protected]>
-
- Jun 24, 2021
-
- Jun 22, 2021
-
-
kaichao authored
* Allow Root to assume SourceAccount. * fmt code
-
- Jun 21, 2021
-
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* relay dispatch result flags back to the source chain * OnMessagesDelivered callback * add lane id to OnDeliveredMessages callback * fix benchmarks && upate weights * clippy * clippy * clipy another try * OnMessagesDelivered -> OnDeliveryConfirmed * Update primitives/messages/src/source_chain.rs Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- 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 14, 2021
-
-
Svyatoslav Nikolsky authored
Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Jun 08, 2021
-
-
Svyatoslav Nikolsky authored
* fix clippy issues * clippy + tests * more clippy Co-authored-by: adoerr <[email protected]>
-
Svyatoslav Nikolsky authored
-
- 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
* updated weight formula for submit_finality_proof * remove common prefix traces * update docs * single benchmark * Re-generate weights. * Update delivery transaction limits Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
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]>
-
- Jun 02, 2021
-
-
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. ...
-
- May 13, 2021
-
-
Svyatoslav Nikolsky authored
-
- May 03, 2021
-
-
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
-
-
Tomasz Waszczyk authored
* feat(config): add backbone configuration of cargo-spellcheck * feat(config): try to narrow a source code to analysis * feat(config): try to narrow a source code to analysis via find command * Update .github/workflows/lint.yml ;-) Co-authored-by: Hernando Castano <[email protected]> * Update .github/workflows/lint.yml Co-authored-by: Hernando Castano <[email protected]> * Use bash. * Fix spelling. Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Apr 28, 2021
-
-
Svyatoslav Nikolsky authored
-
- Apr 23, 2021
-
-
Tomasz Drwięga authored
-
- Apr 22, 2021
-
-
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.
-
- Apr 15, 2021
-
-
Tomasz Drwięga authored
* New weights. * Fix test. * cargo fmt --all
-
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
* Pruning. * Add tests. * Address review.
-
- Apr 07, 2021
-
-
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]>
-
Hernando Castano authored
* Update copyright date to 2021 * Bump date in license header template
-
- Apr 05, 2021
-
-
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
-
- 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.
-
- Mar 24, 2021
-
-
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
-
- 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.
-