Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xVolosnikov committed Aug 22, 2024
1 parent 3448f6d commit 19f0e0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-contracts/contracts/EvmGasManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ contract EvmGasManager {

function isSlotWarm(uint256 _slot) external view returns (bool isWarm) {
uint256 prefix = IS_SLOT_WARM_PREFIX | uint256(uint160(msg.sender));
uint256 transient_slot;
assembly {
mstore(0, prefix)
mstore(0x20, _slot)
Expand Down

0 comments on commit 19f0e0d

Please sign in to comment.