Skip to content

Commit

Permalink
Update flow evm gateway setup (#1278)
Browse files Browse the repository at this point in the history
Co-authored-by: ben-weinberg <[email protected]>
Co-authored-by: Idris Olubisi <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent 87a032c commit 19fe0b8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/content/docs/validator/external-chains/flow.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -412,11 +412,10 @@ Further details on Access Node setup can be found in the [Access Node setup](htt
Similar to the access node, build the EVM gateway binary from the latest release tag. The EVM gateway source is available in the [onflow/flow-go](https://github.com/onflow/flow-evm-gateway) repo.
```bash
git clone https://github.com/onflow/flow-evm-gateway.git
git checkout <latest release tag mentioned here https://github.com/onflow/flow-evm-gateway/releases>
cd flow-evm-gateway
git checkout <latest release tag mentioned here https://github.com/onflow/flow-evm-gateway/releases/latest>
go build -o evm-gateway cmd/main/main.go
mv evm-gateway /usr/bin/
make build
mv flow-evm-gateway /usr/bin/
```

Further details on EVM Gateway building and configuration can be found in the EVM Gateway [repo](https://github.com/onflow/flow-evm-gateway/blob/main/README.md#building).
Expand Down Expand Up @@ -480,7 +479,7 @@ After=network-online.target
[Service]
User=$USER
ExecStart=/usr/bin/evm-gateway \
ExecStart=/usr/bin/flow-evm-gateway run \
--access-node-grpc-host=$ACCESS_NODE_GRPC_HOST \
--flow-network-id=$FLOW_NETWORK_ID \
--init-cadence-height=$INIT_CADENCE_HEIGHT \
Expand All @@ -490,7 +489,6 @@ ExecStart=/usr/bin/evm-gateway \
--coa-key=$COA_KEY \
--rate-limit=9999999 \
--rpc-host=0.0.0.0 \
--traces-gcp-bucket=devnet51-evm-execution-traces1 \
--gas-price=$GAS_PRICE
Restart=always
RestartSec=3
Expand Down

0 comments on commit 19fe0b8

Please sign in to comment.