Skip to content
This repository has been archived by the owner on Jul 20, 2022. It is now read-only.

Change default RPC return values #56

Merged
merged 1 commit into from
Aug 14, 2018

Conversation

knkski
Copy link
Contributor

@knkski knkski commented Aug 3, 2018

The transaction count and balance should be 0 for non-existent accounts, not null. Additionally, the code should be blank.

See https://github.com/ethereum/go-ethereum/blob/d926bf2c7e3182d694c15829a37a0ca7331cd03c/core/state/statedb.go#L199 for prior art.

Signed-off-by: Kenneth Koski knkski@bitwise.io

@knkski knkski changed the title Change default transaction count value Change default RPC return values Aug 3, 2018
@knkski knkski force-pushed the fixing-default-nonce branch 5 times, most recently from b496736 to 9acc51d Compare August 6, 2018 19:31
The transaction count and balance should be 0 for non-existent accounts,
not null. Additionally, the code and contract address fields should be
blank.

Signed-off-by: Kenneth Koski <knkski@bitwise.io>
@aludvik aludvik self-assigned this Aug 13, 2018
Copy link
Contributor

@grkvlt grkvlt left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@grkvlt grkvlt merged commit 4d7bbec into hyperledger-archives:master Aug 14, 2018
@knkski knkski deleted the fixing-default-nonce branch October 23, 2018 18:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants