Skip to content

Commit

Permalink
Use compact proofs for messages delivery (#2155)
Browse files Browse the repository at this point in the history
* Define Chain::STATE_VERSION

* Add vec_db module

* Use VecDb instead of StorageProof for message delivery

* Make sure that the TrustedVecDb is sorted

* Address review comments

* Run benchmarks on parent commit

* Run benchmarks with new code

* Fix test

* Fix code review comments
  • Loading branch information
serban300 authored and bkontur committed May 23, 2024
1 parent 6a021c8 commit 31b377d
Show file tree
Hide file tree
Showing 28 changed files with 761 additions and 222 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ pub(crate) mod tests {
relayer_id_at_bridged_chain: relayer_account_at_bridged_chain(),
proof: FromBridgedChainMessagesProof {
bridged_header_hash: Default::default(),
storage_proof: vec![],
storage: Default::default(),
lane: TestLaneId::get(),
nonces_start: pallet_bridge_messages::InboundLanes::<TestRuntime>::get(
TEST_LANE_ID,
Expand Down
Loading

0 comments on commit 31b377d

Please sign in to comment.