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

gas_price parameter still mentioned in the error message #115

Open
akolotov opened this issue Jul 27, 2018 · 0 comments
Open

gas_price parameter still mentioned in the error message #115

akolotov opened this issue Jul 27, 2018 · 0 comments

Comments

@akolotov
Copy link
Contributor

After changes made under #80 gas price for bridge transactions is fetched from the oracle so there is no need to specify it in transactions section.
But this parameter still exists in the bridge data structures
https://github.com/poanetwork/poa-bridge/blob/13f78f5aad4a934c544cad21f6569dde90777f78/bridge/src/config.rs#L205-L212

So, if an incorrect parameter is specified in transactions section of the configuration file the error message will suggest to specify gas_price:

unknown field `some_parameter`, expected `gas` or `gas_price` for key `transactions.deposit_relay`
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

1 participant