pampero
Building
Instruction for building crystal project and rust library
$ (cd verkle_crypto; cargo build)
$ LIBRARY_PATH=$(PWD)/verkle_crypto/target/debug:$LIBRARY_PATH CRYSTAL_OPTS="--link-flags=-Wl,-ld_classic" GC_DONT_GC=1 crystal build src/main.cr -o pampero
Show block details
Block at latest slot
$ LIBRARY_PATH=$(PWD)/verkle_crypto/target/debug:$LIBRARY_PATH CRYSTAL_OPTS="--link-flags=-Wl,-ld_classic" GC_DONT_GC=1 crystal run src/dump_block.cr
Block at slot 831627
$ LIBRARY_PATH=$(PWD)/verkle_crypto/target/debug:$LIBRARY_PATH CRYSTAL_OPTS="--link-flags=-Wl,-ld_classic" GC_DONT_GC=1 crystal run src/dump_block.cr -- 831627
Unit tests
To run all the tests
$ LIBRARY_PATH=$(PWD)/verkle_crypto/target/debug:$LIBRARY_PATH CRYSTAL_OPTS="--link-flags=-Wl,-ld_classic" GC_DONT_GC=1 crystal spec
Repository
pampero
Owner
Statistic
- 0
- 1
- 5
- 0
- 3
- 2 months ago
- May 23, 2024
License
GNU General Public License v3.0
Links
Synced at
Thu, 07 Nov 2024 16:14:12 GMT
Languages