SLOAD (is the opcode used of read storage variable) cost 100 units of gas and MLOAD & MSTORE (are the opcodes used to read and write to memory respectivily) cost 3, 3 units of gas respectivily.
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Staking.sol#L65-L66
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Staking.sol#L85-L86
https://github.com/Cyfrin/2023-07-beedle/blob/main/src/Staking.sol#L92
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.