diff --git a/.openzeppelin/project.json b/.openzeppelin/project.json index 4f73154..3dc3b7f 100644 --- a/.openzeppelin/project.json +++ b/.openzeppelin/project.json @@ -5,7 +5,7 @@ }, "dependencies": {}, "name": "ecobux", - "version": "0.1.0", + "version": "1.0.0", "compiler": { "compilerSettings": { "optimizer": { diff --git a/migrations/2_deploy_start_contracts.js b/migrations/2_deploy_start_contracts.js index e4d4779..e4eb4a0 100644 --- a/migrations/2_deploy_start_contracts.js +++ b/migrations/2_deploy_start_contracts.js @@ -8,8 +8,12 @@ module.exports = function (deployer, network, accounts) { deployer.then(async () => { await deployer.deploy(EcoBux); await deployer.deploy(EcoBuxFee); - await deployer.deploy(MarketPlace, EcoBux.address, EcoBuxFee.address); await deployer.deploy(PilotoFuture, EcoBux.address); await deployer.deploy(Piloto, EcoBux.address, EcoBuxFee.address); + + // Only deploy MarketPlace on testnets + if (network != "infuragorli") { + await deployer.deploy(MarketPlace, EcoBux.address, EcoBuxFee.address); + } }); }; diff --git a/package.json b/package.json index d924dc9..d23bbcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ecobux", - "version": "0.0.0", + "version": "1.0.0", "description": "EcoBux: Take conservation into your own hands with the power of cryptocurrency", "main": "contracts/Ecobux.sol", "directories": {