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
rpc: to in eth_call no longer required. Fixed eth_estimateGas #1534
Conversation
@@ -932,15 +932,6 @@ func TestCallArgsNotStrings(t *testing.T) { | |||
} | |||
} | |||
|
|||
func TestCallArgsToEmpty(t *testing.T) { |
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.
This test could be left in by changing the check that from
is populated correctly and to
is nil
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.
Agreed. Will adjust
if len(str) > 0 { | ||
t.Error(str) | ||
err := json.Unmarshal([]byte(input), &args) | ||
if err != nil { |
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.
Not as precise as validating the field content, but in the case that we're only checking the requirement of "To" or not, this will suffice
👍 |
1 similar comment
👍 |
rpc: to in eth_call no longer required. Fixed eth_estimateGas
Fixes #1040