Skip to content

Commit

Permalink
EIP-152: Fix reference test
Browse files Browse the repository at this point in the history
The solidity example with the reference test of https://datatracker.ietf.org/doc/html/rfc7693#appendix-A is at least confusing because it declares values of type `bytes8` using a literal of length of 4 bytes.
  • Loading branch information
chfast authored Apr 4, 2024
1 parent 8f43e4c commit 8da81ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EIPS/eip-152.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function callF() public view returns (bytes32[2] memory) {
m[3] = hex"0000000000000000000000000000000000000000000000000000000000000000";
bytes8[2] memory t;
t[0] = hex"03000000";
t[1] = hex"00000000";
t[0] = hex"0300000000000000";
t[1] = hex"0000000000000000";
bool f = true;
Expand Down

0 comments on commit 8da81ce

Please sign in to comment.