philipstanislaus / snowbridge-experiments

Solidity verification gas cost tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 62.7%Language:Solidity 37.3%