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 Jun 5, 2024
1 parent 87a52db commit 7106f85
Show file tree
Hide file tree
Showing 28 changed files with 762 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 7106f85

Please sign in to comment.