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
feat(feynman): add new compression-aware rollup fee formula (#1196)
* Change l1DataFee to rollupFee for Feynman
* Update CommitScalarSlot to ExecScalarSlot
* Rename l1DataFee to rollupFee
* Scale compression ratio to match scalars precision
* Use l1DataFee and commitScalar instead of rollupFee and execScalar
* Use blocktime not blocknumber
* Add unit test
* Clarify test comment
* feat(feynman): upgrade gas oracle predeploy
* address comments
* revert renaming CalculateL1DataFee to CalculateRollupFee
* simplify EstimateL1DataFeeForMessage
* address comments
* add a comment based on pr reviews
* update formula
* tweaks
* tweak comments
* Estimate compression ratio at rollupFee for Feynman (#1197)
* Estimate compression ratio
* Update rollup/fees/rollup_fee.go
Co-authored-by: Péter Garamvölgyi <[email protected]>
* Check compressed size smaller and remove unnecessary checks/changes
* goimports locally run
* rollback format changes
* update da-codec's zstd function
* apply zstd
* tweaks
* tweak unit test
* make sure compression ratio >= 1
* nit
---------
Co-authored-by: Péter Garamvölgyi <[email protected]>
Co-authored-by: colinlyguo <[email protected]>
Co-authored-by: colin <[email protected]>
* refactoring
* remove incorrect merge artifact
* error handling
* update da-codec commit
* update da-codec commit
---------
Co-authored-by: Péter Garamvölgyi <[email protected]>
Co-authored-by: colin <[email protected]>
Co-authored-by: colinlyguo <[email protected]>
0 commit comments