Bounty

go-ethereum: eth_getFilterChanges returns empty output

ethereum
Apply Now →
Chain
Ethereum

Description

#### System information Geth version: ``` Geth Version: 1.13.5-stable Git Commit: 916d6a441a866cb618ae826c220866de118899f7 Architecture: amd64 Go Version: go1.21.4 Operating System: linux GOPATH= GOROOT= ``` CL client & version: none OS & Version: Linux 6.6.11-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 10 19:25:59 UTC 2024 x86_64 GNU/Linux #### Expected behaviour A local Clique node returns old logs when queried with `eth_newFilter` + `eth_getFilterChanges` #### Actual behaviour When the logs are queried right after emitted they are available, a bit after they are no longer available, meaning, creating the filter and requesting filter changes ~60s after the events were emitted. #### Steps to reproduce the behaviour Run a local geth node with this genesis file: ``` { "config": { "chainId": 31337, "homesteadBlock": 0, "eip150Block": 0, "eip155Block": 0, "eip158Block": 0, "byzantiumBlock": 0, "constantinopleBlock": 0, "petersburgBlock": 0, "istanbulBlock": 0, "berlinBlock": 0, "londonBlock": 0, "clique": { "period": 2, "epoch": 30000 } }, "alloc": { "0x7d4454490AfA139d89042247DE811c2B0d7aCDF2": { "balance": "100000000000000000000000000" }, "0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266": { "balance": "100000000000000000000000000" }, "0x70997970C51812dc3A010C7d01b50e0d17dc79C8": { "balance": "100000000000000000000000000" }, "0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC": { "balance": "100000000000000000000000000" } }, "coinbase": "0x0000000000000000000000000000000000000000", "difficulty": "0x20000", "extraData": "0x00000000000000000000000000000000000000000000000000000000000000007d4454490AfA139d89042247DE811c2B0d7aCDF20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "gasLimit": "0x1fffffffffffff", "nonce": "0x0000000000000042", "mix

Required Skills

Not specified
Apply Now → ← Back to all opportunities
✓ Link copied!