Skip to content

Commit

Permalink
Update API permissions in integration tests and benchmarking code
Browse files Browse the repository at this point in the history
  • Loading branch information
wangereth committed Apr 12, 2024
1 parent 0855036 commit 5d146d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/integration/go_ethereum/test_goethereum_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _geth_command_arguments(rpc_port, base_geth_command_arguments, geth_version)
"--http.port",
rpc_port,
"--http.api",
"admin,eth,net,web3,personal,txpool",
"admin,debug,eth,net,web3,personal,txpool",
"--ipcdisable",
"--allow-insecure-unlock",
"--miner.etherbase",
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/go_ethereum/test_goethereum_legacy_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _geth_command_arguments(ws_port, base_geth_command_arguments, geth_version):
"--ws.port",
ws_port,
"--ws.api",
"admin,eth,net,web3,personal",
"admin,debug,eth,net,web3,personal",
"--ws.origins",
"*",
"--ipcdisable",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _geth_command_arguments(ws_port, base_geth_command_arguments, geth_version):
"--ws.port",
ws_port,
"--ws.api",
"admin,eth,net,web3,personal",
"admin,debug,eth,net,web3,personal",
"--ws.origins",
"*",
"--ipcdisable",
Expand Down
2 changes: 1 addition & 1 deletion web3/tools/benchmark/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def _geth_command_arguments(self, datadir: str) -> Sequence[str]:
"--http.port",
self.rpc_port,
"--http.api",
"admin,eth,net,web3",
"admin,debug,eth,net,web3",
"--ipcdisable",
"--allow-insecure-unlock",
"--miner.etherbase",
Expand Down

0 comments on commit 5d146d9

Please sign in to comment.