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
In stellar/stellar-cli#916, we combined the database query to retrieve the ledger key + expiration key at the same time ( for code/data entries ). The above PR also updated the RPC calls to return these.
However, the internal usage of simulateTransaction was never taking advantage of that.
Remaining work
The SnapshotSourceGet should be able to return the expiration round as well. That would allow us to make a single query from rust->go instead of two.
The text was updated successfully, but these errors were encountered:
mollykarcher
changed the title
soroban-rpc: use the expiration ledger during simulateTransaction
soroban-rpc: optimize simulateTransaction by querying ledger entry/expiration at the same time
Oct 31, 2023
Background
In stellar/stellar-cli#916, we combined the database query to retrieve the ledger key + expiration key at the same time ( for code/data entries ). The above PR also updated the RPC calls to return these.
However, the internal usage of simulateTransaction was never taking advantage of that.
Remaining work
The
SnapshotSourceGet
should be able to return the expiration round as well. That would allow us to make a single query from rust->go instead of two.The text was updated successfully, but these errors were encountered: