- Apr 10, 2024
-
-
* fix max weight in relay + logging * removed duplicate info
-
-
* 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 50b7376a41687a94c27bf77565434be153f87ca1. * 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]>
-
* Make AncestryProof type more flexible * Only import single finalized header instead of a chain * Fix unchecked header import tests * Add option for limiting ancestry proof size * Update finality verifier Config in runtimes * Update some documentation * Fix Clippy warning * Allow AncestryChecker to return proof size Stops us from abusing the `Size` trait * Remove Size impl for Vec<T> * Remove size contraints for ancestry proofs With different proof types its unclear how to "size" should be interpreted, so we remove this requirement all together to avoid confusion.
-
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>
-
-
* Add some logging to the finality verifier pallet * Add finality target to happy path log
-
* Add Finality Verifier pallet to runtimes * Implement simple ancestry checker * Use the new checker in runtimes * Remove unused import warning * Bump max allowed ancestry proof size * Add a few optimization suggestions when verifying ancestry * Use session length as upper bound for ancestry proof size * Remove unused time units
-
* fixed call encoding in signature digets * udpated test
-
* Add test for invalid set id. * cargo fmt --all * Update modules/finality-verifier/src/lib.rs Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
-
-
* pre-dispatch call filter * swap filter <-> weight * clippy * fmt
-
-
-
* fix benchmakrs + proof-size related benchmarks * Update modules/message-lane/src/benchmarking.rs Co-authored-by:
Hernando Castano <[email protected]> Co-authored-by:
Hernando Castano <[email protected]>
-
* Bump Substrate to commit `0b0d124d5` * Get Millau node compiling * Get Rialto node compiling * Increase account reference count before test * Fix Clippy warnings for Millau node * Fix Clippy warnings for Rialto node * Trigger build. Co-authored-by:
Tomasz Drwięga <[email protected]>
-
* Use more unique prefix when generating account IDs * Update derived addresses used in tests * Make `account` prefix more unique Co-authored-by:
Tomasz Drwięga <[email protected]> * Update test account IDs again Co-authored-by:
Tomasz Drwięga <[email protected]>
-
* Add method for unchecked header imports * Update docs for importing unchecked headers * Import unchecked headers in HeaderChain implementation * Fix Clippy warnings * Move unchecked header import out of Verifier struct * Clean up unchecked import tests * Change HeaderChain API to accept iterator of headers * Use chains of headers in tests * Remove unused Result return type when appending finalized headers * Add test which shows that genesis changes are not enacted * Use initial header's hash for unchecked authority set changes * Appease Clippy * Check ancestry before making unchecked writes * Fix typo * Fix Clippy warning * Add note about `ancestry_proof` structure * Use best hash storage item directly Co-authored-by:
Svyatoslav Nikolsky <[email protected]>
-
-
* extract common parts of relay loops: begin * merge client impls * backoff in exchange loop * reconnect without clone
-
* 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
-
* emit dispatch message when whole message (payload) has invalid encoding * DispatchMessage::dispatch accepts Result
-
-
* update weight-related parameters in relay * asserts + docs Co-authored-by:
Hernando Castano <[email protected]>
-
* Get pallet compiling with FRAME v2 * Get tests compiling * Stop printing metadata in tests * Remove more metadata related code * Remove unecessary storage attribute
-
* Add skeleton for `pallet-finality-verifier` * Sketch out implementation for importing finality proofs * Get pallet compiling * Introduce skeleton for mock runtime * Start using real Grandpa types in finality pallet * Redefine types in header chain primitives crate * Implement HeaderChain for Substrate bridge pallet * Plug Substrate Bridge Pallet into verifier mock * Fix compilation of `header-chain` primitives * Start writing to base pallet storage * Add first "cross-pallet" test * Move keyring primitives used in tests to shared crate * Stop pulling `std` deps into `no_std` builds * Revert "Stop pulling `std` deps into `no_std` builds" This reverts commit f74dd660652f98b7336936d1534a4e63cc9169a5. * Revert "Move keyring primitives used in tests to shared crate" This reverts commit b774fa730b2cdc40545afff308a66b0840266001. * Use new SS58Prefix type in mock * Start using `bp-test-utils` in finality pallet * Start using real justification code * Get a test working with real justification verification * Add basic tests for invalid proofs * Get rid of AncestryProof config type * Add error types to transaction outcome * Bound number of headers allowed in a single ancestry proof * Disallow invalid authority sets * Remove unused items * Add some documentation * Get rid of Clippy warnings * Rename BaseHeaderChain to TransactionVerifier * Remove unused code * Make dummy trait implementations more generic * Fix more Clippy complaints * Update tests to use fix for duplicate headers * Fix benchmarking compilation * Rename TransactionVerifier to InclusionProofVerifier
-
-
-
* message fee formula * update GetDelvieryConfirmationTransactionFee * include cost of transactions (i.e. not only dispatch cost) in delivery_and_dispatch_fee * endow relayers fund account * include db ops weight in max tx weight estimation * (in bytes) Co-authored-by:
Hernando Castano <[email protected]>
-
* 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]>
-
* Add test proving bug * Add checks for duplicate headers * Fix Clippy error
-
-
-
-
-
* 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]>
-
-
* do not refetch completion data instantly * clippy
-
* 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]>
-