Dettaching Native NEP5 TState into separated keys#831
Dettaching Native NEP5 TState into separated keys#831igormcoelho wants to merge 4 commits intoneo-project:masterfrom
Conversation
|
I like it, because is easier to extend in the future, but maybe is worst optimized because the key, the address, is duplicated |
|
Thanks Shargon! On a prefix tree (example MPT), the key "abcdef1" and "abcdef2" will share the same base "path" ('abcdef'), so it doesn't matter how many suffixes you create, base key space is the same. So, it's important that field options come as a suffix, not prefix. |
|
I think |
Ok Erik, I also think |
|
Coming back to this when contract inheritance is available. |
This is a draft implementation for #830