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

Support new GRPC endpoints #332

Merged
merged 3 commits into from
Dec 3, 2024
Merged

Support new GRPC endpoints #332

merged 3 commits into from
Dec 3, 2024

Conversation

td202
Copy link
Contributor

@td202 td202 commented Nov 29, 2024

Purpose

Closes #331
Depends on: Concordium/concordium-base#578

This adds support for the new GRPC queries GetScheduledReleaseAccounts, GetCooldownAccounts, GetPreCooldownAccounts, and GetPrePreCooldownAccounts as raw commands. Additionally, it supports the parameter field in ContractInitialized transaction events.

Changes

  • Use SupplementedEvent, SupplementedTransactionStatus, SupplementedTransactionSummary and SupplementedValidResult in place of the non-supplemented versions.
  • Decode the parameter field in ContractInitialized events.
  • Add gRPC wrappers and raw commands for:
    • GetScheduledReleaseAccounts
    • GetCooldownAccounts
    • GetPreCooldownAccounts
    • GetPrePreCooldownAccounts

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

Copy link
Contributor

@drsk0 drsk0 left a comment

Choose a reason for hiding this comment

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

lgtm

@td202 td202 merged commit 231ae66 into main Dec 3, 2024
1 check passed
@td202 td202 deleted the grpc-extensions branch December 3, 2024 10:24
@td202 td202 mentioned this pull request Dec 3, 2024
4 tasks
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.

Support GRPC API changes for debugging
2 participants