<!-- canonical: https://0xsimao.com/findings/metazero-i-mint-1000-tokens-999 -->

# Can not mint 1000 tokens, only 999

Medium · Three Sigma · Omnichain RWA tokenisation · 27th January, 2024

Finding 3S-MetaZero-M03 of the MetaZero Omnichain NFTs security review.

- Protocol: https://metazero.gg/
- Report: /reports/metazero-i
- Source: https://cdn.sanity.io/files/qoqld077/production/1b1ab4ff365756fe1d86767f1e06744407570f5a.pdf

---

### Description

Only 999 tokens can be limited according to the [code](https://github.com/threesigmaxyz/metazero-issues-external/blob/master/src/ONFTV2-721C.sol#L17), but the comments indicated that
1000 tokens should be minted on genesis. See the [POC](https://github.com/threesigmaxyz/metazero-issues-external/blob/master/test/test.t.sol#L25) for confirmation.

### Recommendation

Change [genesisCounter](https://github.com/threesigmaxyz/metazero-issues-external/blob/master/src/ONFTV2-721C.sol#L19) to 0.

### Status

Addressed in cd1bb46.
