Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve gas efficiency of EnumerableMap #2518

Merged
merged 23 commits into from
Feb 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
dad7bc2
Addin support for eth-gas-reporter
Amxx Feb 1, 2021
1f48c6f
export ethgasreport to file
Amxx Feb 3, 2021
fe4c470
Fix hardhat config to support optimizations
Amxx Feb 3, 2021
6813eb3
add eth-gas-report to github workflows
Amxx Feb 3, 2021
26e84ef
save gas usage report produced through actions
Amxx Feb 3, 2021
7c74c73
save eth-gas-report from file
Amxx Feb 3, 2021
d166ca8
Integrate eth-gas-report in the test workflow + log to stdout
Amxx Feb 4, 2021
d0b0b95
Merge remote-tracking branch 'origin/master' into tooling/eth-gas-rep…
Amxx Feb 4, 2021
7630b6a
use an envvar (ENABLE_GAS_REPORT) to enable/disable gas-report
Amxx Feb 4, 2021
520f46d
Merge branch 'tooling/eth-gas-reporter' into refactor/new-enumerablemap
Amxx Feb 8, 2021
0841c1c
Add a EnumerableSet based version of EnumerableMap
Amxx Feb 8, 2021
487c92f
rename
Amxx Feb 8, 2021
04033fe
use assembly to optimize EnumerableSet
Amxx Feb 9, 2021
6cb0966
moving enumerablemap2 changes into enumerablemap
Amxx Feb 9, 2021
7402f58
Merge branch 'master' into refactor/new-enumerablemap
Amxx Feb 9, 2021
27a0a89
assembly isn't more efficient for EnumerableSet.add
Amxx Feb 9, 2021
97d8ce8
re-enable assembly version of EnumerableSet._add
Amxx Feb 9, 2021
a3e228c
Merge branch 'master' into refactor/new-enumerablemap
Amxx Feb 12, 2021
eb8b45d
Merge branch 'master' into refactor/new-enumerablemap
Amxx Feb 17, 2021
bc69528
Update contracts/utils/EnumerableSet.sol
Amxx Feb 17, 2021
2392d70
revert back to non-assembly EnumerableSet
Amxx Feb 18, 2021
3958bd3
add changelog entry
Amxx Feb 18, 2021
acf188f
reword changelog entry
frangio Feb 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
save gas usage report produced through actions
  • Loading branch information
Amxx committed Feb 3, 2021
commit 26e84ef04339354de184e681328b66ebb6ba989a
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
restore-keys: npm-v2-
- run: npm ci
if: steps.cache.outputs.cache-hit != 'true'
- run: npm run test
- run: echo "::set-output name=ethgasrepport::$(npm run test)"
id: ethgasreport
env:
REPORT_GAS: 1