Problem: gas price configuration in examples

It's confusing that gas price oracle is used on the
home side of the bridge, as opposed to the foreign one,
because gas price is fixed on POA.

Solution: flip the gas price configuration example between sides
This commit is contained in:
Yurii Rashkovskii 2018-06-12 18:38:13 -07:00
parent 2a69de9397
commit ebfdc34ccd
No known key found for this signature in database
GPG Key ID: 1D60D7CFD80845FF
2 changed files with 9 additions and 6 deletions

View File

@ -87,15 +87,16 @@ rpc_host = "http://localhost"
rpc_port = 8545
required_confirmations = 0
password = "home_password.txt"
gas_price_oracle_url = "https://gasprice.poa.network"
gas_price_speed = "instant"
default_gas_price = 10_000_000_000 # 10 GWEI
default_gas_price = 1_000_000_000 # 1 GWEI
[foreign]
account = "0x006e27b6a72e1f34c626762f3c4761547aff1421"
rpc_host = "http://localhost"
rpc_port = 9545
required_confirmations = 0
gas_price_oracle_url = "https://gasprice.poa.network"
gas_price_speed = "instant"
default_gas_price = 10_000_000_000 # 10 GWEI
password = "foreign_password.txt"
[authorities]

View File

@ -6,9 +6,7 @@ required_confirmations = 0
rpc_host = "http://rpc.host.for.home"
rpc_port = 8545
password = "home_password.txt"
gas_price_oracle_url = "https://gasprice.poa.network"
gas_price_speed = "instant"
default_gas_price = 10_000_000_000 # 10 GWEI
default_gas_price = 1_000_000_000 # 1 GWEI
[foreign]
account = "0x006e27b6a72e1f34c626762f3c4761547aff1421"
@ -16,6 +14,10 @@ required_confirmations = 0
rpc_host = "https://rpc.host.for.foreign"
rpc_port = 443
default_gas_price = 5_000_000_000 # 5 GWEI
gas_price_oracle_url = "https://gasprice.poa.network"
gas_price_speed = "instant"
default_gas_price = 10_000_000_000 # 10 GWEI
[authorities]
required_signatures = 1