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
Even if the parameters HOME_START_BLOCK and FOREIGN_START_BLOCK are configured in .env file they will not be used when the bridge is run first time since they are strings where as the code expects them to be integers:
Deploy the bridge contracts in the erc-to-erc mode. Store bridgeDeploymentResults.json created after the deployment.
Wait for few blocks produced
Transfer tokens from Foreign network
Wait for few blocks produced
Configure .env of the bridge instance and points HOME_START_BLOCK and FOREIGN_START_BLOCK with values inserted in bridgeDeploymentResults.json after the contracts deployment.
Run the bridge processes with empty Redis DB.
As soon as the watcher-erc-affirmation-request process started following appeared in the terminal:
"Found 0 Transfer events"
and the corresponding requests to relay assets (transfer calls) does not handled by the bridge.
The text was updated successfully, but these errors were encountered:
Even if the parameters
HOME_START_BLOCK
andFOREIGN_START_BLOCK
are configured in.env
file they will not be used when the bridge is run first time since they are strings where as the code expects them to be integers:https://github.com/poanetwork/bridge-nodejs/blob/8359556d9e9976a9388720d97de70e1bd7b35af8/src/watcher.js#L27
https://github.com/poanetwork/bridge-nodejs/blob/8359556d9e9976a9388720d97de70e1bd7b35af8/src/watcher.js#L106-L112
Scenario to reproduce:
erc-to-erc
mode. StorebridgeDeploymentResults.json
created after the deployment.Foreign
network.env
of the bridge instance and pointsHOME_START_BLOCK
andFOREIGN_START_BLOCK
with values inserted inbridgeDeploymentResults.json
after the contracts deployment.As soon as the
watcher-erc-affirmation-request
process started following appeared in the terminal:and the corresponding requests to relay assets (
transfer
calls) does not handled by the bridge.The text was updated successfully, but these errors were encountered: