Skip to content

Commit

Permalink
Update LibTrieProof.t.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Feb 13, 2024
1 parent 1ff27a5 commit 58895f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/protocol/test/libs/LibTrieProof.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ contract TestLibTrieProof is TaikoTest {
storageProof[0] =
hex"e3a1209749684f52b5c0717a7ca78127fb56043d637d81763c04e9d30ba4d4746d56e901";

vm.expectRevert();
LibTrieProof.verifyMerkleProof(
stateRoot, randAddress(), slot, hex"01", accountProof, storageProof
);

bytes32 storageRoot = LibTrieProof.verifyMerkleProof(
stateRoot, addr, slot, hex"01", accountProof, storageProof
);
Expand Down

0 comments on commit 58895f9

Please sign in to comment.