Remove identifier in ledger keys. #3056
AurelienFT
started this conversation in
Ideas
Replies: 1 comment
-
That would be nice ! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, in ledger keys we save an identifier to distinguish if the key is a balance, a bytecode or a datastore entry.
With #2970 the bytecode will dissapear. We could now remove the identifier from key and say that if the key size == address size then it's a balance otherwise if the key is longer it's a datastore key.
This will also help in storage costs to avoid people paying for the storage of this byte.
Beta Was this translation helpful? Give feedback.
All reactions