You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the Nairobi upgrade that gas costs for manager operations change, for reveal op changes per different addresses (pr #2447) and the rest of the operations is less by 10 times regardless of addresses.
Bakers are incentivized to include operations with a high fee to gas limit ratio, would be best that we can keep our gas limit estimation only slightly more than it's actual consumption.
The text was updated successfully, but these errors were encountered:
hui-an-yang
changed the title
Optimize gas estimation for manager operations
Optimize gas and storage estimation for manager operations
Oct 3, 2023
* refactor: (incompleted) slight refactoring with logging
* refactor: storageLImit and gasLImit optimization
re #2532
* fix: purged DEFAULT_FEE and DEFAULT_GAS_LIMIT and updated getRevealGasLimit ratio
* style: removed unneeded comments
* fix: increase gasLimit ratio to fix permit ci tests
* perf: optimized all single manager operations
re #2532
* fix: fine tune fee and gasLImit ratio to fix ci test fails
* refactor: refactored to use less magic number and better naming also fix ci fails
* test: updated ci assertion and deprecated old constants
* perf: replace magic number 166 with half of reveal opSize
* test: integration test estimation assertion changes
* fix: typo fix a bug
* test: updated estimation test after fixing typo bug
* test: test: updated estimation test
* feat: adding stub signature for talentNet compatibility for simulate_operation rpc
* fix: merge conflicts mistake
* refactor: address comment removed getRevealFeeInternal in favour of getRevealFee
With the Nairobi upgrade that gas costs for manager operations change, for reveal op changes per different addresses (pr #2447) and the rest of the operations is less by 10 times regardless of addresses.
Bakers are incentivized to include operations with a high fee to gas limit ratio, would be best that we can keep our gas limit estimation only slightly more than it's actual consumption.
The text was updated successfully, but these errors were encountered: