The Burner contract does not correctly invoke resource burnCallback methods if the resource is optional.
This seems to be related to an if let ...
clause not fully unwrapping optional resources which is a very common pattern
- Install local dependencies
npm i
- Start flow-c1 emulator
flow-c1 emulator
- Deploy contracts
flow-c1 project deploy --update
- Run broken transaction
flow-c1 transactions send ./transactions/burn_broken.cdc
- Run working transaction
flow-c1 transactions send ./transactions/burn_works.cdc