sovereign-sdk icon indicating copy to clipboard operation
sovereign-sdk copied to clipboard

`demo-simple-stf` uses native code inside `apply_slot`.

Open citizen-stig opened this issue 1 year ago • 0 comments

Summary

demo-simple-stf package has several issues:

  • CheckHashPreimageStf uses BlobReaderTrait::full_data which is not available in ZK, so this STF cannot be verified
  • README.md is outdated

Desired outcome

  • Accomodate correct usage of

citizen-stig avatar Nov 01 '23 18:11 citizen-stig

Another example: Sort is preceded by Handoff, but we could have a HeapHandoff or something that would do most of Sort, and save rebuffering.

jhellerstein avatar Oct 31 '22 16:10 jhellerstein

@zzlk ~~is~~ found room for optimizing the current vec handoff #480

MingweiSamuel avatar Mar 13 '23 16:03 MingweiSamuel

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

jhellerstein avatar May 08 '23 17:05 jhellerstein

moved to #1500

MingweiSamuel avatar Nov 21 '24 17:11 MingweiSamuel