Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: rename ignition network to fuel sepolia testnet #1328

Merged
merged 2 commits into from
May 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/curvy-hotels-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fuel-wallet/connections": minor
"@fuel-wallet/types": minor
"fuels-wallet": minor
---

Rename network to `Fuel Sepolia Testnet`
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "fuels-wallet",
"private": true,
"version": "0.20.0",
"database": "16",
"database": "17",
"scripts": {
"build:all": "run-s build:web build:crx build:storybook",
"build:web": "./scripts/build.sh --app=vite",
Expand Down
4 changes: 2 additions & 2 deletions packages/app/playwright/crx/crx.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ test.describe('FuelWallet Extension', () => {

// Check if added network is selected
let networkSelector = getByAriaLabel(popupPage, 'Selected Network');
await expect(networkSelector).toHaveText(/Ignition/);
await expect(networkSelector).toHaveText(/Fuel Sepolia Testnet/);

// Remove added network
await networkSelector.click();
Expand All @@ -594,7 +594,7 @@ test.describe('FuelWallet Extension', () => {

// Check if re-added network is selected
networkSelector = getByAriaLabel(popupPage, 'Selected Network');
await expect(networkSelector).toHaveText(/Ignition/);
await expect(networkSelector).toHaveText(/Fuel Sepolia Testnet/);
});

await test.step('window.fuel.on("currentAccount") to a connected account', async () => {
Expand Down
4 changes: 2 additions & 2 deletions packages/app/playwright/e2e/Networks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ test.describe('Networks', () => {
const urlInput = getInputByName(page, 'url');
await expect(urlInput).toBeFocused();
await urlInput.fill('https://testnet.fuel.network/v1/graphql');
await hasText(page, /Ignition/i, 0, 15000);
await hasText(page, /Fuel Sepolia Testnet/i, 0, 15000);
await expect(buttonCreate).toBeEnabled();
await buttonCreate.click();
// Wait for save and close popup;
await page.waitForTimeout(2000);
await reload(page);
await hasText(page, /Ignition/i);
await hasText(page, /Fuel Sepolia Testnet/i);
});
});
4 changes: 2 additions & 2 deletions packages/app/src/systems/Core/utils/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ export class FuelDB extends Dexie {
const networks = tx.table('networks');
// Clean networks
await networks.clear();
// Insert beta-5 network
// Insert testnet network
await networks.add({
name: 'Ignition',
name: 'Fuel Sepolia Testnet',
url: VITE_FUEL_PROVIDER_URL,
isSelected: true,
id: createUUID(),
Expand Down
Loading