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
{{ message }}
This repository was archived by the owner on Apr 11, 2021. It is now read-only.
Sequencer Fee Pricing Part 2: Electric Boogaloo: Override EstimateGas to take data price into account (#273)
* fix: add nil check when estimating gas to avoid panic during contract creation
* fix: revert DoEstimateGas changes introduced as a temp fix in #22
* Tweak fudge factor for Geth gas estimation (#292)
* experimenting with gas fudge factor
* fix formatting
* try using 1m gas constant
* Add log statement for the gas estimate
* Add more detail to gas estimate log
* one more log edit
* Try new formula
* Bump base gas
* Even more base gas
* even more
* Just 1m?
* one more time
* Final cleanup
* Minor fix
* Update internal/ethapi/api.go
* don't use cap-1
* Make sure data is not nil
Co-authored-by: Karl Floersch <[email protected]>
* feat(api): make eth_gasPrice always return 1 gwei
* feat: overload estimateGas to return the data+execution fee
* feat: implement static L1 Gas Price oracle
* feat: allow configuring the L1GasPrice via CLI at node startup
* feat: allow configuring the L1GasPrice remotely over a new private RPC namespace
* Sequencer Fee Pricing Part 3, feat: Pull L1Gasprice from the Data Service (#277)
* feat: pull L1GasPrice from the data transport service
* refactor: split out single-iteration of sequencer loop
* test(sync-service): ensure L1GasPrice is set correctly
* chore: gofmt
* fix: parse json response as string and test
* chore: expose L1Gpo in the sync service
* refactor: create helper function for calculating the rollup fee
* docs: add doc for rollup tx size constant
* chore(console_test): add rollup_personal to test
* chore: remove empty line
* chore: adjust review comments
* do not cast gasUsed
* adjust comment on GasPrice method
* add nil check for args.Data
* log gas price changes in the sync service
* chore: re-order imports
* fix: skip txpool max gas check for rollup txs
Security Question: does this introduce a DoS vector?
* chore: debug log
* fix(rollup_fee): normalize charged gas by the charged gas price
* remove intrinsic gas checks
* move intrinsic gas check behind non-ovm codepath
* remove fudging code
* fix wrong gas limit
Co-authored-by: Ben Jones <[email protected]>
Co-authored-by: smartcontracts <[email protected]>
Co-authored-by: Karl Floersch <[email protected]>
0 commit comments