left-curve / grug

Grug
https://leftcurve.software/grug
44 stars 5 forks source link

Prevent writing empty keys? #5

Closed larry0x closed 3 days ago

larry0x commented 5 months ago

We need to think about whether it's safe to allow contracts to write a KV pair where the key is empty (b"").

larry0x commented 3 days ago

Unnecessary. Unlike Cosmos SDK, nowhere in our stack we may confuse an empty value with a non-existent value.