Skip to content

Commit d8b4e09

Browse files
committed
[DASH-644] Add Saakuru mainnet and Saakuru testnet in GAS_FREE_CHAINS list (#5776)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on updating the `MismatchButton` component in the `MismatchButton.tsx` file to include new network identifiers for the `Saakuru Mainnet` and `Saakuru Testnet`. ### Detailed summary - Added `7225878` for `Saakuru Mainnet`. - Added `247253` for `Saakuru Testnet`. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent 6e2e426 commit d8b4e09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/dashboard/src/components/buttons/MismatchButton.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ const GAS_FREE_CHAINS = [
5959
4457845, // zero testnet
6060
978658, // treasure topaz
6161
300, // zksync sepolia
62+
7225878, // Saakuru Mainnet
63+
247253, // Saakuru Testnet
6264
];
6365

6466
function useNetworkMismatchAdapter(desiredChainId: number) {
@@ -127,6 +129,7 @@ export const MismatchButton = forwardRef<
127129
</Button>
128130
);
129131
}
132+
130133
const notEnoughBalance =
131134
(evmBalance.data?.value || 0n) === 0n && !GAS_FREE_CHAINS.includes(chainId);
132135

0 commit comments

Comments
 (0)