Skip to content

Conversation

@graydon
Copy link
Contributor

@graydon graydon commented Jun 9, 2025

I stumbled on this missing case when debugging a previous issue -- printing XDR to JSON strings caused a crash due to missing cases.

I don't think it matters a ton how well this renders, as it's "just for debugging": we don't read back any of these and they're only emitted in debug messages and diagnostic tools like "dump-xdr". But I figured it'd be best to do it "well enough", would appreciate feedback on (a) whether the muxed address rendering seems sensible (it's a copy of what we do in muxed addresses outside SC_ADDRESS_TYPEs) and (b) whether it's ok to leave the claimable balances and liquidity pools as just not-otherwise-differentiated IDs, or if I ought to differentiate them as well in separate sub-nvps.

@graydon graydon requested a review from sisuresh June 9, 2025 20:52
@graydon graydon force-pushed the missing-cereal-cases branch from ebe7b37 to b63d6ab Compare June 9, 2025 20:56
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