Skip to content

Commit

Permalink
test(fork): update missingSteps()
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviera9 committed Feb 27, 2024
1 parent 99c64b0 commit c40b1af
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/fork/dao.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const { hardhatReset } = require('../utils/hardhat-reset')
const { mintPToken, pegoutToken } = require('../utils/pnetwork')
const { sendEth } = require('../utils/send-eth')

const { CHANGE_TOKEN_ROLE, CREATE_VOTES_ROLE, CREATE_PAYMENTS_ROLE } = getAllRoles(ethers)
const { CREATE_VOTES_ROLE, CREATE_PAYMENTS_ROLE } = getAllRoles(ethers)

const USER_ADDRESS = '0xdDb5f4535123DAa5aE343c24006F4075aBAF5F7B'
const ADDRESS_PLACEHOLDER = '0x0123456789012345678901234567890123456789'
Expand Down Expand Up @@ -156,12 +156,6 @@ describe('Integration tests on Gnosis deployment', () => {
const missingSteps = async () => {
const MockPToken = await ethers.getContractFactory('MockPTokenERC20')
pntOnGnosis = await MockPToken.deploy('Host Token (pToken)', 'HTKN', pntMinter.address, PNETWORK_NETWORK_IDS.GNOSIS)
await stakingManager.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await stakingManagerLm.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await stakingManagerRm.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await lendingManager.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await registrationManager.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await rewardsManager.connect(daoOwner).grantRole(CHANGE_TOKEN_ROLE, SAFE_ADDRESS)
await stakingManager.connect(daoOwner).changeToken(pntOnGnosis.target)
await stakingManagerLm.connect(daoOwner).changeToken(pntOnGnosis.target)
await stakingManagerRm.connect(daoOwner).changeToken(pntOnGnosis.target)
Expand Down

0 comments on commit c40b1af

Please sign in to comment.