-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dettaching Native NEP5 TState into separated keys #831
Dettaching Native NEP5 TState into separated keys #831
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