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 state implementation #618

Merged
merged 109 commits into from
Aug 19, 2020
Merged

Conversation

StaticallyTypedAnxiety
Copy link
Contributor

@StaticallyTypedAnxiety StaticallyTypedAnxiety commented Aug 11, 2020

Summary of changes
Changes introduced in this pull request:

  • Implements RPC Layer functions for the state
    -Introduced Bitfield and Address Serialization

Reference issue to close (if applicable)

Closes #528

Other information and links

StaticallyTypedAnxiety and others added 30 commits June 22, 2020 09:41
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
blockchain/state_manager/src/lib.rs Show resolved Hide resolved
pub tipset: TipsetJson,
}

#[derive(Serialize, Deserialize)]
Copy link
Member

Choose a reason for hiding this comment

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

Have you checked these against lotus? Most of their JSON keys are PascalCased

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Wasn't aware, will double check now

node/rpc/src/state_api.rs Outdated Show resolved Hide resolved
blockchain/state_manager/src/lib.rs Show resolved Hide resolved
vm/address/src/lib.rs Outdated Show resolved Hide resolved
vm/message/src/chain_message.rs Outdated Show resolved Hide resolved
vm/address/Cargo.toml Show resolved Hide resolved
utils/bitfield/src/lib.rs Outdated Show resolved Hide resolved
utils/bitfield/src/lib.rs Outdated Show resolved Hide resolved
utils/bitfield/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Member

@ec2 ec2 left a comment

Choose a reason for hiding this comment

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

looks good aside from already made comments

Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Co-authored-by: Austin Abell <austinabell8@gmail.com>
Copy link
Contributor

@austinabell austinabell left a comment

Choose a reason for hiding this comment

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

utack

pub msg_rct: Option<MessageReceipt>,
pub actor_error: Option<String>,
pub error: Option<String>,
Copy link
Contributor

Choose a reason for hiding this comment

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

You didn't have to change this one, but doesn't matter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made sense if wanted to be consistent with lotus

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.

Connect State methods to RPC
3 participants