-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fixed issue with empty contract's return result #1352
Conversation
pipeline: run |
2 similar comments
pipeline: run |
pipeline: run |
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.
LGTM, I didnt try it. I would change only those test asserts.
rskj-core/src/test/java/co/rsk/rpc/modules/eth/EthModuleTest.java
Outdated
Show resolved
Hide resolved
rskj-core/src/test/java/co/rsk/rpc/modules/eth/EthModuleTest.java
Outdated
Show resolved
Hide resolved
402cd25
to
3d3d090
Compare
3d3d090
to
06da8b0
Compare
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.
LGTM
5074d61
06da8b0
to
5074d61
Compare
pipeline: run |
1 similar comment
pipeline: run |
pipeline: run |
2 similar comments
pipeline: run |
pipeline: run |
5074d61
to
a8fec98
Compare
Kudos, SonarCloud Quality Gate passed! |
I also mentioned this on #1386, but this issue doesn't actually seem to be fixed yet? |
This fixes compatibility issue for empty contracts return result.
Description
Empty contract return should be
0x
, but it’s0x00
instead.Motivation and Context
To be compatible with Ethereum JSON-RPC clients
0x
should be returned byeth_call
for an empty contract instead of0x00
.How Has This Been Tested?
Using unit tests
Types of changes
Checklist:
fit: node-call-changes