Closed idirall22 closed 2 years ago
Interesting. It seems to be initWithValidators
, but if that is the case logs are out of order (this may happen due to async nature of this code). Can you describe how are you initialising the bridge?
I followed the instruction inside the README
@idirall22 did you manage to fix this issue. I can't reproduce it locally.
Hey @mfornet No I did not investigate it, but I run the same commands above one after one but still get the same error. If I have some time I'll investigate more.
The issue is with the near2eth relayer which inits the BridgeContract on eth with an empty object. We fixed this issue on the BSC branch https://github.com/aurora-is-near/rainbow-bridge/blob/bsc/near2eth/near2eth-block-relay/index.js#L73
When I run the bridge locally there is an issue with the Near2Ether relayer that keeps restarting and return this error: Error: Transaction has been reverted by the EVM
I investigated inside the code and it looks like this this initWithValidators is the source of the error.