mirror of
https://github.com/logos-blockchain/lez-programs.git
synced 2026-07-03 13:39:38 +00:00
Addresses review on PR #125 (LP-0013): #1 authority transfer now hands control to the new signer. mint and set_authority take a trailing authority_accounts (Vec<AccountWithMetadata>): empty preserves the original self/PDA-authority behavior (AMM unchanged), one entry lets an external/rotated authority actually mint or rotate again. Tests: rotated_authority_can_mint, rotated_authority_old_key_cannot_mint. #2 metadata-backed fungibles take a real mint_authority instead of a hardcoded Authority::renounced(), matching the plain-fungible supply model. Test: test_metadata_fungible_with_authority_is_mintable. #3 demo-full-flow.sh resolves TOKEN_BIN from the README-documented cargo risczero build output, falling back to the workspace build, with an explicit TOKEN_BIN override still respected. Regenerated token-idl.json for the new trailing authority_accounts.