Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate config.ini files for node and rpc #514

Open
nsjames opened this issue Apr 30, 2023 · 1 comment
Open

Separate config.ini files for node and rpc #514

nsjames opened this issue Apr 30, 2023 · 1 comment
Labels
enhancement New feature or request 👍 lgtm

Comments

@nsjames
Copy link
Member

nsjames commented Apr 30, 2023

Right now on first run of the eos-evm-node a config-files/config.ini is created which has value for both the eos-evm-node and the eos-evm-rpc.

Uncommented out keys and adding values works for the eos-evm-node, but then prevents the eos-evm-rpc from being able to be run without manually specifying another config.ini file with only the rpc values.

nsjames@ubuntu:~/eos-evm$ eos-evm-rpc --api-spec=eth,debug,net,trace --chain-id=17777 --http-port=0.0.0.0:8881 --eos-evm-node=127.0.0.1:8080 --chaindata=./chain-data
  CRIT [04-30|15:52:20.520 UTC] Unknown option 'chain-data' inside the config file /home/nsjames/eos-evm/config-dir/config.ini
nsjames@ubuntu:~/eos-evm$
@cc32d9
Copy link

cc32d9 commented May 9, 2023

eos-evm-node --help prints also options for rpc_plugin. I suppose, rpc_plugin should not be even compiled into the node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request 👍 lgtm
Projects
Status: Todo
Development

No branches or pull requests

3 participants