Skip to content

Ethereum transaction calldata compressor, designed for layer 2

License

Notifications You must be signed in to change notification settings

OrderlyNetwork/calldata-compressor-rs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calldata-compressor-rs

A Compression algorithm for EVM abi.encoded data, especially for EVM calldata.

This project is a Rust implementation of the Calldata Compressor, based on 1inch/calldata-compressor

Features

Test & Benchmark

Test

cargo nextest run -r

Benchmarks

# valgrind check
cargo valgrind test
valgrind --tool=dhat ./target/debug/deps/calldata_compressor-92413ab13fccdd8f
# generate flamegraph
cargo flamegraph --unit-test -- test_compress_big

About

Ethereum transaction calldata compressor, designed for layer 2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 99.5%
  • Just 0.5%