Web3 hotfixes to latest main (#1681)
* Fixed import of web3 dir * Invalid way of including the zodResolver, exposed by updating 2.8.3 to 2.8.5 in @hookform/resolvers * smartContractAddress is added conditionally, so added check to reflect this in the updateMutation
This commit is contained in:
1 parent
8bb3e9c0be
commit
f52e277dc4
4 files changed
+13
-11
No files matched your search
@@ -3,7 +3,6 @@ import { useCallback, useMemo, useState } from "react";
|
||||
import React from "react";
|
||||
import Web3 from "web3";
|
||||
import { AbiItem } from "web3-utils";
|
||||
import verifyAccount, { AUTH_MESSAGE } from "web3/utils/verifyAccount";
|
||||
|
||||
import { useLocale } from "@lib/hooks/useLocale";
|
||||
import showToast from "@lib/notification";
|
||||
@@ -12,6 +11,7 @@ import { Button } from "@components/ui/Button";
|
||||
|
||||
import { useContracts } from "../../../contexts/contractsContext";
|
||||
import genericAbi from "../../../web3/abis/abiWithGetBalance.json";
|
||||
import verifyAccount, { AUTH_MESSAGE } from "../../../web3/utils/verifyAccount";
|
||||
|
||||
interface Window {
|
||||
ethereum: any;
|
||||
|
||||
Reference in new issue
Block a user