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

SCC Dynamic Events #5037

Draft
wants to merge 8 commits into
base: feat/dynamic-events-rpc
Choose a base branch
from
Draft

Conversation

dandanlen
Copy link
Collaborator

Pull Request

Closes: PRO-1246

Checklist

Please conduct a thorough self-review before opening the PR.

  • I am confident that the code works.
  • I have updated documentation where appropriate.

Summary

Adds the dynamic events rpc to the SCC and uses this for determining extrinsic success.

Events are returned as JSON, with DynamicEvent utility wrappers to give some extra safety.

There are some other utilities for consuming/converting the dynamic event data in the lp and broker apis, in an attempt to keep the same apis as we have currently.

Ideally, at some point the Events/JSON will already contain the correctly-encoded values and can be passed through more-or-less without modification.

I haven't had time to test this yet, i'm confident there will be issues.

@dandanlen dandanlen changed the title SCC Dyanmic Events SCC Dynamic Events Jul 12, 2024
@dandanlen dandanlen changed the base branch from main to feat/dynamic-events-rpc July 12, 2024 11:49
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.

1 participant