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

Add an XDR type for DiagnosticEvent<> #187

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented May 9, 2024

What

Add an XDR type DiagnosticEvents for DiagnosticEvent<>.

Why

Stellar-core returns a variable length array of diagnostic events from it's submission endpoint. It'd be convenient to be able to decode it on the command line with the CLI. We could add the ability to decode arbitrary arrays and other types to the CLI, but that's much more effort and adding a type definition for a type that stellar-core does output is easier and maybe the "right" way to do this anyway.

Supersedes:

@leighmcculloch leighmcculloch requested a review from dmkozh May 9, 2024 06:17
@leighmcculloch
Copy link
Member Author

@MonsieurNicolas Does this need a protocol version? I don't think so. It's not used by anything explicitly, and implicitly the part of stellar-core that outputs this type (without using the type) is not part of the protocol anyway.

@leighmcculloch leighmcculloch merged commit 3adee2d into curr May 13, 2024
1 check passed
@leighmcculloch leighmcculloch deleted the trappous-mhometer branch May 13, 2024 16:20
bboston7 added a commit to bboston7/stellar-xdr that referenced this pull request May 17, 2024
This reverts commit 3adee2d.

Temporarily reverting this commit so we can pull the updated overlay
definitions into stellar-core without revving other dependencies.
sisuresh pushed a commit that referenced this pull request May 17, 2024
This reverts commit 3adee2d.

Temporarily reverting this commit so we can pull the updated overlay
definitions into stellar-core without revving other dependencies.
bboston7 added a commit to bboston7/stellar-xdr that referenced this pull request May 17, 2024
…r#188)

This reverts commit f5904cb.

Bringing `Stellar-ledger.x` changes back in.
sisuresh pushed a commit that referenced this pull request May 17, 2024
This reverts commit f5904cb.

Bringing `Stellar-ledger.x` changes back in.
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