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
Nothing crazy here. The newtype pattern's benefits do not extend to response attributes. Token ID attrs should be formatted such that transactions can be easily searched and indexed by token id.
Environment
OS: MacOS
Software version: cw-ics721-bridge
Steps to Reproduce
Steps to reproduce the behavior:
Transfer cw-ics721-bridge
Expected and Actual Behavior
Expected:
.add_attribute("token_id",String::from(token_id))
"value": "mytokenid"
Actual:
.add_attribute("token_id", token_id)
"value": "[TokenId(\"mytokenid\")]"
Error Stack
NA
Additional Context
NA
The text was updated successfully, but these errors were encountered:
Summary of Bug
Nothing crazy here. The
newtype
pattern's benefits do not extend to response attributes. Token ID attrs should be formatted such that transactions can be easily searched and indexed by token id.Environment
cw-ics721-bridge
Steps to Reproduce
Steps to reproduce the behavior:
Transfer
cw-ics721-bridge
Expected and Actual Behavior
Expected:
Actual:
Error Stack
NA
Additional Context
NA
The text was updated successfully, but these errors were encountered: