I’m having problems creating an instance of the PiggyBank smart contract (deployed as sc_piggy_bank) on the testnet.
What am I doing wrong?
Below is the output to the console from the failing attempt.
concordium-client_1.1.1-0 contract init 68ca306a53ea6b206a169788b1bb0e98fcc486ad36d949b6dad287df1f2dc79f --sender SysConDev-01 --contract sc_piggy_bank --energy 1000 --grpc-ip 192.168.1.18 --grpc-port 10001 Initialize contract 'sc_piggy_bank' from module '68ca306a53ea6b206a169788b1bb0e98fcc486ad36d949b6dad287df1f2dc79f' with no parameters. Sending 0.000000 GTU. Allowing up to 1000 NRG to be spent as transaction fee. Transaction expires on Fri, 15 Oct 2021 11:04:43 UTC. Confirm [yN]: y y Enter password for credential with index 0 and signing key with index 0: Transaction 'd7f1031e680e0ef712bbbea24950a3b7a1d0ed7ad9774aee85e7217a2857ea0f' sent to the baker. Waiting for the transaction to be committed and finalized. You may skip this step by interrupting the command using Ctrl-C (pass flag '--no-wait' to do this by default). The transaction will still get processed and may be queried using 'concordium-client transaction status d7f1031e680e0ef712bbbea24950a3b7a1d0ed7ad9774aee85e7217a2857ea0f'. [12:54:48] Waiting for the transaction to be committed.... Transaction is committed into block 0c688ffe2677cdcc76f68d00463fc56c7914a3cb5e2faa646fdd6403d69fa9fa with status "rejected" and cost 0.041223 GTU (742 NRG). Transaction rejected: invalid init method. [12:54:50] Waiting for the transaction to be finalized.... Transaction is finalized into block 0c688ffe2677cdcc76f68d00463fc56c7914a3cb5e2faa646fdd6403d69fa9fa with status "rejected" and cost 0.041223 GTU (742 NRG). Transaction rejected: invalid init method.