This shouldn't be a surprise, but if you create a DN404 with higher than 2.7k supply (in units, aka 18dec) and attempt to transfer ~2.7k tokens to another address, the gas consumption to mint the NFTs is over 30m reverting with oog on mainnet.
There's probably no workaround for this, but it's at least worth documenting somewhere.
Fairly easy to verify:
contract RevertTest is SoladyTest {
SimpleDN404 dn;
function setUp() public {
dn = new SimpleDN404("DN404", "DN", 2700 * 10 ** 18, address(this));
}
function testTransfer() public { // gas: 30715623
dn.transfer(address(1), 2_700 * 10 ** 18);
}
}