From 5975106fc4e122cd5be448de6bcf7049e15de6b2 Mon Sep 17 00:00:00 2001 From: Jaro Date: Sun, 17 Oct 2021 21:03:18 +0300 Subject: [PATCH] Update potential hermes deployment gas price and address --- scripts/deployRegistry.js | 4 ++-- test/registry.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/deployRegistry.js b/scripts/deployRegistry.js index f761c33..7987c19 100644 --- a/scripts/deployRegistry.js +++ b/scripts/deployRegistry.js @@ -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) } diff --git a/test/registry.js b/test/registry.js index 8bb4167..f1a2af4 100644 --- a/test/registry.js +++ b/test/registry.js @@ -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) }) })