Skip to content

Instantly share code, notes, and snippets.

@MathisGD

MathisGD/output Secret

Created July 10, 2023 16:48
Show Gist options
  • Save MathisGD/af514c4d707117c4e6df0ee1f632d90b to your computer and use it in GitHub Desktop.
Save MathisGD/af514c4d707117c4e6df0ee1f632d90b to your computer and use it in GitHub Desktop.
cost of calling a contract does not depend on its size - results
% forge t -vv solidity-sandbox
[⠒] Compiling...
[⠒] Compiling 1 files with 0.8.20^C
% forge t -vv solidity-sandbox
[⠃] Compiling...
[⠔] Compiling 1 files with 0.8.20
[⠑] Solc 0.8.20 finished in 188.89s
Compiler run successful!
Running 1 test for src/Counter.sol:TesstCounterShort
[PASS] test() (gas: 10321)
Test result: ok. 1 passed; 0 failed; finished in 17.88ms
Running 1 test for src/Counter.sol:TesstCounterLong
[PASS] test() (gas: 10321)
Test result: ok. 1 passed; 0 failed; finished in 17.87ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment