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
The long faucet chain test opens many chains, and removes them from the wallet before starting the faucet. This step could be simplified by opening the chains with throwaway keys.
However, when attempting to do so, the test reported lots of error messages:
Failed to query validator about missing blocks [...] error=The received chain info response is invalid
And then the test eventually failed right after starting the faucet with the error:
Error: Failed to obtain the genesis configuration from the faucet
Proposal
Investigate why these errors are happening, and attempt to fix them.
The text was updated successfully, but these errors were encountered:
It looks like this only fails with sufficiently long chains. On main, with this change, the test passes for me with 300 iterations but I get lots of os error 16 with 1000 iterations.
I think the problem may be that in linera/main.rs, when handling OpenChain, we always add the new chain to the wallet. There, too, we should probably only do that if we have the secret key.
Adding forget_chain back does indeed solve it for me, despite the test_key(1). So the problem seems to be that the faucet fails to start up if it has 1000 chains in its wallet.
afck
linked a pull request
Oct 27, 2024
that will
close
this issue
Motivation
The long faucet chain test opens many chains, and removes them from the wallet before starting the faucet. This step could be simplified by opening the chains with throwaway keys.
However, when attempting to do so, the test reported lots of error messages:
And then the test eventually failed right after starting the faucet with the error:
Proposal
Investigate why these errors are happening, and attempt to fix them.
The text was updated successfully, but these errors were encountered: