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
no coverage for js-soroban-client using BumpFootprintExpirationOp and RestoreFootprintOp operations.
What would you like to see?
new test coverage with steps/scenarios that trigger NODEJS(js-soroban-client) to invoke BumpFootprintExpirationOp and RestoreFootprintOpoperations and verify the expected response and outcomes:
for bumping contract entries to newer expiry ledgers
for restoring contract entires that were evicted
Identify how expired/evicted contract data entry can be created/initiated on target network under test during the test timeframe for local or remote network usage(testnet, futurenet). Are there networks that it won't be possible?
What is best entry point in javascript for a test to exercise state expirations, test should validate that javascript navigates the expected responses from invoke host fn failing first due to expiry has happened to contract entries, and then ensuing bump/restores done and contract fn invoked succesfully afterwards?
Do we need to create a new contract that is purpose built to enable with testing expiration, i.e. it has state, and can set expiration on it to very small timeframe so test can trigger correct outcomes?
What alternatives are there?
The text was updated successfully, but these errors were encountered:
sreuland
changed the title
System Test: Add coverage for state expiration outcomes
System Test: as a DApp developer, I'm able to bump and restore ledger entries
Oct 3, 2023
What problem does your feature solve?
no coverage for js-soroban-client using
BumpFootprintExpirationOp
andRestoreFootprintOp
operations.What would you like to see?
new test coverage with steps/scenarios that trigger NODEJS(js-soroban-client) to invoke
BumpFootprintExpirationOp
andRestoreFootprintOp
operations and verify the expected response and outcomes:Identify how expired/evicted contract data entry can be created/initiated on target network under test during the test timeframe for local or remote network usage(testnet, futurenet). Are there networks that it won't be possible?
What is best entry point in javascript for a test to exercise state expirations, test should validate that javascript navigates the expected responses from invoke host fn failing first due to expiry has happened to contract entries, and then ensuing bump/restores done and contract fn invoked succesfully afterwards?
Do we need to create a new contract that is purpose built to enable with testing expiration, i.e. it has state, and can set expiration on it to very small timeframe so test can trigger correct outcomes?
What alternatives are there?
The text was updated successfully, but these errors were encountered: