Closed fkbenjamin closed 3 years ago
Dirk keeps a cache of known and unknown accounts, to speed up signing. In this situation an account was added, but after a request to Dirk had been made for the account. In this situation Dirk retains the negative cache entry, hence the mismatch.
Invalidating the cache here would be relatively expensive in terms of going back to the filesystem each time to look up potential negative entries, and so is not something that we would look to implement. As mentioned, a restart would clear the cache in this situation and allow Dirk to use the new account.
After a new validator got activated on mainnet, Vouch tried to access the account on Dirk, which failed to obtain the account from ethdo. Listing all accounts in ethdo, the account that Dirk failed to obtain was visible there.
Here is the log from Dirk:
After a simple restart of Dirk, it was able to find the account and sign messages with it.