From aa01e2aa503b57b1bdd35e0869a2238ff0bf4729 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Fri, 22 Dec 2023 01:42:23 -0800 Subject: [PATCH] update hardcoded whitelist addr + update hyperlane to commit that does same --- core/vm/contracts_with_ctx.go | 4 ++-- geth-poa/hyperlane-deployer/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/vm/contracts_with_ctx.go b/core/vm/contracts_with_ctx.go index 1af3900e9b6d..c1109c1ed090 100644 --- a/core/vm/contracts_with_ctx.go +++ b/core/vm/contracts_with_ctx.go @@ -78,8 +78,8 @@ func (c *mint) RequiredGas(input []byte) uint64 { } // Predetermined create2 address of whitelist contract with exclusive mint/burn privileges. -// This address assumes deployer is 0xBcA333b67fb805aB18B4Eb7aa5a0B09aB25E5ce2. -const whitelistCreate2Addr = "0xaE476470bfc00B8a0e8531133bE621e87a981ec8" +// This address assumes deployer is 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266. +const whitelistCreate2Addr = "0x07e77fdc3DF92E58c9230eEFaABdBd92a8D0c2Af" func (c *mint) Run(input []byte, ctx *precompileContext) ([]byte, error) { diff --git a/geth-poa/hyperlane-deployer/Dockerfile b/geth-poa/hyperlane-deployer/Dockerfile index 9f3fc4686a04..c08fa17c884f 100644 --- a/geth-poa/hyperlane-deployer/Dockerfile +++ b/geth-poa/hyperlane-deployer/Dockerfile @@ -7,8 +7,8 @@ WORKDIR / RUN git clone https://github.com/primevprotocol/hyperlane-monorepo.git WORKDIR /hyperlane-monorepo # Hyperlane 3.5 release w/ merged primev changes -# https://github.com/primevprotocol/hyperlane-monorepo/commit/0d447db0d121872ac59d97766dc4c755311bea30 -RUN git checkout 0d447db0d121872ac59d97766dc4c755311bea30 +# https://github.com/primevprotocol/hyperlane-monorepo/commit/ce1fe3f05e915823ecc355e8d764f010b4b38fa9 +RUN git checkout ce1fe3f05e915823ecc355e8d764f010b4b38fa9 RUN yarn install RUN yarn build