go-ethereum/eth
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
..
catalyst (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
downloader style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
ethconfig feat: async ccc checker (#996) 2024-08-23 11:04:12 +03:00
fetcher feat: add more metrics to investigate tx broadcast issue (#1007) 2024-08-27 23:03:26 +02:00
filters feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
gasprice feat: schedule DarwinV2 (#1002) 2024-08-26 16:15:56 +02:00
protocols fix(metrics): fix tx broadcast investigation metrics again (#1012) 2024-08-28 20:17:49 +10:00
tracers feat(rpc): add getTxByTxTrace api, used for ccc testing & debugging (#1026) 2024-09-06 23:22:47 +08:00
api.go feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
api_backend.go feat: allow removing txns from pool via CLI/RPC (#1041) 2024-09-16 13:56:11 +03:00
api_test.go core, trie, eth, cmd: rework preimage store (#205) 2023-02-10 15:26:57 +08:00
backend.go feat: allow changing L1 synced height via admin RPC/CLI (#1044) 2024-09-25 03:18:37 +08:00
bloombits.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
discovery.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler.go feat: add more metrics to investigate tx broadcast issue (#1007) 2024-08-27 23:03:26 +02:00
handler_eth.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_eth_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
handler_snap.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
handler_test.go feat(clique): allow shadowforking a clique network (#828) 2024-08-01 12:11:00 +03:00
peer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
peerset.go feat(clique): allow shadowforking a clique network (#828) 2024-08-01 12:11:00 +03:00
state_accessor.go feat: update L1 data fee in Curie hard fork (#755) 2024-05-28 14:12:39 +02:00
sync.go feat(clique): allow shadowforking a clique network (#828) 2024-08-01 12:11:00 +03:00
sync_test.go feat: Sync and relay L1 messages (#350) 2023-06-07 07:24:19 -07:00