Skip to content

Commit c87218e

Browse files
authored
fix: update default calldata issue with viem (#139)
* fix: update default calldata issue with viem Updates viem everywhere * chore: another lockfile update Install 3 times is the trick I guess: 1. in the workspace root 2. in the packages/contracts 3. again in the workspace root * feat: update wallet client functions what a mess to copy this 4x, but trying to abstract these types is a huge pain! Also the ecdsa client was using the zksync specific sign transaction before, but again it has a type difference which fails the build * fix: pin anvil zksync to 0.6.1 0.6.2 has some breaking changes for contract deployment * fix: rebase contract changes to existing branch Don't pull in latest main
1 parent 792c594 commit c87218e

File tree

17 files changed

+503
-460
lines changed

17 files changed

+503
-460
lines changed

.github/workflows/deploy-auth-server.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
# Local node to have target for deploy
4444
- name: Era Test Node Action
4545
uses: dutterbutter/anvil-zksync-action@v1.1.0
46+
with:
47+
releaseTag: 'v0.6.1'
4648

4749
- name: Deploy contracts
4850
run: pnpm run deploy --file ../auth-server/stores/local-node.json

.github/workflows/deploy-nft-quest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
# Local node to have target for deploy
4747
- name: Era Test Node Action
4848
uses: dutterbutter/anvil-zksync-action@v1.1.0
49+
with:
50+
releaseTag: 'v0.6.1'
4951

5052
- name: Deploy contracts
5153
run: pnpm run deploy --file ../auth-server/stores/local-node.json

.github/workflows/deploy-package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
# Local node to have target for deploy
4444
- name: Era Test Node Action
4545
uses: dutterbutter/anvil-zksync-action@v1.1.0
46+
with:
47+
releaseTag: 'v0.6.1'
4648

4749
- name: Deploy contracts
4850
run: pnpm run deploy --file ../auth-server/stores/local-node.json

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
# Local node to have target for deploy
4545
- name: Era Test Node Action
4646
uses: dutterbutter/anvil-zksync-action@v1.1.0
47+
with:
48+
releaseTag: 'v0.6.1'
4749

4850
- name: Deploy contracts
4951
run: pnpm run deploy --file ../auth-server/stores/local-node.json

examples/bank-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"pinia": "^2.1.7",
2121
"radix-vue": "^1.9.7",
2222
"tailwind-merge": "^2.5.3",
23-
"viem": "^2.21.14",
23+
"viem": "^2.30.0",
2424
"vue": "latest",
2525
"vue-router": "latest",
2626
"zksync-sso": "workspace:*"

examples/demo-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@web3modal/wagmi": "^5.1.11",
1717
"ethers": "^6.13.2",
1818
"nuxt": "^3.12.3",
19-
"viem": "2.21.14",
19+
"viem": "2.30.0",
2020
"vue": "^3.4.21",
2121
"wagmi": "^2.12.17",
2222
"zksync-ethers": "^6.15.0",

examples/nft-quest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"sass": "^1.77.6",
3232
"tailwind-merge": "^2.5.2",
3333
"ts-node": "^10.9.2",
34-
"viem": "2.21.14",
34+
"viem": "2.30.0",
3535
"vue": "latest",
3636
"vue-load-image": "^1.1.0",
3737
"vue-router": "latest",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"prettier": "3.3.3",
4747
"typescript": "5.6.2",
4848
"typescript-eslint": "8.7.0",
49-
"viem": "^2.21.14",
49+
"viem": "^2.30.0",
5050
"zksync-sso": "workspace:*"
5151
},
5252
"nx": {

packages/auth-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"radix-vue": "^1.9.6",
3333
"sass": "^1.77.6",
3434
"tailwind-merge": "^2.5.2",
35-
"viem": "2.21.14",
35+
"viem": "2.30.0",
3636
"vue": "latest",
3737
"wagmi": "^2.12.17",
3838
"web3-avatar-vue": "^1.0.4",

packages/contracts

0 commit comments

Comments
 (0)