Skip to content
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

Merged
merged 1 commit into from Jul 30, 2015

Conversation

obscuren
Copy link
Contributor

Fixes #1040

@@ -932,15 +932,6 @@ func TestCallArgsNotStrings(t *testing.T) {
}
}

func TestCallArgsToEmpty(t *testing.T) {
Copy link
Contributor

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

Copy link
Contributor Author

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 {
Copy link
Contributor

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

@zelig
Copy link
Contributor

zelig commented Jul 30, 2015

👍

1 similar comment
@bas-vk
Copy link
Member

bas-vk commented Jul 30, 2015

👍

obscuren added a commit that referenced this pull request Jul 30, 2015
rpc: to in eth_call no longer required. Fixed eth_estimateGas
@obscuren obscuren merged commit 64e2f52 into ethereum:develop Jul 30, 2015
@obscuren obscuren deleted the issue-1040 branch July 30, 2015 10:25
@obscuren obscuren added this to the 1.0.1 milestone Jul 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants