go-ethereum/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
..
bindings.go feat: Update Sepolia genesis (#449) 2023-08-06 19:25:10 +02:00
bridge_client.go fix: ensure L1 messages are stored in db consistently (#679) 2024-03-26 14:02:03 +00:00
sync_service.go feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
types.go feat(rollup): add fallback if TransactionByHash fails in getting commitBatch calldata (#601) 2023-12-18 14:51:46 +01:00