go-ethereum/rollup
colin cf1ca84e0e
feat: allow changing L1 synced height via admin RPC/CLI (#1044)
* feat: allow changing L1 synced height via RPC/CLI

* chore: auto version bump [bot]

* fix typos

* add height validity check

* change implementation

* moved hotfix apis from ScrollAPI to PrivateAdminAPI

* change namespace from scroll to admin

* fix bugs

* add locks

* add a lock to protect latestProcessedBlock and db state

* revert some changes

* remove lock and use atomic in latestProcessedBlock

* fix CI

* tweak

* use cas in updating latestProcessedBlock

* renaming

* also update sync height in error paths

* fix a bug

* use mutex lock

---------

Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com>
2024-09-25 03:18:37 +08:00
..
ccc refactor: eliminate double re-execution in AsyncChecker (#1036) 2024-09-16 11:04:25 +03:00
fees fix: use correct encoding for L1 data fee of EIP2718 transactions (#793) 2024-06-03 16:24:03 +02:00
pipeline refactor: rename CCC package for less repetition (#967) 2024-08-09 08:21:14 +03:00
rcfg feat: update gas-oracle contract bytecode (#792) 2024-06-03 10:30:59 +02:00
rollup_sync_service feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
sync_service feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
tracing feat(rpc): add getTxByTxTrace api, used for ccc testing & debugging (#1026) 2024-09-06 23:22:47 +08:00
withdrawtrie feat(trace): add withdraw trie root (#217) 2023-02-16 10:18:47 +08:00