-
Notifications
You must be signed in to change notification settings - Fork 39
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
Comments
the README.md is not updated since last commits. IPC functionality is deprecated in POA version of bridge. We are using RPC instead. |
@akolotov please create an issue to update the doc |
@igorbarinov we already have one: #34. |
I see. Please ask Yurii to update it then and close both issues |
Meanwhile if something having the same issue I had to check out to commit (da91da9) to make it work with current sample config files. |
@maxidev does the issue still persist? |
The documentation and examples have been updated some time ago to reflect that IPC is no longer used. |
INFO:bridge: Parsing cli arguments
INFO:bridge: Loading config
Cannot parse config
Caused by:
unknown field
ipc
, expected one ofaccount
,contract
,request_timeout
,poll_interval
,required_confirmations
,rpc_host
,rpc_port
,password
for keyhome
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 }
The text was updated successfully, but these errors were encountered: