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
We have integration tests which exercise expiration and restoration of contract asset balances. However, these integration tests do not exercise eviction of contract data ledger entries because eviction is only implemented in protocol 23.
Once we have a protocol 23 enabled stellar rpc docker image we should add a horizon integration test which evicts a contract asset balance and asserts the /assets response works as expected. The test should also attempt to restore the evicted contract asset balance and assert the /assets response now includes the restored contract asset balance.
The text was updated successfully, but these errors were encountered:
I tried using p-23 stellar-rpc docker image @Shaptic shared internally but I wasn’t able to run the Horizon SAC integration tests for protocol 23.
After checking with @2opremio, it turns out the rpc simulation library needs to be updated to support p-23 which depends on an updated soroban-rust-env and that isn’t available yet.
I’m moving this ticket to blocked for now, since we need p-23 support in RPC to create contracts with eviction metadata (which is only available starting in p-23).
However, there are a few config flags needed for testing eviction that can be added now and I’ll do that in a separate PR.
We have integration tests which exercise expiration and restoration of contract asset balances. However, these integration tests do not exercise eviction of contract data ledger entries because eviction is only implemented in protocol 23.
Once we have a protocol 23 enabled stellar rpc docker image we should add a horizon integration test which evicts a contract asset balance and asserts the /assets response works as expected. The test should also attempt to restore the evicted contract asset balance and assert the /assets response now includes the restored contract asset balance.
The text was updated successfully, but these errors were encountered: