generated from PAST3LLE/TRY-N-PT
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wagmi-connectors,web3-modal,forge-web3,skillforge-widget,skillfor…
…ge-ui): Update wagmi/viem/react-query versions and fix issues (#100) * fix(wagmi-connectors): remove custom PstlWeb3AuthConnector in favour of new official wagmi Web3AuthConnector * fix(web3-modal): fixes from viem/wagmi update 1. remove deprecated code 2. update api 3. fix fixtures * fix(skillforge-widget): fixes from viem/wagmi update * fix(forge-web3): fixes from viem/wagmi update * fix(skillforge-ui): viem/wagmi update fixes * chore(root,skillforge-ui,forge-web3,skillforge-widget,wagmi-connectors,web3-modal): update viem/wagmi and set resolutions and peerDeps * chore: update yarn.lock * fix(skillforge-ui): update craco and rewire overrides * fix(skillforge-ui): fix fixture * fix(web3-modal): disable focus lock * fix(web3-modal): fix fixed import path * styles(web3-modal): mobile updates * chore(skillforge-ui): set satisfying type to config obj * styles(web3-modal): remove magic number * chore(skillforge-widget): fix cosmos test env webpack * fix(web3-modal): disable structural sharing [to be reverted] * chore(forge-web3,web3-modal,skillforge-ui,root): fix webpack config files, update react-query version and update root yarn.lock * chore(forge-web3,wagmi-connectors): lint * chore: update yarn.lock * chore: revert @tanstack/react-query update
- Loading branch information
Showing
39 changed files
with
3,772 additions
and
4,521 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,3 @@ | ||
import { defineChain } from 'viem' | ||
import { Chain, polygon, sepolia } from 'viem/chains' | ||
import { Chain, polygon, polygonAmoy, sepolia } from 'viem/chains' | ||
|
||
// TODO: remove when viem adds amoy polygon | ||
export const amoy = defineChain({ | ||
id: 80002, | ||
name: 'Amoy', | ||
nativeCurrency: { | ||
decimals: 18, | ||
name: 'Matic', | ||
symbol: 'MATIC' | ||
}, | ||
rpcUrls: { | ||
default: { | ||
http: ['https://rpc-amoy.polygon.technology/'], | ||
webSocket: ['wss://rpc-amoy.polygon.technology/'] | ||
} | ||
}, | ||
blockExplorers: { | ||
default: { name: 'Explorer', url: 'https://amoy.polygonscan.com/' } | ||
}, | ||
contracts: { | ||
multicall3: { | ||
address: '0xcA11bde05977b3631167028862bE2a173976CA11', | ||
blockCreated: 3127388 | ||
} | ||
} | ||
}) | ||
|
||
export const FORGE_SUPPORTED_CHAINS = [sepolia, polygon, amoy] as const satisfies readonly [Chain, ...Chain[]] | ||
export const FORGE_SUPPORTED_CHAINS = [sepolia, polygon, polygonAmoy] as const satisfies readonly [Chain, ...Chain[]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { sepolia } from 'viem/chains' | ||
import { polygonAmoy, sepolia } from 'viem/chains' | ||
|
||
export const chains = [sepolia] as const | ||
import { ForgeChainsMinimum } from '..' | ||
|
||
export const chains = [sepolia, polygonAmoy] as const satisfies ForgeChainsMinimum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.