Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support deployment of v1 contracts on Sepolia #3712

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion solidity-v1/migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions solidity-v1/truffle-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,29 @@ module.exports = {
network_id: 1101,
},

ropsten: {
goerli: {
provider: function () {
return new HDWalletProvider({
privateKeys: [process.env.CONTRACT_OWNER_ACCOUNT_PRIVATE_KEY],
providerOrUrl: process.env.CHAIN_API_URL,
})
},
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],
providerOrUrl: process.env.CHAIN_API_URL,
})
},
gas: 6000000,
network_id: 5,
network_id: 11155111,
skipDryRun: true,
networkCheckTimeout: 120000,
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
Expand Down