Skip to content

Commit

Permalink
fix: add miner as an api (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa authored Dec 4, 2024
1 parent 01eccb4 commit 349d815
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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
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

0 comments on commit 349d815

Please sign in to comment.