Get storage API, with storage leaf CID and raw IPLD block.

This commit is contained in:
Ashwin Phatak
2021-06-28 12:51:35 +05:30
committed by Arijit Das
parent b90fcb53e6
commit a284a566d5
4 changed files with 59 additions and 13 deletions
+1 -1
View File
@@ -767,7 +767,7 @@ func (b *Backend) GetStorageByHash(ctx context.Context, address common.Address,
return nil, err
}
_, storageRlp, err := b.IPLDRetriever.RetrieveStorageAtByAddressAndStorageSlotAndBlockHash(address, key, hash)
_, _, storageRlp, err := b.IPLDRetriever.RetrieveStorageAtByAddressAndStorageSlotAndBlockHash(address, key, hash)
return storageRlp, err
}