Closed dmkozh closed 11 months ago
Validate assets when trying to create SAC instance.
Resolves https://github.com/stellar/rs-soroban-env/issues/1262
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.
N/A
What
Validate assets when trying to create SAC instance.
Resolves https://github.com/stellar/rs-soroban-env/issues/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