Update dApp tests to support the single-asset balance model. #81
Labels
bug
Something isn't working
soroban-scrum
A label to make relevant issues appear in the Platform Scrum board.
After #80, the tests still need to be updated.
Based on Discord threads (1 and 2), we need to manually create a
LedgerSnapshot
instance containing thexdr::TrustLineEntry
s to the token admin for each of the participating accounts.The following code gets part of the way there, but it relies on importing
stellar_xdr
as a separate crate, which conflicts withstellar_sdk::xdr
, meaning the trustline entries can't actually be added to theentries
vector due to differing types:Once
stellar_sdk
exposes all XDR types (or provides a convenient way to make trustlines), this can be modified to work.The text was updated successfully, but these errors were encountered: