sovereign-sdk
sovereign-sdk copied to clipboard
`demo-simple-stf` uses native code inside `apply_slot`.
Summary
demo-simple-stf
package has several issues:
-
CheckHashPreimageStf
usesBlobReaderTrait::full_data
which is not available in ZK, so this STF cannot be verified - README.md is outdated
Desired outcome
- Accomodate correct usage of
Another example: Sort is preceded by Handoff, but we could have a HeapHandoff or something that would do most of Sort, and save rebuffering.
@zzlk ~~is~~ found room for optimizing the current vec handoff #480
Required:
- StatelessHandoff doesn't own state, it participates in the state of its surrounding components
Future Optimization Rule:
- Rewrite rules to identify when we can replace Handoff with StatelessHandoff
moved to #1500