From b2b29a537d005d3d1f79aad83759a1860945aad2 Mon Sep 17 00:00:00 2001 From: nxqbao Date: Thu, 9 Nov 2023 17:43:53 +0700 Subject: [PATCH] config: enable literal content for RoninValidatorSet deployment --- hardhat.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hardhat.config.ts b/hardhat.config.ts index 47959594d..08bc1f1f9 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -122,6 +122,7 @@ const config: HardhatUserConfig = { // and we want all generated code to be deterministic // https://docs.soliditylang.org/en/v0.8.17/metadata.html bytecodeHash: 'none', + useLiteralContent: true, }, }, }, @@ -148,9 +149,9 @@ const config: HardhatUserConfig = { }, namedAccounts: { deployer: 0, - governor: 0, + // governor: 0, // governor: '0x00000000000000000000000000000000deadbeef', - // governor: 'privatekey://0x00000000000000000000000000000000deadbeef000000000000000000sample', + governor: 'privatekey://0xe3c1c8220c4ee4a6532d633296c3301db5397cff8a89a920da28f8bec97fcfb6', // governor: 'trezor://0x0000000000000000000000000000000000000000', }, networks: {