mina client create-token --sender PUBKEY
crashes the daemon
#13185
Labels
mina client create-token --sender PUBKEY
crashes the daemon
#13185
Preliminary Checks
Description
Attempting to
create-token
crashes the daemon with the following errorThe issue was reported in #5724 and closed after a fix was introduced in #5743, yet I am observing the error today.
Inspecting

src/lib/mina_base/signed_command_payload.ml
at commite976627007d99415932392a84983de4e4a8db38f
, one sees thatSo clearly this command will throw an exception and apparently it is not executed inside a
try
block which handles the exception, causing the daemon to immediately crash. Presumably a similar fate awaits the daemon when executing thecreate-token-account
andmint-tokens
commands.Steps to Reproduce
1.4.0beta2
daemon and wait for it to sync.mina accounts create
or an existing account (let's call itPUBKEY
).mina client create-token --sender PUBKEY
Expected Result
Create a new token or do nothing; at the very least, not crash the daemon.
Actual Result
Daemon immediately crashes 😢
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Low
Status
Mina daemon status ----------------------------------- Max observed block height: 249255 Max observed unvalidated block height: 0 Local uptime: 5m37s Chain id: 5f704cc0c82e0ed70e873f0893d7e06f148524e3f0bdae2afb02e7819a0c24d1 Git SHA-1: e976627007d99415932392a84983de4e4a8db38f Configuration directory: /path/to/.mina-config Peers: 25 User_commands sent: 0 SNARK worker: None SNARK work fee: 100000000 Sync status: Bootstrap Block producers running: 0 Coinbase receiver: Block producer Consensus time now: epoch=52, slot=3571 Consensus mechanism: proof_of_stake Consensus configuration: Delta: 0 k: 290 Slots per epoch: 7140 Slot duration: 3m Epoch duration: 14d21h Chain start timestamp: 2021-03-17 00:00:00.000000Z Acceptable network delay: 3m Addresses and ports: External IP: MY_IPv4_ADDRESS Bind IP: 0.0.0.0 Libp2p PeerID: 12D3KooWHn2eWhB6JYrWcKrCz5SxXpQVoziQTC8P46S7oB3ej4gV Libp2p port: 8302 Client port: 8301 Metrics: block_production_delay: 7 (0 0 0 0 0 0 0) transaction_pool_diff_received: 8 transaction_pool_diff_broadcasted: 0 transactions_added_to_pool: 0 transaction_pool_size: 0
Additional information
No response
The text was updated successfully, but these errors were encountered: