Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Cannot re-calling relay_header anymore. #2

Closed
hackfisher opened this issue Mar 2, 2020 · 1 comment
Closed

Cannot re-calling relay_header anymore. #2

hackfisher opened this issue Mar 2, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@hackfisher
Copy link
Contributor

darwinia-network/darwinia#214

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

@hackfisher hackfisher added the bug Something isn't working label Mar 2, 2020
@clearloop
Copy link
Contributor

clearloop commented Apr 11, 2020

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

const err = `${doc.name}.${doc.section} - ${doc.documentation.join(" ")}`;

: telling you header exists


This will not happen

This will not happen in cmd-tools:

  • in static mode proof tests, cmd-tools will reset a header before we relay the new one
  • in dynamic mode proof tests, cmd-tools will relay header based on the bestheaderhash on darwinia
  • in relay service, cmd-tools will check the bestheaderhash and auto-restart when this happens

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants