-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
itests: validate responses from ethereum json-rpc api #10102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow avoid pulling all those deps in? According to scripts/gomod-diff.sh
this is like ~54k lines of diff in dependencies
Yeah I have changed to a smaller json-schema validator which reduces new deps |
|
|
Note that we don't implement these methods but simply return the zero value of
|
|
I call
|
|
With regards to the missing fields on Transactions the openrpc spec gives 3 possible response types for a call such as
See https://www.jsonschemavalidator.net/s/euWIlkpO I'm not sure which transaction type we are aiming to support |
Hi Lotus devs! Users have found regression for
Previously
Please check this issue |
Flaky test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, will merge after tests pass (the fevm itest is broken on the release branch so not blocking)
That schema is a lie. See NethermindEth/nethermind#3276 |
Related Issues
Proposed Changes
Validate responses from following ethereum api calls and fix problems detected (see below for summary of fixes)
Changes made to fix conformance:
EthFeeHistory.OldestBlock
fromuint64
toEthUint64
EthBlock.Extradata
type toEthBytes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps