Skip to content
This repository has been archived by the owner on May 5, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release'
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddentao committed Jan 14, 2021
2 parents 11324af + 2b39a95 commit 3e32b4c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions deployedAddresses.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"ACL": {
"4": {
"address": "0x409081EC125dcac56DB01dD129e9a6d6153EC2db"
"address": "0x3529eF352F8c4737f37f9A4d58fBd4B5b8E8F26b"
}
},
"Settings": {
"4": {
"address": "0x79dbdc511Fbd67Fc606975ce7b8dD72630c47bF7"
"address": "0xeDBf085C820AD19948DC1813376F1Ac87E01BA9B"
}
},
"EntityDeployer": {
"4": {
"address": "0xC8D260A852fe0Af9B155298F027484E04a158Dd4"
"address": "0xeECA531060BCeEb0B169e9Ad8B3Fc8783244658E"
}
},
"EtherToken": {
"4": {
"address": "0xbD1b988A3bBdAB70fcD61D4610Ba7c3483594582"
"address": "0xcEbfB77C559bb094B21356198C42F9cB5B089D7B"
}
},
"MatchingMarket": {
"4": {
"address": "0x72b662bDAD0760c111CFECb583d1a8F7c169ACcB"
"address": "0x66F218DBd2024aaabB67E83abcaD16BB0756c6a2"
}
}
}
2 changes: 1 addition & 1 deletion migrations/1_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module.exports = async (deployer, network, accounts) => {
}

if (releaseConfig.freshDeployment && releaseConfig.multisig) {
setAclAdminToMultisigAddress(cfg, releaseConfig.multisig)
await setAclAdminToMultisigAddress(cfg, releaseConfig.multisig)
// upgrades following this fresh deployment should use the multisig!
}
}
2 changes: 1 addition & 1 deletion migrations/modules/acl.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const setAclAdminToMultisigAddress = async ({ accounts, log, getTxParams
if (acl && multisig) {
await log.task('Set Multisig as ACL admin', async task => {
await acl.addAdmin(multisig, getTxParams())
await acl.removeAdmin(accounts[0])
await acl.removeAdmin(accounts[0], getTxParams())
})
}
}
2 changes: 1 addition & 1 deletion migrations/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.execCall = async ({ task, contract, method, args, cfg }) => {
const data = cm[method].apply(cm, args).encodeABI()
await task.log(` --> Data: ${data}`, 'green')

const safeTxGas = await cm[method].apply(cm, args).estimateGas({ from: accounts[0] })
const safeTxGas = await cm[method].apply(cm, args).estimateGas({ from: multisig })
await task.log(` --> Gas estimate: ${safeTxGas}`, 'green')

if (!safeNonce) {
Expand Down

0 comments on commit 3e32b4c

Please sign in to comment.