go-ethereum/internal
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
..
build Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
cmdtest style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
debug refactor: remove unused storage traces (#819) 2024-06-14 15:02:00 +03:00
ethapi feat: allow removing txns from pool via CLI/RPC (#1041) 2024-09-16 13:56:11 +03:00
flags Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
guide Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
jsre fix: include L1MessageTx fields in transaction RPC result (#375) 2023-06-30 15:52:57 +02:00
syncx core: improve shutdown synchronization in BlockChain (#22853) 2021-10-07 15:47:50 +02:00
testlog Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
utesting refactor: remove unused storage traces (#819) 2024-06-14 15:02:00 +03:00
web3ext feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00