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

Default gas price is not initialized for ForeignBridge contract in erc-to-erc mode #86

Closed
akolotov opened this issue Sep 23, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@akolotov
Copy link
Collaborator

Due to incorrect copy of ForeingBridge implementation when erc-to-erc bridge mode was introduced, the following line was missed:

https://github.com/poanetwork/poa-bridge-contracts/blob/fef87310b523be908b16295d777fd0215878dad8/contracts/upgradeable_contracts/native_to_erc20/ForeignBridgeNativeToErc.sol#L35

So, it caused uninitialized gasPrice value in the storage after deployment and configuration of ForeignBridge contract:

https://github.com/poanetwork/poa-bridge-contracts/blob/fef87310b523be908b16295d777fd0215878dad8/contracts/upgradeable_contracts/erc20_to_erc20/ForeignBridgeErcToErc.sol#L15-L29

@akolotov
Copy link
Collaborator Author

Addressed by 38565d2.

@ghost ghost removed the review label Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants