Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Update blockchain_double.js to properly hex encode Log without leading zeroes #103

Merged
merged 3 commits into from
Sep 27, 2018

Conversation

nickysemenza
Copy link
Contributor

When trying to talk to ganache-cli overRPC from go-ethereum: cannot unmarshal hex number with leading zero digits into Go struct field Log.logIndex of type hexutil.Uint

This was based off of changes I observed in #92

@nickysemenza
Copy link
Contributor Author

nevermind, looks like #73 accomplished this with a different approach?

@nickysemenza
Copy link
Contributor Author

looks like issue still persists even with #73 for some endpoints?

gasPrice: to.hex(tx.gasPrice),
input: to.hex(tx.data),
hash: to.rpcDataHexString(tx.hash()),
nonce: to.rpcDataHexString(tx.nonce),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@benjamincburns
Copy link
Contributor

I think this needs to be rebased on current develop. Also if you could please add tests for the fields you've changed that would be ideal.

@mikeseese
Copy link
Contributor

mikeseese commented Sep 10, 2018

I'm going to move this to our backlog to do what @benjamincburns asked a month ago as we can complete the requested changes. I think this may be related to #166

If you feel the desire to complete this @nickysemenza and no one assigns themselves to this PR, please make a comment and we'll let you make the changes. Thanks!

@benjamincburns
Copy link
Contributor

I've just gone ahead and rebased this on current develop

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants