Skip to content

Commit

Permalink
build: bump viem, abitype (#1179)
Browse files Browse the repository at this point in the history
  • Loading branch information
holic authored Jul 19, 2023
1 parent df85e0c commit 5352299
Show file tree
Hide file tree
Showing 45 changed files with 201 additions and 206 deletions.
18 changes: 18 additions & 0 deletions .changeset/stale-cooks-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
"@latticexyz/block-logs-stream": patch
"@latticexyz/cli": patch
"@latticexyz/common": patch
"@latticexyz/dev-tools": patch
"@latticexyz/network": patch
"@latticexyz/protocol-parser": patch
"@latticexyz/schema-type": patch
"@latticexyz/std-client": patch
"@latticexyz/store-cache": patch
"@latticexyz/store-sync": patch
"@latticexyz/store": patch
create-mud: patch
---

- bump to viem 1.3.0 and abitype 0.9.3
- move `@wagmi/chains` imports to `viem/chains`
- refine a few types
5 changes: 5 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@
"engines": {
"node": "18.x",
"pnpm": "8.x"
},
"pnpm": {
"overrides": {
"abitype": "0.9.3"
}
}
}
3 changes: 1 addition & 2 deletions e2e/packages/client-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@latticexyz/std-client": "link:../../../packages/std-client",
"@latticexyz/utils": "link:../../../packages/utils",
"@latticexyz/world": "link:../../../packages/world",
"@wagmi/chains": "^0.2.22",
"async-mutex": "^0.4.0",
"contracts": "workspace:*",
"ethers": "^5.7.2",
Expand All @@ -33,7 +32,7 @@
"react": "^18.2.0",
"rxjs": "7.5.5",
"threads": "^1.7.0",
"viem": "1.1.7"
"viem": "1.3.0"
},
"devDependencies": {
"rimraf": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion e2e/packages/client-vanilla/src/mud/supportedChains.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MUDChain, latticeTestnet } from "@latticexyz/common/chains";
import { foundry } from "@wagmi/chains";
import { foundry } from "viem/chains";

// If you are deploying to chains other than anvil or Lattice testnet, add them here
export const supportedChains: MUDChain[] = [foundry, latticeTestnet];
2 changes: 1 addition & 1 deletion e2e/packages/sync-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"execa": "^7.1.1",
"jsdom": "^22.0.0",
"typescript": "5.1.6",
"viem": "1.0.6",
"viem": "1.3.0",
"vite": "^4.2.1",
"vitest": "^0.31.0"
}
Expand Down
78 changes: 20 additions & 58 deletions e2e/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions examples/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@
"engines": {
"node": "18.x",
"pnpm": "8.x"
},
"pnpm": {
"overrides": {
"abitype": "0.9.3"
}
}
}
3 changes: 1 addition & 2 deletions examples/minimal/packages/client-phaser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@latticexyz/std-client": "link:../../../../packages/std-client",
"@latticexyz/utils": "link:../../../../packages/utils",
"@latticexyz/world": "link:../../../../packages/world",
"@wagmi/chains": "^0.2.14",
"async-mutex": "^0.4.0",
"contracts": "workspace:*",
"ethers": "^5.7.2",
Expand All @@ -39,7 +38,7 @@
"styled-components": "^5.3.10",
"threads": "^1.7.0",
"use-resize-observer": "^9.1.0",
"viem": "1.1.7",
"viem": "1.3.0",
"vite": "^4.2.1",
"zustand": "^4.3.8"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MUDChain, latticeTestnet } from "@latticexyz/common/chains";
import { foundry } from "@wagmi/chains";
import { foundry } from "viem/chains";

// If you are deploying to chains other than anvil or Lattice testnet, add them here
export const supportedChains: MUDChain[] = [foundry, latticeTestnet];
3 changes: 1 addition & 2 deletions examples/minimal/packages/client-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"@latticexyz/std-client": "link:../../../../packages/std-client",
"@latticexyz/utils": "link:../../../../packages/utils",
"@latticexyz/world": "link:../../../../packages/world",
"@wagmi/chains": "^0.2.22",
"async-mutex": "^0.4.0",
"contracts": "workspace:*",
"ethers": "^5.7.2",
Expand All @@ -35,7 +34,7 @@
"react-dom": "^18.2.0",
"rxjs": "7.5.5",
"threads": "^1.7.0",
"viem": "1.1.7"
"viem": "1.3.0"
},
"devDependencies": {
"@types/react": "^18.2.6",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MUDChain, latticeTestnet } from "@latticexyz/common/chains";
import { foundry } from "@wagmi/chains";
import { foundry } from "viem/chains";

// If you are deploying to chains other than anvil or Lattice testnet, add them here
export const supportedChains: MUDChain[] = [foundry, latticeTestnet];
3 changes: 1 addition & 2 deletions examples/minimal/packages/client-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"@latticexyz/std-client": "link:../../../../packages/std-client",
"@latticexyz/utils": "link:../../../../packages/utils",
"@latticexyz/world": "link:../../../../packages/world",
"@wagmi/chains": "^0.2.22",
"async-mutex": "^0.4.0",
"contracts": "workspace:*",
"ethers": "^5.7.2",
Expand All @@ -33,7 +32,7 @@
"react": "^18.2.0",
"rxjs": "7.5.5",
"threads": "^1.7.0",
"viem": "1.1.7"
"viem": "1.3.0"
},
"devDependencies": {
"vite": "^4.2.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MUDChain, latticeTestnet } from "@latticexyz/common/chains";
import { foundry } from "@wagmi/chains";
import { foundry } from "viem/chains";

// If you are deploying to chains other than anvil or Lattice testnet, add them here
export const supportedChains: MUDChain[] = [foundry, latticeTestnet];
Loading

0 comments on commit 5352299

Please sign in to comment.