diff --git a/solidity-v1/migrations/2_deploy_contracts.js b/solidity-v1/migrations/2_deploy_contracts.js index 0c0e639ab7..961adf285a 100644 --- a/solidity-v1/migrations/2_deploy_contracts.js +++ b/solidity-v1/migrations/2_deploy_contracts.js @@ -49,7 +49,14 @@ const KeepVault = artifacts.require("./geyser/KeepVault.sol") let initializationPeriod = 43200 // ~12 hours const dkgContributionMargin = 1 // 1% -const testNetworks = ["local", "ropsten", "keep_dev", "alfajores", "goerli"] +const testNetworks = [ + "local", + "ropsten", + "keep_dev", + "alfajores", + "goerli", + "sepolia", +] module.exports = async function (deployer, network) { // Set the stake initialization period to 1 block for local development and testnet. diff --git a/solidity-v1/truffle-config.js b/solidity-v1/truffle-config.js index 843255de83..e15f1d4acf 100644 --- a/solidity-v1/truffle-config.js +++ b/solidity-v1/truffle-config.js @@ -32,7 +32,7 @@ module.exports = { network_id: 1101, }, - ropsten: { + goerli: { provider: function () { return new HDWalletProvider({ privateKeys: [process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY], @@ -40,13 +40,13 @@ module.exports = { }) }, gas: 6000000, - network_id: 3, + network_id: 5, skipDryRun: true, networkCheckTimeout: 120000, timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50) }, - goerli: { + sepolia: { provider: function () { return new HDWalletProvider({ privateKeys: [process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY], @@ -54,7 +54,7 @@ module.exports = { }) }, gas: 6000000, - network_id: 5, + network_id: 11155111, skipDryRun: true, networkCheckTimeout: 120000, timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)