Code to reproduce
I have run ganache-cli --allowUnlimitedContractSize
Here is my configuration in network.js:
module.exports = {
networks: {
development: {
protocol: 'http',
host: 'localhost',
port: 8545,
//gas: 5000000,
gas: 6721975,
//gasPrice: 5e9,
networkId: '*',
},
},
compilers: {
solc: {
version: "0.5.7",
//docker: false,
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
}
};