soroban-cli: add replay command to introspect diagnostic events, events, etc
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by reviewing the soroban-cli contract command and the existing RPC or Horizon transaction retrieval paths. Define how soroban contract replay --tx <txid> should retrieve and expose diagnostic events, events, and related transaction information, then verify that it can replay any transaction without requiring events to have been enabled at execution time.
Written by the indexing model from the issue text.
Description
What problem does your feature solve?
Developers aren't always online when something goes wrong with their contract. It's important that developers can introspect their contracts in pubnet/production without being connected at the time.
To a lesser degree it's unreasonable, I think, to expect that RPCs will always have diagnostic events on given the additional resources they cost, and for the most part their unimportants in the happy path which should be most of the time.
What would you like to see?
A new command added to the soroban-cli that can replay any transaction:
soroban contract replay --tx <txid>
What alternatives are there?
Assume developers will have access to an RPC or Horizon with diagnostic events enabled that they can use to look back.
- Dominant language
- Rust
- Stars
- 123
- Forks
- 141
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 17
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stellar/stellar-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
stellar/stellar-cli#2384 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
stellar/stellar-cli#2347 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
stellar/stellar-cli#2723 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
stellar/stellar-cli#2722 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
stellar/stellar-cli#2703 ·
All issues in stellar/stellar-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100