colin
219b84e1af
fix(txpool): revert duplicated l1 data fee check ( #612 )
...
* Revert "fix(tx-pool): consider L1 data fee in validateTx"
This reverts commit 0a5c04b85d0f8b509542306894c03bd3feff65bd.
* simplify veriftfee
* bump version
* address comments
* keep the original behavior
* fix again
* nit
* tweak comments
2024-01-08 20:25:46 +08:00
HAOYUatHZ
833f9041bb
feat: improve balance check ( #607 )
...
* feat: improve balance check
* clean up
2023-12-26 00:09:41 +08:00
HAOYUatHZ
f055f50f9d
feat: update l1fee calculation ( #351 )
2023-06-13 10:57:59 +08:00
Péter Garamvölgyi
31b754e14b
Fix transaction DA cost under-estimation ( #332 )
...
* fix tx DA cost under-estimation
* bump version
---------
Co-authored-by: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com>
2023-05-24 14:22:54 +02:00
HAOYUatHZ
cfbb26922f
fix: improve "insufficient funds for l1fee" error msg ( #237 )
...
fix(l2geth): improve "insufficient funds for l1fee" error msg
2023-03-02 20:03:37 +08:00
HAOYUatHZ
4588569b63
feat: VerifyFee for sendTx and txpool.add ( #236 )
...
* init
* rework
* handle `LesApiBackend`
* fix tests
* add L1fee even for 0 gasPrice
* update comments
2023-03-02 16:38:43 +08:00
HAOYUatHZ
d91c8c799e
fix(l1fee): use int for CalculateL1Fee ( #231 )
...
* fix(l1fee): use floor for `mulByFloat`
* fix(l1fee): use int for `CalculateL1Fee`
* fix(l1fee): use int for `CalculateL1Fee`
* add `TestCalculateL1Fee` (#233 )
* update testcase
2023-02-24 09:25:49 +08:00
HAOYUatHZ
ec9254b0b1
feat: compute rollup gas price for StateTransition ( #209 )
...
* init
* more
* more
* add L1BlockContainerAddress
* finish
* add more comments
* rename `UsingSVM` to `UsingScroll`
* update logic
* refactor(rollup): add UsingScroll into ChainConfig
* update
* update comments
* fee=l2fee+l1fee (#221 )
add l1fee into calc
* improve
* format note content.
* feat(l1Fee): Add l1Fee in trace. (#223 )
* Add l1fee in trace.
* Delete comment.
---------
Co-authored-by: maskpp <maskpp266@gmail.com>
2023-02-20 16:28:43 +08:00