You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that you end up paying more to 1) hash the string and 2) store more bytes than with just the account_id.
Depends on the size of the account id. Account Ids can be up to 64 bytes in length, whereas the hash is always 32. I'm not sure if this change was benchmarked, but possibly was done to close the gap in costs between long and short lengths?
This doesn't affect the interface so it's really not part of the standard and if for whatever reason someone wanted to modify this, they would have the freedom to.
near-sdk-rs/near-contract-standards/src/non_fungible_token/core/core_impl.rs
Lines 362 to 371 in ddc5b14
It seems that you end up paying more to 1) hash the string and 2) store more bytes than with just the
account_id
.The text was updated successfully, but these errors were encountered: