Skip to content

Commit

Permalink
Fix wallet archive state access issue
Browse files Browse the repository at this point in the history
  • Loading branch information
solimander committed Mar 29, 2024
1 parent 0021e70 commit d113030
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions packages/prop-house-sdk-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prophouse/sdk-react",
"version": "1.0.34",
"version": "1.0.35",
"description": "Useful tools for interacting with the Prop House protocol from React applications",
"author": "solimander",
"homepage": "https://prop.house",
Expand All @@ -18,7 +18,7 @@
"wagmi": ">=0.9.2"
},
"dependencies": {
"@prophouse/sdk": "1.0.37"
"@prophouse/sdk": "1.0.38"
},
"devDependencies": {
"react": "^17.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/prop-house-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prophouse/sdk",
"version": "1.0.28",
"version": "1.0.39",
"description": "Useful tools for interacting with the Prop House protocol",
"author": "solimander",
"homepage": "https://prop.house",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,6 @@ export class BalanceOfERC1155Handler extends SingleSlotProofHandler<BalanceOfERC
* @param token The token address
*/
private contractFor(token: string) {
return new Contract(token, [BALANCE_OF_ERC1155_FUNC], this._evm);
return new Contract(token, [BALANCE_OF_ERC1155_FUNC], this._defaultProvider);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,6 @@ export class BalanceOfERC20Handler extends SingleSlotProofHandler<BalanceOfERC20
* @param token The token address
*/
private contractFor(token: string) {
return new Contract(token, [BALANCE_OF_FUNC], this._evm);
return new Contract(token, [BALANCE_OF_FUNC], this._defaultProvider);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ export class BalanceOfHandler extends SingleSlotProofHandler<BalanceOfConfig> {
* @param token The token address
*/
private contractFor(token: string) {
return new Contract(token, [BALANCE_OF_FUNC], this._evm);
return new Contract(token, [BALANCE_OF_FUNC], this._defaultProvider);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,6 @@ export class CheckpointableERC721Handler extends SingleSlotProofHandler<Checkpoi
* @param token The token address
*/
private contractFor(token: string) {
return new Contract(token, [GET_CURRENT_VOTES_FUNC, NUM_CHECKPOINTS_FUNC], this._evm);
return new Contract(token, [GET_CURRENT_VOTES_FUNC, NUM_CHECKPOINTS_FUNC], this._defaultProvider);
}
}
2 changes: 1 addition & 1 deletion packages/prop-house-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@fortawesome/react-fontawesome": "^0.1.17",
"@nouns/prop-house-wrapper": "1.0.0",
"@prophouse/protocol": "1.0.12",
"@prophouse/sdk-react": "1.0.33",
"@prophouse/sdk-react": "1.0.34",
"@rainbow-me/rainbowkit": "^1.3.0",
"@reduxjs/toolkit": "^1.7.0",
"@supabase/supabase-js": "^2.39.0",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6025,17 +6025,17 @@
dependencies:
ethers "~5.7.2"

"@prophouse/[email protected].33":
version "1.0.33"
resolved "https://registry.npmjs.org/@prophouse/sdk-react/-/sdk-react-1.0.33.tgz#160ecabd3f14511f834943a92ccfc1f105d8800b"
integrity sha512-QKrbhp/FsBeTNDVPbHHNkA3730CYAnBcLaI7IhSJqbSQHKvs/02iIGHiUIwjcRgTqs2GbeBUtFJj3jhOeZqW4A==
"@prophouse/[email protected].34":
version "1.0.34"
resolved "https://registry.npmjs.org/@prophouse/sdk-react/-/sdk-react-1.0.34.tgz#9f0793f5ee86c3df45d4df8335ff86eedf3d7858"
integrity sha512-MH3zh22CX4xosFYTaoXmE7H9UqylsLfWil5hxwXkRVWsJj+MOf+8WKRPRsedOSmhqzduB8KiiJaRTsQRhL+Nzw==
dependencies:
"@prophouse/sdk" "1.0.37"
"@prophouse/sdk" "1.0.38"

"@prophouse/[email protected].37":
version "1.0.37"
resolved "https://registry.npmjs.org/@prophouse/sdk/-/sdk-1.0.37.tgz#998ee84ed32329ac5ad560e34fe38ba63b66795f"
integrity sha512-ZdHXSZaNsiUfhgRqYRpl3jBahZwc9WkHt614oBDnme/VVycA3qdGE7KbIk7AeqjjYSmIKHGk5vq/URsp5TO50Q==
"@prophouse/[email protected].38":
version "1.0.38"
resolved "https://registry.npmjs.org/@prophouse/sdk/-/sdk-1.0.38.tgz#93ec881fdbeb3afd6091cfceda2de0e5d0376102"
integrity sha512-aiS4DX2Yx/hWTMsYSOKl17m0h3mPc0U0kw4wCJM4RXD8ALInmewOB5a63a8KpGYpTx5CWzPTR1V8mcnYM6KoeQ==
dependencies:
"@ethereumjs/block" "5.2.0"
"@ethereumjs/common" "4.3.0"
Expand Down

0 comments on commit d113030

Please sign in to comment.