This PR configures Kinobi for the printV1 instruction in order to provide default values for arguments and accounts. It also adds a bunch of tests that print a new edition by both initialising the mint/token accounts beforehand and letting the program initialise them for us.
Additionally, we identified some issues on the program for the latter which @febo fixed in this PR. Namely, the following issues were fixed:
Using the edition_mint_authority instead of the edition_account as the mint authority when initializing a mint account
Minting 1 token to the edition_token_account after initializing an empty ATA account
This PR configures Kinobi for the
printV1
instruction in order to provide default values for arguments and accounts. It also adds a bunch of tests that print a new edition by both initialising the mint/token accounts beforehand and letting the program initialise them for us.Additionally, we identified some issues on the program for the latter which @febo fixed in this PR. Namely, the following issues were fixed:
edition_mint_authority
instead of theedition_account
as the mint authority when initializing a mint accountedition_token_account
after initializing an empty ATA account