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

Upgrade Node SDK to version supporting P4 #24

Merged
merged 39 commits into from
Jun 14, 2022
Merged

Upgrade Node SDK to version supporting P4 #24

merged 39 commits into from
Jun 14, 2022

Conversation

bisgardo
Copy link
Contributor

@bisgardo bisgardo commented May 16, 2022

Purpose

Support new protocol version.

Changes

Upgrade SDK.

Resolves #16.

@bisgardo bisgardo changed the title Bump sdk Upgrade Node SDK to version supporting P4 May 17, 2022
@bisgardo bisgardo requested review from abizjak and td202 May 17, 2022 13:10
@bisgardo bisgardo marked this pull request as ready for review May 17, 2022 13:10
src/api/block.rs Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/query.rs Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/query.rs Outdated Show resolved Hide resolved
src/api/query.rs Outdated Show resolved Hide resolved
src/api/block.rs Outdated Show resolved Hide resolved
@bisgardo
Copy link
Contributor Author

bisgardo commented Jun 9, 2022

@abizjak I believe this is ready for final review. A full check is running against testnet but there were some issues keeping it running. I'll let it at least traverse a significant portion of the chain without error before merging.

@abizjak abizjak self-requested a review June 10, 2022 16:59
README.md Outdated Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/block.rs Show resolved Hide resolved
src/api/query.rs Show resolved Hide resolved
struct DelegationSetDelegationTargetMetadata {
delegator_id: DelegatorId,
delegation_target: String,
}
Copy link
Member

Choose a reason for hiding this comment

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

I don't understand why you don't need "Resumed" and "Interrupted" events (for contracts), but you do need these. Is that deliberate, or an omission?

Copy link
Contributor Author

@bisgardo bisgardo Jun 13, 2022

Choose a reason for hiding this comment

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

Is this comment where it should be?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And still relevant?

Copy link
Member

Choose a reason for hiding this comment

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

It is kind of in the right place. I still don't quite understand why those events are not needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These structs are just metadata, i.e. extra information that applications/users may care about but rosetta doesn't. Filed #38 for including it later on.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, thanks.

src/api/transaction.rs Outdated Show resolved Hide resolved
bisgardo and others added 2 commits June 13, 2022 09:19
Co-authored-by: Aleš Bizjak <abizjak@users.noreply.github.com>
@bisgardo bisgardo merged commit fe90598 into main Jun 14, 2022
@bisgardo bisgardo deleted the bump-sdk branch June 14, 2022 06:31
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.

Upgrade SDK to support newest protocol version
2 participants