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

Cannot parse config: unknown field ipc #52

Closed
maxidev opened this issue Apr 30, 2018 · 7 comments
Closed

Cannot parse config: unknown field ipc #52

maxidev opened this issue Apr 30, 2018 · 7 comments
Assignees

Comments

@maxidev
Copy link

maxidev commented Apr 30, 2018

INFO:bridge: Parsing cli arguments
INFO:bridge: Loading config
Cannot parse config

Caused by:
unknown field ipc, expected one of account, contract, request_timeout, poll_interval, required_confirmations, rpc_host, rpc_port, password for key home

Anyone else getting this? using file as shown on readme:

estimated_gas_cost_of_withdraw = 0
[home]
#account which you specified as validator on Home network
account = "0xETH_ACCOUNT_VALIDATOR_SOKOL"
#Full IPC path to your HOME node
ipc = "/Users/USERNAME/sokol-kovan-bridge/sokol-node/sokol-datadir/jsonrpc.ipc"

How many block confirmation to wait to send a tx

required_confirmations = 0

[home.contract]

bin = "HomeBridge_bytecode.bin"

[foreign]
account = "0xETH_ACCOUNT_VALIDATOR_KOVAN"
ipc = "/Users/USERNAME/sokol-kovan-bridge/kovan-node/kovan-datadir/jsonrpc.ipc"
required_confirmations = 0

[foreign.contract]
bin = "ForeignBridge_bytecode.bin"

[authorities]
accounts = [
"0xETH_ACCOUNT_VALIDATOR_KOVAN"
]
required_signatures = 1

[transactions]
home_deploy = { gas = 3000000, gas_price = 1000000000 }
foreign_deploy = { gas = 3000000, gas_price = 1000000000 }
deposit_relay = { gas = 3000000, gas_price = 1000000000 }
withdraw_relay = { gas = 3000000, gas_price = 1000000000 }
withdraw_confirm = { gas = 3000000, gas_price = 1000000000 }

@akolotov
Copy link
Contributor

akolotov commented May 1, 2018

the README.md is not updated since last commits. IPC functionality is deprecated in POA version of bridge. We are using RPC instead.

@igorbarinov
Copy link
Member

@akolotov please create an issue to update the doc

@akolotov
Copy link
Contributor

akolotov commented May 1, 2018

@igorbarinov we already have one: #34.
It was not address since we are waited for RPC functionality integrated. Now it is in so the docs will be updated.

@igorbarinov
Copy link
Member

I see. Please ask Yurii to update it then and close both issues

@maxidev
Copy link
Author

maxidev commented May 1, 2018

Meanwhile if something having the same issue I had to check out to commit (da91da9) to make it work with current sample config files.

@akolotov
Copy link
Contributor

akolotov commented May 5, 2018

@maxidev does the issue still persist?

@yrashk
Copy link
Contributor

yrashk commented Jun 13, 2018

The documentation and examples have been updated some time ago to reflect that IPC is no longer used.

@yrashk yrashk closed this as completed Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants