cosmic-swingset chain transcript and replay #10431
Labels
cosmic-swingset
package: cosmic-swingset
enhancement
New feature or request
performance
Performance related issues
What is the Problem Being Solved?
Description of the Design
A transcript of the bridge interactions between cosmic-swingset and golang cosmos, along with a transcript of the blocking sends received by cosmos. Some parts may need to be captured at a higher level to allow reproducing the semantics of the execution (action queue access, mailbox).
A good start is the old PR doing just this on the pismo chain: #6931
We've since added a lot of features expanding the communication (swing-store export data) as well as narrowing the execution model (run to completion).
Some recent PRs have also introduced refactorings helping layer cosmic-swingset better to be driven without a cosmos side (see #10165)
A nice bonus might also be the ability to use a cosmos state-sync snapshot or genesis export as starting point for the state of a replay (e.g. if vstorage is not strictly checked but instead recreated)
Security Considerations
None, tooling and telemetry only.
Scaling Considerations
Adding this optional feature should not negatively affect the performance of nodes not producing the transcript.
Test Plan
Replay of u17 (including upgrade block)
Upgrade Considerations
Should not be consensus affecting. Need to be able to apply as patch on u17.
The text was updated successfully, but these errors were encountered: