Create the following function on a contract :
pub fn test_storage(env: Env, test_value: Symbol) {
env.storage().persistent().set(&symbol_short!("key"), &test_value);
}
When this is invoked with a test_value ending in a single digit then an error is thrown.
E.G : test_value = "test 0" would result in error but "test 00" works alright.
Why is this happening?
Is this expected?