Skip to content

Commit f0b5db4

Browse files
committed
Test self fund sepolia
1 parent c73f040 commit f0b5db4

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/keychain/src/components/DeploymentRequired.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ export function DeploymentRequired({
3030
return;
3131
}
3232

33-
if (account.chainId === constants.StarknetChainId.SN_MAIN) {
33+
if (
34+
account.chainId === constants.StarknetChainId.SN_MAIN ||
35+
account.chainId === constants.StarknetChainId.SN_SEPOLIA
36+
) {
3437
setIsFundingRequired(true);
3538
return;
3639
}

packages/keychain/src/components/connect/Signup.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ function Form({ isSlot, onLogin, onSuccess }: SignupProps) {
9595
refetchInterval: (data) => (!data ? 1000 : undefined),
9696
onSuccess: async (data) => {
9797
try {
98-
if (chainId !== constants.StarknetChainId.SN_MAIN) {
99-
await deployRequest(values.username);
100-
}
98+
// if (chainId !== constants.StarknetChainId.SN_MAIN) {
99+
// await deployRequest(values.username);
100+
// }
101101

102102
const {
103103
account: {

0 commit comments

Comments
 (0)