You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If you pass an invalid CSV to pd test generate --allocations-file, there's a good chance pd will silently ignore the malformed data. It should definitely fail instead.
To Reproduce
Run pd testnet generate --allocations-file <file> with both of these, and inspect the contents of ~/.penumbra/testnet_data/node0/tendermint/config/genesis.json afterward generation.
Describe the bug
If you pass an invalid CSV to
pd test generate --allocations-file
, there's a good chance pd will silently ignore the malformed data. It should definitely fail instead.To Reproduce
Run
pd testnet generate --allocations-file <file>
with both of these, and inspect the contents of~/.penumbra/testnet_data/node0/tendermint/config/genesis.json
afterward generation.bad malformed CSV file
good, reformatted CSV file
Expected behavior
If
pd
can't understand the input file, it should complain loudly and fall down.Additional context
This bug was uncovered during interchaintest pairing, tracked in strangelove-ventures/interchaintest#644
The text was updated successfully, but these errors were encountered: