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

Viem anvil #109

Merged
merged 12 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .changeset/large-socks-exist.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
- Add join/exit pool support (non-nested pools)
- Weighted pool type
- Uses balancerHelpers to query amounts in/out rather than relying on specific pool math and associated data
- Integration tests run against local hardhat fork
- Integration tests run against local viem fork
3 changes: 1 addition & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,12 @@ jobs:
uses: ./.github/actions/setup
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Run Anvil Node
run: anvil --fork-url ${{ secrets.ETHEREUM_RPC_URL }} &
- name: Test
run: pnpm test:ci
env:
ETHEREUM_RPC_URL: ${{ secrets.ETHEREUM_RPC_URL }}
agualis marked this conversation as resolved.
Show resolved Hide resolved
POLYGON_RPC_URL: ${{ secrets.POLYGON_RPC_URL }}
# TODO: add FANTOM and ARBITRUM secrets
build:
name: Build
needs: install
Expand Down
12 changes: 0 additions & 12 deletions hardhat.config.ts

This file was deleted.

12 changes: 4 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"files": [
"dist/"
],
"files": ["dist/"],
"scripts": {
"build": "tsup",
"format": "rome format .",
"lint": "rome check .",
"test": "vitest dev",
"test:ci": "vitest run",
"changeset": "changeset",
"changeset:release": "pnpm build && changeset publish",
"node": "anvil --fork-url $(. ./.env && echo $ETHEREUM_RPC_URL)"
"changeset:release": "pnpm build && changeset publish"
},
"dependencies": {
"async-retry": "^1.3.3",
Expand All @@ -35,18 +32,17 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@types/async-retry": "^1.4.4",
"@types/node": "^18.11.18",
"@viem/anvil": "^0.0.6",
"dotenv": "^16.0.3",
"hardhat": "^2.17.2",
"pino-pretty": "^10.0.0",
"rome": "12.1.3",
"ts-node": "^10.9.1",
"tsup": "^6.6.0",
"typescript": "^5.0.4",
"vite": "^4.4.2",
"vitest": "~0.30.1"
"vitest": "^0.34.6"
},
"packageManager": "^[email protected]"
}
Loading
Loading