From e0fd7663869d2a0e457b6c2aa7af7c9b1d9fad93 Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Wed, 13 Dec 2023 03:11:48 -0800 Subject: [PATCH] allow unprotected txes from bootnode to enable create2 deployment --- geth-poa/README.md | 3 +-- geth-poa/entrypoint.sh | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/geth-poa/README.md b/geth-poa/README.md index 8d1f5589f0..de1279f748 100644 --- a/geth-poa/README.md +++ b/geth-poa/README.md @@ -41,13 +41,12 @@ Address: `0x0DCaa27B9E4Db92F820189345792f8eC5Ef148F6` ## Create2 Deployment Proxy -A Create2 deployment proxy is meant to be deployed to this chain. The signer address for such proxy is funded on genesis, `0x3fab184622dc19b6109349b94811493bf2a45362`. see more [here](https://github.com/Arachnid/deterministic-deployment-proxy). +A Create2 deployment proxy is can be deployed to this chain at `0x4e59b44847b379578588920ca78fbf26c0b4956c`. see more [here](https://github.com/primevprotocol/deterministic-deployment-proxy). Note this proxy is required to deploy the whitelist bridge contract, and is consistent to foundry's suggested process for create2 deployment. The deployment signer, `0x3fab184622dc19b6109349b94811493bf2a45362` is funded on genesis. ## Local Run 1. To run the local setup, set the .env file with the keys specified in .env.example. 2. Run `$ make up-dev-build` to run the whole stack including bridge, or `$ make up-dev-settlement` to bring up only the settlement layer. - ## Starter .env file To get a standard starter .env file from primev internal development, [click here.](https://www.notion.so/Private-keys-and-env-for-settlement-layer-245a4f3f4fe040a7b72a6be91131d9c2?pvs=4) diff --git a/geth-poa/entrypoint.sh b/geth-poa/entrypoint.sh index 33f3bdb8a1..321befbb76 100644 --- a/geth-poa/entrypoint.sh +++ b/geth-poa/entrypoint.sh @@ -75,7 +75,8 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then --metrics.port=6060 \ --nodekey $GETH_DATA_DIR/boot.key \ --netrestrict 172.29.0.0/16 \ - --nat extip:$NODE_IP + --nat extip:$NODE_IP \ + --rpc.allow-unprotected-txs elif [ "$GETH_NODE_TYPE" = "signer" ]; then echo "Starting signer node"