penumbra-zone / cuiloa

Block explorer for the Penumbra Zone network
https://cuiloa.testnet.penumbra.zone
Apache License 2.0
6 stars 1 forks source link

check and enforce schema message optionality #93

Open ejmg opened 2 months ago

ejmg commented 2 months ago

Summary

The majority of subfields for the buf.build schemas (e.g. TransactionViews TransactionBodyView, ActionViews and their subfield messages, etc) are marked as optional in the typescript generated SDK. Check which are optional, if any, and ensure this is actually enforced and community via error handling/messaging instead of silently allowing empty fields.