Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timing issue with validator set submissions #324

Open
jkilpatr opened this issue Apr 11, 2021 · 0 comments
Open

Timing issue with validator set submissions #324

jkilpatr opened this issue Apr 11, 2021 · 0 comments
Assignees

Comments

@jkilpatr
Copy link
Contributor

 [2021-04-11T17:48:51Z ERROR relayer::valset_relaying] Valset cost estimate for Nonce 124 failed with Err(EthereumRestError(JsonRpcError { code: 3, message: "execution reverted: Validator signature does not match.", data: "Some(String(\"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002356616c696461746f72207369676e617475726520646f6573206e6f74206d617463682e0000000000000000000000000000000000000000000000000000000000\"))" }))

You may see this in test failures at some points. It's not a bug in the tests it's an actual timing bug in the code. Somehow it's possible for the Orchestrator and chain to enter a state where a successfully and correctly signed validator set is not submitted to the Ethereum chain. Instead an earlier validator set is submitted, constantly failing because it's not the correct value.

I've been chasing this one for a while and the only thing I've really confirmed is that the signatures are in fact correct, at no point is the signature itself wrong. This means it has to be an ordering/timing issue.

@jkilpatr jkilpatr self-assigned this Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant