From 1e36938eecc10a836bfd17766653bf33de6fbe1a Mon Sep 17 00:00:00 2001 From: Amirul Ashraf Date: Mon, 20 May 2024 15:22:59 +0800 Subject: [PATCH] Fix missed address and chunk per proof --- p2p/proto/snapshot.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/p2p/proto/snapshot.proto b/p2p/proto/snapshot.proto index a4f1863..b1caf4d 100644 --- a/p2p/proto/snapshot.proto +++ b/p2p/proto/snapshot.proto @@ -87,6 +87,7 @@ message StorageLeafQuery { message StorageRangeQuery { StorageLeafQuery start = 1; StorageLeafQuery end = 2; + Address address = 3; } // result is (ContractStorageRange+, PatriciaRangeProof)* @@ -94,6 +95,7 @@ message ContractStorageRequest { uint32 domain = 1; // volition Hash state_root = 2; repeated StorageRangeQuery query = 3; + uint32 chunks_per_proof = 4; // how many ContractStorage items to send before sending a proof } message ContractStorage {