Skip to content

Commit 823142f

Browse files
committed
Add new param
1 parent 5c097c9 commit 823142f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ EMULATOR_ARGS := --flow-network-id=flow-emulator \
2525
--wallet-api-key=2619878f0e2ff438d17835c2a4561cb87b4d24d72d12ec34569acd0dd4af7c21 \
2626
--gas-price=0 \
2727
--log-writer=console \
28+
--tx-state-validation=local-index \
2829
--profiler-enabled=true \
2930
--profiler-port=6060
3031

@@ -138,7 +139,7 @@ docker-run-local:
138139
$(call check_and_append,coa-address,EMULATOR_COA_ADDRESS)
139140
$(call check_and_append,coa-key,EMULATOR_COA_KEY)
140141

141-
$(eval CMD_ARGS += --flow-network-id=flow-emulator --log-level=debug --gas-price=0 --log-writer=console --profiler-enabled=true --access-node-grpc-host=host.docker.internal:3569)
142+
$(eval CMD_ARGS += --flow-network-id=flow-emulator --tx-state-validation=local-index --log-level=debug --gas-price=0 --log-writer=console --profiler-enabled=true --access-node-grpc-host=host.docker.internal:3569)
142143

143144
docker run -p 8545:8545 --add-host=host.docker.internal:host-gateway "$(CONTAINER_REGISTRY)/flow-evm-gateway:$(COMMIT)" $(CMD_ARGS)
144145

@@ -209,7 +210,7 @@ endif
209210
$(call check_and_append,coa-key,COA_KEY)
210211
$(call check_and_append,gas-price,GAS_PRICE)
211212

212-
$(eval CMD_ARGS += --ws-enabled=true --rate-limit=9999999 --rpc-host=0.0.0.0 --log-level=info)
213+
$(eval CMD_ARGS += --ws-enabled=true --rate-limit=9999999 --rpc-host=0.0.0.0 --log-level=info --tx-state-validation=local-index)
213214
$(call check_and_append,access-node-spork-hosts,ACCESS_NODE_SPORK_HOSTS)
214215

215216
docker run $(MODE) -p $(HOST_PORT):8545 -p 8080:8080 $(MOUNT) "$(CONTAINER_REGISTRY)/flow-evm-gateway:$(IMAGE_TAG)" $(CMD_ARGS)

deploy/systemd-docker/flow-evm-gateway.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ ExecStart=docker run --rm \
3232
--coa-key=${COA_KEY} \
3333
--access-node-spork-hosts=${ACCESS_NODE_SPORK_HOSTS} \
3434
--ws-enabled=true \
35+
--tx-state-validation=local-index \
3536
--rate-limit=9999999 \
3637
--rpc-host=0.0.0.0 \
3738
--log-level=error

deploy/systemd-docker/runtime-conf.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ FLOW_NETWORK_ID=FLOW_NETWORK_ID
66
INIT_CADENCE_HEIGHT=INITIAL_CADENCE_HEIGHT
77
COINBASE=EVM_COINBASE_ADDRESS
88
COA_ADDRESS=CADENCE_COA_ADDRESS
9-
COA_KEY=COA_PRIVATE_KEY
9+
COA_KEY=CADENCE_COA_KEY

0 commit comments

Comments
 (0)