Skip to content

couragetec/verification-solidity

 
 

Repository files navigation

Verification Solidity

This repository is for testing the gas costs of different verification strategies.

Set up

npm install

Tests

truffle develop # start a local blockchain
truffle test # run tests

Expected output

# Contract: Verification
#     list
#       ✓ should verify commitments against data set (46ms)
# Verification cost: 3827
#       ✓ should get expected verification gas expenditures (112ms)
#     merkle tree
#       ✓ should verify commitments against data set (91ms)
# Verification cost: 285999
#       ✓ should get expected verification gas expenditures (123ms)

About

Solidity verification gas cost tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 52.0%
  • JavaScript 48.0%