core/chains/evm/client: eth_call: include duplicate legacy field for compatability#12140
core/chains/evm/client: eth_call: include duplicate legacy field for compatability#12140
Conversation
|
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
98d9a74 to
70e9296
Compare
core/chains/evm/client/rpc_client.go
Outdated
There was a problem hiding this comment.
This is interesting - so geth included these before and has now removed it in the latest version. Is that correct?
There was a problem hiding this comment.
This is indeed nonstandard: https://ethereum.org/en/developers/docs/apis/json-rpc#eth_call
There was a problem hiding this comment.
The server for a long time has accepted both (>6 years?), and they recently switched the client from data to input.
core/chains/evm/client/rpc_client.go
Outdated
There was a problem hiding this comment.
What commit sha of go-ethereum was this copied from?
There was a problem hiding this comment.
The one that is imported in the go.mod
2a1126e to
f83f128
Compare
core/chains/evm/client/rpc_client.go
Outdated
There was a problem hiding this comment.
@jmank88 ethereum recently updated this function to and added extra fields, should we reflect those changes?
https://github.com/ethereum/go-ethereum/blob/master/ethclient/ethclient.go#L642
There was a problem hiding this comment.
nvm 1.13.8 doesnot use it, just need to ensure we update this function if we do modify to new geth version
There was a problem hiding this comment.
I copied from the version we import to minimize changes
f83f128 to
464fdd5
Compare
|




No description provided.