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
contracts/marketplace.algo.ts:300:5 error: Not Supported: Serializing object to bytes
this.listings(key).value = {
^~~~~~~~~~~~~~~~~~
contracts/marketplace.algo.ts:32:3 error: lib.d.ts::object is not a valid type for storage
listings = BoxMap<ListingKey, ListingValue>({ keyPrefix: "listings" });
^~~~~~~~
info: Compilation halted due to errors
Solution
Proposal
Automatically handle serialization of native objects in state
Pros and Cons
Easier TEALScript migration and more familiar to TypeScript developers
Dependencies
The text was updated successfully, but these errors were encountered:
Problem
PuyaTS does not currently support native objects in state
Results in errors such as
Solution
Proposal
Automatically handle serialization of native objects in state
Pros and Cons
Easier TEALScript migration and more familiar to TypeScript developers
Dependencies
The text was updated successfully, but these errors were encountered: