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
Core enforces a set of rules on the Asset XDR structure when establishing a trustline. SAC doesn't do that, so it's possible to 'wrap' an asset that may never exist in core and then mint it on Soroban. This might be misleading/error-prone, so we should implement the same validation logic in Host as in Core.
The text was updated successfully, but these errors were encountered:
### What
Validate assets when trying to create SAC instance.
Resolves#1262
### Why
We should only create SAC instances for assets that are potentially
usable; instances based on invalid assets can never be used with classic
accounts, but can be used on Soroban, which might be a source of
confusion/bugs.
### Known limitations
N/A
Core enforces a set of rules on the
Asset
XDR structure when establishing a trustline. SAC doesn't do that, so it's possible to 'wrap' an asset that may never exist in core and then mint it on Soroban. This might be misleading/error-prone, so we should implement the same validation logic in Host as in Core.The text was updated successfully, but these errors were encountered: