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

fix(state): If value is an empty byte it needs to return none #448

Merged
merged 6 commits into from
Sep 9, 2020

Conversation

yejiayu
Copy link
Contributor

@yejiayu yejiayu commented Sep 9, 2020

What this PR does / why we need it:
If the value is an empty byte it needs to be returned null to keep the behavior consistent with the MPT.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@LycrusHamster
Copy link
Contributor

/lgtm

@muta-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LycrusHamster

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@muta-robot muta-robot merged commit 5e1e4b6 into nervosnetwork:master Sep 9, 2020
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