Skip to content

Commit

Permalink
fix: fix nft demo gas estimation (#42)
Browse files Browse the repository at this point in the history
* fix: fix nft demo gas estimation

* chore: fix lint

* fix: lint

---------

Co-authored-by: MexicanAce <[email protected]>
  • Loading branch information
ly0va and MexicanAce authored Dec 12, 2024
1 parent e2afb8a commit 68bdf0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/nft-quest/stores/connector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { connect, createConfig, type CreateConnectorFn, disconnect, getAccount, http, reconnect, watchAccount } from "@wagmi/core";
import { zksyncInMemoryNode, zksyncLocalNode, zksyncSepoliaTestnet } from "@wagmi/core/chains";
import { type Address, type Hash, parseEther } from "viem";
import type { Address, Hash } from "viem";
import { callPolicy, zksyncSsoConnector } from "zksync-sso/connector";

import { ZeekNftQuestAbi } from "@/abi/ZeekNFTQuest";
Expand All @@ -22,7 +22,7 @@ export const useConnectorStore = defineStore("connector", () => {
},
authServerUrl: runtimeConfig.public.authServerUrl,
session: {
feeLimit: parseEther("0.04"),
feeLimit: 0n,
contractCalls: [
callPolicy({
address: runtimeConfig.public.contracts.nft as Hash,
Expand Down
4 changes: 2 additions & 2 deletions packages/auth-server/stores/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export const contractsByChain: Record<SupportedChainId, ChainContracts> = {
accountPaymaster: "0xA46D949858335308859076FA605E773eB679e534",
},
[zksyncInMemoryNode.id]: {
session: "0x62b019c03Db1f4d0C0b857fDabE4AbC9c60c2F70",
session: "0xD68963C76ab7FFACbF53B1750325254F40eDe765",
passkey: "0x21b8397BeF5128662564b8491676baa6754AFD47",
accountFactory: "0x26711A4A572a5BBdF967b6385636Bd968e6E883C",
accountPaymaster: "0xB29C8Dd9a5E5DFeFB49Adf16885175a07DE8e541",
accountPaymaster: "0x61C2F9736eC60C9175Cdc02DB81D730cf06eF0Ee",
},
};

Expand Down

0 comments on commit 68bdf0d

Please sign in to comment.