You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At this moment a validation of the configuration parameters (deploy/src/loadEnv.js) allows to avoid very trivial mistakes in the configuration. But sometimes the bridge adopters meet the issues related with the contract internals (e.g. FOREIGN_MAX_AMOUNT_PER_TX cannot be equal to FOREIGN_DAILY_LIMIT in the native-to-erc20 mode or necessity to point out a real contract as the ERC20 token on the foreign side in the erc20-to-erc20 mode). In this case they get the initialization of the bridge contracts failed without detailed description of the problem and raise questions in the forum/gitter/slack etc.
It is necessary to review the code of the bridge contracts and implement the corresponding checks on the deployment script side as so the adopters receive meaningful information about the contracts deployment/initialization failures.
The text was updated successfully, but these errors were encountered:
At this moment a validation of the configuration parameters (
deploy/src/loadEnv.js
) allows to avoid very trivial mistakes in the configuration. But sometimes the bridge adopters meet the issues related with the contract internals (e.g.FOREIGN_MAX_AMOUNT_PER_TX
cannot be equal toFOREIGN_DAILY_LIMIT
in thenative-to-erc20
mode or necessity to point out a real contract as the ERC20 token on the foreign side in theerc20-to-erc20
mode). In this case they get the initialization of the bridge contracts failed without detailed description of the problem and raise questions in the forum/gitter/slack etc.It is necessary to review the code of the bridge contracts and implement the corresponding checks on the deployment script side as so the adopters receive meaningful information about the contracts deployment/initialization failures.
The text was updated successfully, but these errors were encountered: