Closed DevUreak closed 1 week ago
Thank you. @DevUreak During the hardhat test, an error occurred when using tstore, and the test did not work properly. If the test is successful, please send me the code and I will check it.
I will fix it and let you know. thanks
@DevUreak Thank you. The above tests were run on the test-#48 branch.
An error occurred during testing in the test-#48 branch. It worked normally in Remix, but there seems to be a problem in the hardhat environment. There is no problem with tload(), but there seems to be a problem with tstore. @Zena-park
It hasn't been tested well and we don't have experience using it on mainnet yet, so we won't implement it this time. Thank you. @DevUreak
Describe the bug
Describe the bug and its behavior! You can reference the problematic code using links (internal-test-(2024.10) branch)
Storing storage uses high gas, Reentrancy-related locking functions perform unnecessary writes. This function is available from solidity 0.8.24, and it is easy to convert, so it would be good to consider.
Impact
The current version of the code is as follows :
I've previously written code specs like this (It can be of similar code spec) :
Exploit Scenario
No response
Recommendation
contracts/layer2/Layer2ManagerStorage.sol