Comments (7)
I've deduced that the cache TTL is ~1second
from node.
having a similar problem myself
from node.
@Daniel-K-Ivanov can you share your full curl? I'm not seeing any response for that request:
REQUEST='{
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
"0xb6f147a87ce210648e341569b61a132e02990653",
[
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56d"
],
"0x5ec534"
],
"id": 0
}'
curl -d '$REQUEST' -H "Content-Type: application/json" https://goerli.base.org
{"jsonrpc":"2.0","id":0,"error":{"code":-32000,"message":"header not found"}}
https://goerli.basescan.org/address/0xb6f147a87ce210648e341569b61a132e02990653 not seeing anything on this account
from node.
@Daniel-K-Ivanov can you share your full curl? I'm not seeing any response for that request:
REQUEST='{ "jsonrpc": "2.0", "method": "eth_getProof", "params": [ "0xb6f147a87ce210648e341569b61a132e02990653", [ "0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56d" ], "0x5ec534" ], "id": 0 }' curl -d '$REQUEST' -H "Content-Type: application/json" https://goerli.base.org
{"jsonrpc":"2.0","id":0,"error":{"code":-32000,"message":"header not found"}}
https://goerli.basescan.org/address/0xb6f147a87ce210648e341569b61a132e02990653 not seeing anything on this account
Yes, sorry. I've passed the wrong CURL request (targeting Optimism Goerli State). Here is the proper JSON for Base:
{
"jsonrpc": "2.0",
"method": "eth_getProof",
"params": [
"0xf904d6c85bacd4d0f4c3c60f170d5052111d5c54",
[
"0x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e56d"
],
"0x1d70ef"
],
"id": 0
}
Keep in mind that if you execute the request now you will get a proper value populated in the result.storageProof[0].value
field. The issue can be reproduced by:
- Start with an empty storage slot
- Run queries for getting proof of the storage and checking what the
value
property is for the storage proof. It will start with0x0
- Execute a transaction that manipulates the storage slot and changes the value
- Notice that the queries for the storage value are persisting to return
0x0
instead of returning the changed value from step3
from node.
@Daniel-K-Ivanov Do you see the same behavior from optimism goerli nodes or does this seem specific to Base?
And since the third argument is a fixed block number, wouldn't you expect the returned value to remain unchanging? Or do you see the same behavior when you provide "latest" instead?
from node.
@Daniel-K-Ivanov Do you see the same behaviour from optimism goerli nodes or does this seem specific to Base?
And since the third argument is a fixed block number, wouldn't you expect the returned value to remain unchanging? Or do you see the same behaviour when you provide "latest" instead?
- I see this behaviour only for Base Goerli. Optimism Goerli is working fine and the storage value is not being cached there.
- My application submits a TX to a contract on Base Goerli, which stores
bytes32
in an array. Several minutes after the Transaction is processed (mined), I am querying foreth_getProof
targeting theL2 block number
in which the transaction was accepted. In some cases the returnedvalue
for the storage slot is0x0
even after querying several times in 3-second intervals. In others, the returnedvalue
for the storage slot is the correct one.
I've tried using the public endpoint and a dedicated endpoint from QuickNode in both of which the issue is reproducing.
In the coming days, I might have more information/details of the problem and potentially isolate it better. I will update you if that is the case.
from node.
I managed to resolve the issue. The problem was on my side and more specifically, the blockNumber
that I was specifying at which eth_getProof
to be executed was wrong.
I am closing the issue
from node.
Related Issues (20)
- Snapshots? HOT 1
- Node version reporting as 0.1.0 although running 0.3.0 HOT 6
- Node cannot start: `Derivation process temporary error` HOT 6
- Txpool Question HOT 2
- Problems lauching node HOT 2
- I have problem to revoke from node dapp defi and more
- wallet keep issue transaction would cause overdraft HOT 1
- Blocks don't arrive every 2 seconds and the block head is usually 30-40+ blocks behind network HOT 1
- Node run alternating between fast and slow
- Pending TX RPC not working HOT 1
- Geth-entrypoint custom settings ignored HOT 3
- sync speed
- start syncing from recent block HOT 1
- archive node HOT 1
- current sync not kept HOT 1
- [Base Testnet Archive] Not reaching the latest block height (opgeth) HOT 1
- Connection refused HOT 18
- Error when deploying a smart contract: cannot estimate gas; transaction may fail or may require manual gas limit HOT 1
- Response size should not greater than 2097152 bytes HOT 2
- How to resync the node ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.