Skip to content

A contest to optimize gas as much as possible. The only goal is the tests must pass

Notifications You must be signed in to change notification settings

Riceee69/Gas-optimization

Repository files navigation

GAS OPTIMSATION

  • Your task is to edit and optimise the Gas.sol contract.
  • You cannot edit the tests &
  • All the tests must pass.
  • You can change the functionality of the contract as long as the tests pass.
  • Try to get the gas usage as low as possible.

To run tests & gas report with verbatim trace

Run: forge test --gas-report -vvvv

To run tests & gas report

Run: forge test --gas-report

To run a specific test

RUN:forge test --match-test {TESTNAME} -vvvv EG: forge test --match-test test_onlyOwner -vvvv

About

A contest to optimize gas as much as possible. The only goal is the tests must pass

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published