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

fix(rpc): fix rpc getnep5transfers method for received #2214

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

spencercorwin
Copy link
Collaborator

Description of the Change

Fixes RPC method getnep5transfers, which was returning the wrong data for received.

Also gets closer to the C# input and return formats. Addresses in transfer objects should be base58 addresses instead of hex addresses. And inputs should take a scriptHash or base58 address.

This PR also includes a limit for getAllStorage RPC method for Native contracts.

Test Plan

Was tested manually with Postman to compare against Neo TestNet node results. Will also be tested more thoroughly with unit tests later.

Alternate Designs

None.

Benefits

Closer to Neo3. Fixes bug.

Possible Drawbacks

None.

Applicable Issues

#2009 #1882

Copy link
Contributor

@danwbyrne danwbyrne left a comment

Choose a reason for hiding this comment

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

LGTM

@spencercorwin spencercorwin merged commit 0165082 into neo-one-suite:master Nov 3, 2020
@spencercorwin spencercorwin deleted the fix-received branch November 3, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants