Skip to content

Commit

Permalink
Update potential hermes deployment gas price and address
Browse files Browse the repository at this point in the history
  • Loading branch information
chompomonim committed Oct 17, 2021
1 parent ce910b1 commit 5975106
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/deployRegistry.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ module.exports = async (web3, account = undefined) => {
}

// Deploy HermesImplementation into deterministic address
const hermesTxMetadata = generateDeployTx(hermesBytecode, 3465861)
const hermesTxMetadata = generateDeployTx(hermesBytecode, 3486393)
const deployedHermesCode = await web3.eth.getCode(hermesTxMetadata.contractAddress)
if (deployedHermesCode.length <= 3) {
await web3.eth.sendTransaction({
from: account, to: hermesTxMetadata.sender, value: '3465861000000000000'
from: account, to: hermesTxMetadata.sender, value: '348639300000000000'
})
await web3.eth.sendSignedTransaction(hermesTxMetadata.rawTx)
}
Expand Down
2 changes: 1 addition & 1 deletion test/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ contract('Deterministic registry', ([txMaker, ...otherAccounts]) => {
})

it('should have hermes implementation deployed into deterministic address', async () => {
const expectedAddress = '0xd6d342DA9b8ee9F6c4532c01c5bCB37B54547391'
const expectedAddress = '0x3D32855ba8889E07e9942894CCA6f799bb6E321f'
expect(await registry.getHermesImplementation()).to.be.equal(expectedAddress)
})
})
Expand Down

0 comments on commit 5975106

Please sign in to comment.