-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(protocol): ProverPool gas optimizations #14062
Conversation
Please run
|
@dantaik applied some extra optimizations - and get rid of the calcWeight always on-the-fly (during Here we are now: So far this is 15% on Other / next steps could be like data packing (as you did with Prover). |
@@ -147,6 +147,7 @@ library TaikoData { | |||
mapping(bytes32 txListHash => TxListInfo) txListInfo; | |||
mapping(uint256 depositId_mode_ethDepositRingBufferSize => uint256) | |||
ethDeposits; | |||
mapping(address account => uint256 balance) taikoTokenBalances; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__gap should be changed to 42
I created a draft explanation document about ProverPool2.sol. |
Before optimization, gas test of the ProoverPool: