onflow/flow-emulator

Inconsistency between the ExampleNFT deployed on the emulator and the one in the flow-nft repo

cybercent opened this issue · 2 comments

Instructions

The ExampleNFT.cdc deployed on the Emulator is different than the one here:
https://github.com/onflow/flow-nft/blob/master/contracts/ExampleNFT.cdc

Problem

Having different contracts makes it had to debug.
Compared to what is on Mainnet, the emulator contract is missing:

  pub fun getViews(): [Type] {
            return []
        }

Steps to Reproduce

<share any logs/screenshots or steps to replicate>

Acceptance Criteria

Deploy the same contract.

Context

<what are you currently working on that this is blocking?>

@joshuahannan should we make a release on flow-nft ?

yeah, I made a new release: https://github.com/onflow/flow-nft/releases/tag/lib%2Fgo%2Fcontracts%2Fv1.1.0

Feel free to include that in a new emulator release