Skip to content

Commit

Permalink
fix: add miner as an api
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Dec 3, 2024
1 parent 50f0193 commit 7b76306
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/el/op-besu/op_besu_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,13 @@ def get_config(
"--rpc-http-enabled=true",
"--rpc-http-host=0.0.0.0",
"--rpc-http-port={0}".format(RPC_PORT_NUM),
"--rpc-http-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3",
"--rpc-http-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3,MINER",
"--rpc-http-cors-origins=*",
"--rpc-http-max-active-connections=300",
"--rpc-ws-enabled=true",
"--rpc-ws-host=0.0.0.0",
"--rpc-ws-port={0}".format(WS_PORT_NUM),
"--rpc-ws-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3",
"--rpc-ws-api=ADMIN,CLIQUE,ETH,NET,DEBUG,TXPOOL,ENGINE,TRACE,WEB3,MINER",
"--p2p-enabled=true",
"--p2p-host=" + ethereum_package_constants.PRIVATE_IP_ADDRESS_PLACEHOLDER,
"--p2p-port={0}".format(discovery_port),
Expand Down
2 changes: 1 addition & 1 deletion src/el/op-erigon/op_erigon_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def get_config(
"--http.addr=0.0.0.0",
"--http.vhosts=*",
"--http.corsdomain=*",
"--http.api=admin,engine,net,eth,web3,debug",
"--http.api=admin,engine,net,eth,web3,debug,miner",
"--ws",
"--ws.port={0}".format(WS_PORT_NUM),
"--allow-insecure-unlock",
Expand Down
4 changes: 2 additions & 2 deletions src/el/op-geth/op_geth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ def get_config(
"--http.addr=0.0.0.0",
"--http.vhosts=*",
"--http.corsdomain=*",
"--http.api=admin,engine,net,eth,web3,debug",
"--http.api=admin,engine,net,eth,web3,debug,miner",
"--ws",
"--ws.addr=0.0.0.0",
"--ws.port={0}".format(WS_PORT_NUM),
"--ws.api=admin,engine,net,eth,web3,debug",
"--ws.api=admin,engine,net,eth,web3,debug,miner",
"--ws.origins=*",
"--allow-insecure-unlock",
"--authrpc.port={0}".format(ENGINE_RPC_PORT_NUM),
Expand Down
2 changes: 1 addition & 1 deletion src/el/op-nethermind/op_nethermind_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def get_config(
"--datadir=" + EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
"--Init.WebSocketsEnabled=true",
"--JsonRpc.Enabled=true",
"--JsonRpc.EnabledModules=net,eth,consensus,subscribe,web3,admin",
"--JsonRpc.EnabledModules=net,eth,consensus,subscribe,web3,admin,miner",
"--JsonRpc.Host=0.0.0.0",
"--JsonRpc.Port={0}".format(RPC_PORT_NUM),
"--JsonRpc.WebSocketsPort={0}".format(WS_PORT_NUM),
Expand Down
4 changes: 2 additions & 2 deletions src/el/op-reth/op_reth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ def get_config(
"--http.corsdomain=*",
# WARNING: The admin info endpoint is enabled so that we can easily get ENR/enode, which means
# that users should NOT store private information in these Kurtosis nodes!
"--http.api=admin,net,eth,web3,debug,trace",
"--http.api=admin,net,eth,web3,debug,trace,miner",
"--ws",
"--ws.addr=0.0.0.0",
"--ws.port={0}".format(WS_PORT_NUM),
"--ws.api=net,eth",
"--ws.api=net,eth,miner",
"--ws.origins=*",
"--nat=extip:" + ethereum_package_constants.PRIVATE_IP_ADDRESS_PLACEHOLDER,
"--authrpc.port={0}".format(ENGINE_RPC_PORT_NUM),
Expand Down

0 comments on commit 7b76306

Please sign in to comment.