Open garethtdavies opened 2 years ago
This tool assumes the address is not in the ledger yet (else get a fee excess error for an existing account), so always has an account creation fee, so an amount of < 1 would always fail.
@deepthiskumar can you please take a look?
Preliminary Checks
Description
When running the
mina-zkapp-test-transaction create-zkapp-account
command with a--receiver-amount 0
, the following error is generated. This happens for any account, even if they are in the ledger already. This works for an amount > 0, but if an amount > 0 is required, it should fail more gracefully.Steps to Reproduce
mina-zkapp-test-transaction create-zkapp-account --fee-payer-key ~/.mina-config/wallets/store/key --nonce x --receiver-amount 0 --zkapp-account-key ~/.mina-config/wallets/store/anotherkey
Expected Result
Assuming an amount must be > 0, it should give an error message to that effect.
Actual Result
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Low
Status
Additional information
Running version
mina-zkapp-test-transaction=1.3.2beta2-release-2.0.0-330d801
of the CLI transaction tool