Skip to content

morph-l2/morph-da-codec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

morph-da-codec

Morph DA zstd decoder shared by Rust zkVM guest code and Go node code.(There will be encoder in the future)

Semantics

  • input payload omits zstd magic bytes;
  • decoder prepends 28 b5 2f fd internally;
  • only the first complete zstd frame is decoded;
  • bytes after the first frame are ignored;
  • first frame content size is required and validated.

Build

make build-zstd-ffi
make install-decoder-bindings
make test

About

Morph DA zstd codec

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors