diff --git a/cypress/support/ethereum.ts b/cypress/support/ethereum.ts index 74ac142b34..d11d689a00 100644 --- a/cypress/support/ethereum.ts +++ b/cypress/support/ethereum.ts @@ -16,7 +16,7 @@ const TEST_PRIVATE_KEY = '0xe580410d7c37d26c6ad1a837bbae46bc27f9066a466fb3a66e77 // address of the above key const TEST_ADDRESS_NEVER_USE = new Wallet(TEST_PRIVATE_KEY).address const CHAIN_ID = SupportedChainId.GOERLI -const HEXLIFIED_CHAIN_ID = `$0x${CHAIN_ID}` +const HEXLIFIED_CHAIN_ID = `0x${CHAIN_ID.toString(16)}` const provider = new JsonRpcProvider('https://goerli.infura.io/v3/4bf032f2d38a4ed6bb975b80d6340847', 5) const signer = new Wallet(TEST_PRIVATE_KEY, provider)