Closed yash-atreya closed 3 weeks ago
Closes #1553
Introduce the enum StorageKeyKind with variants Hash(B256) and Number(U256). Used in JsonStorageKey. Tries to deserialize a string into the Hash variant first.
StorageKeyKind
Hash(B256)
Number(U256)
JsonStorageKey
Hash
Motivation
Closes #1553
Solution
Introduce the enum
StorageKeyKind
with variantsHash(B256)
andNumber(U256)
. Used inJsonStorageKey
. Tries to deserialize a string into theHash
variant first.PR Checklist