From 0fd81dbb7c8157dbee70f90b41bff64c14553342 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Wed, 13 Dec 2023 19:56:24 -0800 Subject: [PATCH] contract bytecode changed -> update hardcoded create2 addr --- core/vm/contracts_with_ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/contracts_with_ctx.go b/core/vm/contracts_with_ctx.go index 2bae3c133b..773d90bcea 100644 --- a/core/vm/contracts_with_ctx.go +++ b/core/vm/contracts_with_ctx.go @@ -79,7 +79,7 @@ func (c *mint) RequiredGas(input []byte) uint64 { // Predetermined create2 address of whitelist contract with exclusive mint/burn privileges. // See: https://github.com/primevprotocol/contracts/blob/ecfd53d43770201da9c7a697be1fb03e5e554e4e/scripts/DeployScripts.s.sol -const whitelistCreate2Addr = "0xe57ee51bcb0914EC666703F923e0433d8c4d70b1" +const whitelistCreate2Addr = "0xc5bB85F941fb8dbbed6416A8aC84A06226E0f138" func (c *mint) Run(input []byte, ctx *precompileContext) ([]byte, error) {