darwinia-network / darwinia-offchain-tools

Ethereum bridge relayer tools
3 stars 4 forks source link

Cannot re-calling relay_header anymore. #2

Closed hackfisher closed 4 years ago

hackfisher commented 4 years ago

https://github.com/darwinia-network/darwinia/issues/214

So the proof and relay tools need to be fixed and updated, especially after child process get killed.

clearloop commented 4 years ago

We can relay one header for once, in cmd-tools, the second time we trying to relay a same header which is on darwinia, will raise an error at

https://github.com/darwinia-network/darwinia-offchain-tools/blob/d0548c56445f046c0e45c55df3a6b932d06f58d9/cmd-tools/src/utils.ts#L91

: telling you header exists


This will not happen

This will not happen in cmd-tools: