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

Fix: Flare networks naming #2712

Merged
merged 3 commits into from
Sep 11, 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
5 changes: 5 additions & 0 deletions .changeset/smooth-ladybugs-draw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Updated naming for Flare chains.
2 changes: 1 addition & 1 deletion src/chains/definitions/flare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const flare = /*#__PURE__*/ defineChain({
name: 'Flare Mainnet',
nativeCurrency: {
decimals: 18,
name: 'flare',
name: 'Flare',
symbol: 'FLR',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/flareTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const flareTestnet = /*#__PURE__*/ defineChain({
id: 114,
name: 'Coston2',
name: 'Flare Testnet Coston2',
nativeCurrency: {
decimals: 18,
name: 'coston2flare',
name: 'Coston2 Flare',
symbol: 'C2FLR',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/songbird.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const songbird = /*#__PURE__*/ defineChain({
id: 19,
name: 'Songbird Mainnet',
name: 'Songbird Canary-Network',
nativeCurrency: {
decimals: 18,
name: 'songbird',
name: 'Songbird',
symbol: 'SGB',
},
rpcUrls: {
Expand Down
4 changes: 2 additions & 2 deletions src/chains/definitions/songbirdTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { defineChain } from '../../utils/chain/defineChain.js'

export const songbirdTestnet = /*#__PURE__*/ defineChain({
id: 16,
name: 'Coston',
name: 'Songbird Testnet Coston',
nativeCurrency: {
decimals: 18,
name: 'costonflare',
name: 'Coston Flare',
symbol: 'CFLR',
},
rpcUrls: {
Expand Down
Loading