go-ethereum/rollup/rollup_sync_service
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
..
testdata fix(rollup-verifier): decode commitBatchWithBlobProof calldata (#896) 2024-07-13 00:37:31 +08:00
abi.go fix(rollup-verifier): decode commitBatchWithBlobProof calldata (#896) 2024-07-13 00:37:31 +08:00
abi_test.go feat(rollup): sync finalized batches from L1 (#515) 2023-10-28 06:29:31 +08:00
l1client.go feat(rollup-verifier): support codecv1 (#678) 2024-04-04 18:52:23 +08:00
l1client_test.go fix(rollup-verifier): decode commitBatchWithBlobProof calldata (#896) 2024-07-13 00:37:31 +08:00
rollup_sync_service.go feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
rollup_sync_service_test.go feat(rollup-verifier): codecv4 (#991) 2024-08-23 14:50:08 +08:00