3 Commits

Author SHA1 Message Date
hueso
1264d91f5c Görli -> Sepolia
Some checks are pending
Deploy FrontEnd / deploy-staging (push) Waiting to run
Deploy FrontEnd / deploy-production (push) Waiting to run
CI script / lint (push) Waiting to run
CI script / build (push) Waiting to run
CI script / SonarCloud (push) Waiting to run
2024-07-18 18:57:30 -03:00
hueso
0108bbb0e9 add Rootstock testnet 2024-07-18 18:55:04 -03:00
hueso
511c7f980f fix chain detection 2024-07-18 16:36:05 -03:00
4 changed files with 4 additions and 6 deletions

View File

@@ -56,7 +56,7 @@ const getNetworksLiquidity = async (): Promise<void> => {
);
const depositListRootstock = await getValidDeposits(
getTokenAddress(NetworkEnum.rootstock),
getTokenAddress(NetworkEnum.rsktestnet),
p2pContractRootstock
);

View File

@@ -21,9 +21,9 @@ const updateWalletStatus = async (): Promise<void> => {
const signer = provider.getSigner();
const { chainId } = await provider.getNetwork();
if(!isPossibleNetwork(chainId.toString())){
if(!isPossibleNetwork(chainId)){
window.alert("Invalid chain!:"+chainId);
return;
return false;
}
etherStore.setNetworkName(possibleChains[chainId]);

View File

@@ -491,7 +491,7 @@ onClickOutside(infoMenuRef, () => {
<div class="bg-white rounded-md z-10 h-full">
<div
class="menu-button gap-2 sm:px-4 rounded-md cursor-pointer py-2"
@click="networkChange(NetworkEnum.rootstock)"
@click="networkChange(NetworkEnum.rsktestnet)"
>
<img
alt="Rootstock image"

View File

@@ -13,8 +13,6 @@ export const useEtherStore = defineStore("ether", {
depositsValidListSepolia: [] as ValidDeposit[],
// Depósitos válidos para compra MUMBAI
depositsValidListMumbai: [] as ValidDeposit[],
// Depósitos válidos para compra ROOTSTOCK
depositsValidListRootstock: [] as ValidDeposit[],
loadingWalletTransactions: false,
loadingNetworkLiquidity: false,
}),