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

v2.0 #170

Merged
merged 30 commits into from
Mar 14, 2024
Merged

v2.0 #170

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
732cf8f
Reorganize tests (#169)
cgewecke Feb 11, 2024
e73890f
Move all logic out of index.ts to tasks and utils folders/files (#171)
cgewecke Feb 11, 2024
36a6c03
Swap TSLint for ESLint and lint (#172)
cgewecke Feb 11, 2024
d0f678a
Port eth-gas-reporter logic to hardhat-gas-reporter (#173)
cgewecke Feb 17, 2024
cee9900
Rebuild test suite around ethers & add behavioral tests (#176)
cgewecke Feb 20, 2024
354a3f4
Add viem support & tests (#177)
cgewecke Feb 20, 2024
31c48ae
Add outputJSON option & Rename ethPrice to tokenPrice (#178)
cgewecke Feb 20, 2024
d7c3346
Refactor table rendering & add markdown table (#179)
cgewecke Feb 23, 2024
b08193c
Add support for Optimism gas costs (bedrock & ecotone) (#180)
cgewecke Feb 26, 2024
a2f2567
Move test commands into npm package (#183)
cgewecke Feb 27, 2024
b477d5b
Additional gas logic tests & add `offline` option (#184)
cgewecke Feb 27, 2024
6b7758b
Add forceTerminalOutput options (#185)
cgewecke Feb 27, 2024
fa09272
Add `forceTerminalOutputFormat` option (#186)
cgewecke Feb 28, 2024
1d8bc48
Make tables thinner with narrower label text (#187)
cgewecke Feb 28, 2024
dc45830
Add OZ Upgrades fixture / Update tests to Ethers V6 (#188)
cgewecke Feb 28, 2024
6b9dab2
Add OZ Upgrades system resolver (#189)
cgewecke Feb 29, 2024
9cd2cfc
Emit warnings when price/gas data remote fetching fails (#190)
cgewecke Feb 29, 2024
1785638
Add options for measuring `eth_call` gas usage (#191)
cgewecke Mar 2, 2024
ccc1e87
Sanitize JSON output & add `suppressTerminalOutput` option (#192)
cgewecke Mar 3, 2024
2d122a0
Add flashswap test fixture (#193)
cgewecke Mar 3, 2024
fc2723d
Move imports within task where possible & misc refactoring (#197)
cgewecke Mar 4, 2024
540adb0
Update and refactor merge task (#199)
cgewecke Mar 8, 2024
749508b
Add chain data auto-configuration (#200)
cgewecke Mar 9, 2024
beb8b75
Add github actions & remove circleci (#201)
cgewecke Mar 10, 2024
aa285b9
Move task and extension definitions into src/index.ts (#204)
cgewecke Mar 11, 2024
c9de128
v2.0 bug fixes from initial E2E testing (#205)
cgewecke Mar 11, 2024
8514e49
v2.0 bug fixes from E2E testing (Part II) (#206)
cgewecke Mar 12, 2024
c2dbf45
README & Docs for v2.0 (#202)
cgewecke Mar 12, 2024
c60640f
Add `includeBytecodeInJSON` option (#207)
cgewecke Mar 12, 2024
0b6ef22
Beta Final Review Fixes (#208)
cgewecke Mar 14, 2024
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
25 changes: 0 additions & 25 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test/projects/viem/artifacts/**
50 changes: 50 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches:
- "**"
workflow_dispatch:

env:
CMC_API_KEY: ${{ secrets.CMC_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
ALCHEMY_TOKEN: ${{ secrets.ALCHEMY_TOKEN }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
OPTIMISTIC_API_KEY: ${{ secrets.OPTIMISTIC_API_KEY }}

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn lint

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn build

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn test
36 changes: 28 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,33 @@ typings/
.next

# hardhat-project
test/hardhat-truffle-project/artifacts
test/hardhat-truffle-project/cache
test/hardhat-ethers-project/artifacts
test/hardhat-ethers-project/cache
test/hardhat-waffle-project/artifacts
test/hardhat-waffle-project/cache
test/hardhat-forked-project/artifacts
test/hardhat-forked-project/cache
test/projects/options/artifacts
test/projects/options/cache
test/projects/options/gasReporterOutput.json
test/projects/options/gas.json
test/projects/options/testGasReport.txt

test/projects/waffle/artifacts
test/projects/waffle/cache
test/projects/waffle/gasReporterOutput.json

test/projects/forked/artifacts
test/projects/forked/cache
test/projects/forked/gasReporterOutput.json

test/projects/viem/artifacts
test/projects/viem/cache
test/projects/viem/gasReporterOutput.json

test/projects/oz/artifacts
test/projects/oz/cache
test/projects/oz/gasReporterOutput.json

test/projects/run/artifacts
test/projects/run/cache
test/projects/run/gasReporterOutput.json

dist/

options.txt

7 changes: 7 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"require" : [
"dotenv/config",
"ts-node/register",
"source-map-support/register"
]
}
295 changes: 135 additions & 160 deletions README.md

Large diffs are not rendered by default.

Loading
Loading