- Mar 16, 2021
-
-
Svyatoslav Nikolsky authored
-
Svyatoslav Nikolsky authored
* make finality verifier pallet instantiable * add second instance of finality verifier pallet to the Millau runtime * add Westend -> Millau headers relay * use wss to connect to public westend nodes * initialize with best_finalized_block * typo * Revert "initialize with best_finalized_block" This reverts commit 954ed283. * pass VoterSet by ref * new bridge initialization code * loop upper bound * Polkadot -> Westend * fixed tests compilation * default-features * assert
-
- Mar 12, 2021
-
-
Tomasz Drwięga authored
* Nest some crates. * Alter command execution to make it easier to add new bridges. * Rename sub-dirs. * cargo fmt --all * Address clippy. * Update relays/substrate/src/rialto_millau/cli.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 11, 2021
-
-
Svyatoslav Nikolsky authored
* more tests for finality relay * clippy * remove env_logger dep * fmt * more clippy * removed prune_unjustified_headers * review
-
- Mar 10, 2021
-
-
Hernando Castano authored
* Remove unused Config types from `pallet-finality-verifier` * Remove unused AncestryChecker trait * Remove ancestry proof parameter from relayer calls * Update docs to reflect current state of pallet * Remove mock ancestry checker * Remove unused error * Write headers outside of function used for authority set changes * Move justification verification into helper function * Add documentation suggestions Co-authored-by: Tomasz Drwięga <[email protected]> * Clean up module level documentation a bit Co-authored-by: Tomasz Drwięga <[email protected]>
-
Tomasz Drwięga authored
* Move chain primitives to a sub-folder. * Update workspace members. * Extract core parts of polkadot. * cargo fmt --all * Remove TODO. * cargo fmt --all * Fix crate names. * Add to the latest API. * cargo fmt --all * Add nested lock files to ignore (generated during cargo fmt) * Fix compilation. * cargo fmt --all * Fix ignore pattern. * Address review comments.
-
- Mar 09, 2021
-
-
Tomasz Drwięga authored
* Make Substrate deps uniform * Rest of the deps. * Fix broken merge. * Revert substrate. * Fix tests Co-authored-by: Pierre Krieger <[email protected]>
-
- Mar 08, 2021
-
-
Svyatoslav Nikolsky authored
* removed weight <-> fee mess * updated documentation Co-authored-by: Hernando Castano <[email protected]>
-
Svyatoslav Nikolsky authored
* finality proofs relay * SyncHeader::is_mandatory * empty ancestry proof * logs * fixed submit condition * fixed wrong split index * tick comment * recent_finality_proofs * basic finality loop tests * removed obsolete files * rename files in substrate relay * fmt * clippy * fixed TODOs * clippy * stop syncing if target node is out of sync * more clippy * more clippy * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Hernando Castano <[email protected]> * docs * moved doc * typo * Update relays/finality-relay/src/finality_loop_tests.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/finality-relay/src/finality_loop_tests.rs Co-authored-by: Hernando Castano <[email protected]> * header_and_finality_proof_by_number -> header_and_finality_proof * VecDeque isn't required (because of make_contiguous) * fixed wrong expect * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/substrate/src/rialto_headers_to_millau.rs Co-authored-by: Hernando Castano <[email protected]> * Update relays/substrate/src/rialto_headers_to_millau.rs Co-authored-by: Hernando Castano <[email protected]> * RialtoSyncHeader * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Tomasz Drwięga <[email protected]> * removed wrong comment * Update relays/finality-relay/src/finality_loop.rs Co-authored-by: Tomasz Drwięga <[email protected]> * fix used runtime methods names * fix for new jsonrpsee * fix comment * initialize finality verifier pallet * fmt Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Mar 04, 2021
-
-
Svyatoslav Nikolsky authored
* POC jsonrpsee v2 * POC update ws client * connect to eth nodes using ws * fix for subscriptions * reverted unncecessary changes * reference jsonrpsee from crates.io * fixed eth port in deployments * fmt * order deps * remove unnecessary comment * clone is no longer required for subscriptions * treat RpcError::Internal as connection error * resubscribe on terminate * Update deployments/bridges/poa-rialto/entrypoints/poa-exchange-tx-generator-entrypoint.sh Co-authored-by: Niklas Adolfsson <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 02, 2021
-
-
Tomasz Drwięga authored
* Bridge calls. * Allow encoding messages for both Rialto and Millua. * Add docs. * Display full extrinsics in debug. * cargo fmt --all * Use info instead of debug,. * Clarify units.
-
Tomasz Drwięga authored
* Add derivation support. * Add custom decoder for Accounts. * cargo fmt --all * Fix warn. * Fix articles. Co-authored-by: Hernando Castano <[email protected]>
-
- Mar 01, 2021
-
-
Tomasz Drwięga authored
* Adding call encoding. * Add message payload encoding. * Nicer output. * Add fee estimation. * cargo fmt --all * Split message payload encoding into separate command. * Use HexBytes. * cargo fmt --all * Fix compilation.
-
dependabot-preview[bot] authored
-
- Feb 28, 2021
-
-
Tomasz Drwięga authored
* Disable cache. * Fix tests. * Fix clippy? * cargo fmt --all
-
- Feb 27, 2021
-
-
Andreas Doerr authored
* Bump Substrate and Deps * silence clippy
-
- Feb 25, 2021
-
-
Tomasz Drwięga authored
-
- Feb 22, 2021
-
-
Svyatoslav Nikolsky authored
* generate large messages * consider headers sync lag when computing number of rewards in confirmation * more fixes * fix logs * fix warnings * do not wait until tx that has delivered nonces will be finalized before submitting other tx * tests for maximal weight/size * cleanup * cleanup * clippy * compilation * args for dispatch weight and remark size * ExplicitOrMaximal * clippy
-
- Feb 17, 2021
-
-
Tomasz Drwięga authored
-
Svyatoslav Nikolsky authored
* Revert "Pin Rust Nightly to 2020-12-17 (#652)" This reverts commit e54e6f7e. * fix clippy * clippy again * more clippy in test code * and new cargo fmt * another try
-
- Feb 16, 2021
-
-
Tomasz Drwięga authored
* Change CLI UX. * De-duplicate main. * De-duplicate send message. * Add more docs and extract functions. * Fix scripts. * cargo fmt --all * Add missing 'u'.
-
dependabot-preview[bot] authored
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.2 to 0.8.3. - [Release notes](https://github.com/env-logger-rs/env_logger/releases) - [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md) - [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
Tomasz Drwięga authored
* Bump substrate deps. * Bump scale. * Bump ethabi. * Remove inherent from aura. * Migrate to construct_runtime * cargo fmt --all
-
- Feb 15, 2021
-
-
Svyatoslav Nikolsky authored
* keep multiple latest confirmed nonces at source in messages relay * post-merge fix
-
- Feb 12, 2021
-
-
Svyatoslav Nikolsky authored
* fix max weight in relay + logging * removed duplicate info
-
- Feb 10, 2021
-
-
Svyatoslav Nikolsky authored
* fix broken message lane benchmarks * proof-size related benchmarks * impl Size for proof parameters * include proof weight into weight formula * left TODO * fixed proof size * WeightInfoExt::receive_messages_proof_weight * charge for extra message bytes delivery in send_message * removed default impl of WeightsInfoExt * moved weight formulas to WeightInfoExt * receive_messages_proof_outbound_lane_state_overhead is included twice in weight * typo * typo * fixed TODO * more asserts * started wotk on message-lane documentation * expected_extra_storage_proof_size() is actually expected in delivery confirmation tx * update README.md * ensure_able_to_receive_confirmation * test rialto message lane weights * removed TODO * removed unnecessary trait requirements * fixed arguments * fix compilation * decreased basic delivery tx weight * fmt * clippy * Update modules/message-lane/src/benchmarking.rs Co-authored-by: Hernando Castano <[email protected]> * structs * Update primitives/millau/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> * removed readme.md * removed obsolete trait bounds * Revert "removed readme.md" This reverts commit 50b7376a . * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * Update bin/runtime-common/src/messages.rs Co-authored-by: Tomasz Drwięga <[email protected]> * PreComputedSize Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
- Feb 09, 2021
-
-
dependabot-preview[bot] authored
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
-
- Feb 02, 2021
-
-
Svyatoslav Nikolsky authored
-
- Feb 01, 2021
-
-
dependabot-preview[bot] authored
-
- Jan 27, 2021
-
-
Svyatoslav Nikolsky authored
-
- Jan 26, 2021
-
-
Svyatoslav Nikolsky authored
* extract common parts of relay loops: begin * merge client impls * backoff in exchange loop * reconnect without clone
-
Andreas Doerr authored
* patch audit findings #42 * extend msg signature for substrate relay * signature verification test * make proof dependet on call_dispatch crate * silence clippy * revert deny exception * address code review * since it's not really a proof, call it digest
-
- Jan 25, 2021
-
-
Svyatoslav Nikolsky authored
* update weight-related parameters in relay * asserts + docs Co-authored-by: Hernando Castano <[email protected]>
-
- Jan 20, 2021
-
-
Svyatoslav Nikolsky authored
* fixed messages count check * explicit check of `messages_count` in the receive_messages_proof * change messages_count to be u32 * Update modules/message-lane/src/lib.rs Co-authored-by: Hernando Castano <[email protected]> Co-authored-by: Hernando Castano <[email protected]>
-
- Jan 19, 2021
-
-
dependabot-preview[bot] authored
-
- Jan 18, 2021
-
-
dependabot-preview[bot] authored
-
dependabot-preview[bot] authored
-
- Jan 15, 2021
-
-
Hernando Castano authored
* Move justification module to header-chain primitives crate * Get justification module compiling in new location * Get justification module tests compiling * Use justification code from `header-chain` crate Mostly compiles, having issues with std/test feature flags across crates. * Move some code around * Move justification tests to integration testing crate * Add `test-utils` crate * Remove tests and test-helper module from justification code * Use `test-utils` in Substrate bridge pallet tests * Remove `sp-keyring` related code from `pallet-substrate-bridge` * Remove `helpers` module from `pallet-substrate-bridge` * Add some documentation * Add more documentation * Fix typo Co-authored-by: Tomasz Drwięga <[email protected]> Co-authored-by: Tomasz Drwięga <[email protected]>
-
Svyatoslav Nikolsky authored
* do not refetch completion data instantly * clippy
-
- Jan 14, 2021
-
-
Svyatoslav Nikolsky authored
* reward confirmation relayer * Update modules/message-lane/src/instant_payments.rs Co-authored-by: Hernando Castano <[email protected]> * added some constants * pallet_balances * removed comment * fix typo Co-authored-by: Hernando Castano <[email protected]>
-