Skip to content

为 EVM WebSocket 监听增加断线补扫能力 - #84

Open
Yufeifeio wants to merge 1 commit into
GMWalletApp:masterfrom
Yufeifeio:fix/evm-ws-backfill
Open

为 EVM WebSocket 监听增加断线补扫能力#84
Yufeifeio wants to merge 1 commit into
GMWalletApp:masterfrom
Yufeifeio:fix/evm-ws-backfill

Conversation

@Yufeifeio

@Yufeifeio Yufeifeio commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Closes #83

变更内容

  • 为 EVM 链增加按网络持久化的补扫游标
  • WebSocket 重连后,先用 FilterLogs 按区间补扫缺失区块,再恢复实时订阅
  • 将公共补扫流程接入 Ethereum、Binance、Polygon、Plasma 监听器
  • 补充补扫游标和区间回放测试

测试

  • go test -vet=off ./task
  • go test -vet=off ./model/service

@Yufeifeio Yufeifeio changed the title Add EVM log backfill on websocket reconnect 为 EVM WebSocket 监听增加断线补扫能力 Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EVM WebSocket 监听在断线 / 限流 / 节点切换后没有区块补扫,存在漏单风险

1 participant