Skip to content

Commit bceb332

Browse files
Merge pull request #2327 from keep-network/fix-deploying-keep-only-pool-contractto-local-network
Fix deploying the KEEP-only pool contract to local network We should have deployed the KeepVault contract instead of KeepTokenGeyser.
2 parents 25c02f1 + 3e6c9db commit bceb332

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

solidity/migrations/2_deploy_contracts.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const KeepRegistry = artifacts.require("./KeepRegistry.sol")
4545
const GasPriceOracle = artifacts.require("./GasPriceOracle.sol")
4646
const StakingPortBacker = artifacts.require("./StakingPortBacker.sol")
4747
const BeaconRewards = artifacts.require("./BeaconRewards.sol")
48-
const KeepTokenGeyser = artifacts.require("./geyser/KeepTokenGeyser.sol")
48+
const KeepVault = artifacts.require("./geyser/KeepVault.sol")
4949

5050
let initializationPeriod = 43200 // ~12 hours
5151
const dkgContributionMargin = 1 // 1%
@@ -171,10 +171,9 @@ module.exports = async function (deployer, network) {
171171
const durationSec = 2592000 // 30 days in seconds
172172

173173
await deployer.deploy(
174-
KeepTokenGeyser,
174+
KeepVault,
175175
// KEEP token is a distribution and staking token.
176176
KeepToken.address,
177-
KeepToken.address,
178177
maxUnlockSchedules,
179178
startBonus,
180179
bonusPeriodSec,

solidity/scripts/keep-token-geyser-init.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const KeepTokenGeyser = artifacts.require("./geyser/KeepTokenGeyser.sol")
1+
const KeepVault = artifacts.require("./geyser/KeepVault.sol")
22
const KeepToken = artifacts.require("./KeepToken.sol")
33
const BatchedPhasedEscrow = artifacts.require("./BatchedPhasedEscrow")
44
const KeepTokenGeyserRewardsEscrowBeneficiary = artifacts.require(
@@ -9,7 +9,7 @@ module.exports = async function () {
99
try {
1010
const accounts = await web3.eth.getAccounts()
1111
const keepToken = await KeepToken.deployed()
12-
const tokenGeyser = await KeepTokenGeyser.deployed()
12+
const tokenGeyser = await KeepVault.deployed()
1313
const rewardsAmount = web3.utils.toWei("100000", "ether")
1414

1515
const owner = accounts[0]

0 commit comments

Comments
 (0)