Skip to content

Commit

Permalink
Update EIP-7201: Simplify Solidity reference implementation
Browse files Browse the repository at this point in the history
Merged by EIP-Bot.
  • Loading branch information
frangio authored Jul 6, 2023
1 parent 2563237 commit d1bfeb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions EIPS/eip-7201.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ contract Example {
0x183a6125c38840424c4a85fa12bab2ab606c4b6d0e7cc73c0c06ba5300eab5da;
function _getMainStorage() private pure returns (MainStorage storage $) {
bytes32 location = MAIN_STORAGE_LOCATION;
assembly {
$.slot := location
$.slot := MAIN_STORAGE_LOCATION
}
}
Expand Down

0 comments on commit d1bfeb5

Please sign in to comment.