Skip to content

soroban-rpc: optimize simulateTransaction by querying ledger entry/expiration at the same time #18

Description

@tsachiherman

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions