This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Deal with duplicated accounts in ethstore #4533
Labels
F3-annoyance 💩
The client behaves within expectations, however this “expected behaviour” itself is at issue.
M4-core ⛓
Core client code / Rust.
P7-nicetohave 🐕
Issue is worth doing eventually.
Milestone
following (3) from #4366
After adding vaults functionality, duplicated accounts in keys-dir && vaults directories became a real pain. When vault is closed, we do not know nothing about its contents (addresses) => we can't fail when same account is inserted to the root dir/another vault.
After vault is reopened, there are two accounts for same address - one from root dir, another from vault. The problems are:
I do not see any good solution to this right now, as there's no point, where we can fail duplicated account insertion (vault with dup-account can be closed during insertion). To me, options are:
warn!()
when open containers with duplicated accounts, but it is not a solution, actually.The text was updated successfully, but these errors were encountered: