fix: some chain colors in default networks config are wrong which
were saved to DB, so fix the colors in DB as well. Closes https://github.com/status-im/status-desktop/issues/13762
This commit is contained in:
parent
eecde4c27f
commit
20c1e7f88b
|
@ -49,7 +49,7 @@ var goerli = params.Network{
|
||||||
FallbackURL: "https://goerli.infura.io/v3/",
|
FallbackURL: "https://goerli.infura.io/v3/",
|
||||||
BlockExplorerURL: "https://goerli.etherscan.io/",
|
BlockExplorerURL: "https://goerli.etherscan.io/",
|
||||||
IconURL: "network/Network=Testnet",
|
IconURL: "network/Network=Testnet",
|
||||||
ChainColor: "#939BA1",
|
ChainColor: "#627EEA",
|
||||||
ShortName: "goEth",
|
ShortName: "goEth",
|
||||||
NativeCurrencyName: "Ether",
|
NativeCurrencyName: "Ether",
|
||||||
NativeCurrencySymbol: "ETH",
|
NativeCurrencySymbol: "ETH",
|
||||||
|
@ -67,7 +67,7 @@ var sepolia = params.Network{
|
||||||
FallbackURL: "https://sepolia.infura.io/v3/",
|
FallbackURL: "https://sepolia.infura.io/v3/",
|
||||||
BlockExplorerURL: "https://sepolia.etherscan.io/",
|
BlockExplorerURL: "https://sepolia.etherscan.io/",
|
||||||
IconURL: "network/Network=Testnet",
|
IconURL: "network/Network=Testnet",
|
||||||
ChainColor: "#51D0F0",
|
ChainColor: "#627EEA",
|
||||||
ShortName: "eth",
|
ShortName: "eth",
|
||||||
NativeCurrencyName: "Ether",
|
NativeCurrencyName: "Ether",
|
||||||
NativeCurrencySymbol: "ETH",
|
NativeCurrencySymbol: "ETH",
|
||||||
|
@ -103,7 +103,7 @@ var optimismGoerli = params.Network{
|
||||||
FallbackURL: "",
|
FallbackURL: "",
|
||||||
BlockExplorerURL: "https://goerli-optimism.etherscan.io/",
|
BlockExplorerURL: "https://goerli-optimism.etherscan.io/",
|
||||||
IconURL: "network/Network=Testnet",
|
IconURL: "network/Network=Testnet",
|
||||||
ChainColor: "#939BA1",
|
ChainColor: "#E90101",
|
||||||
ShortName: "goOpt",
|
ShortName: "goOpt",
|
||||||
NativeCurrencyName: "Ether",
|
NativeCurrencyName: "Ether",
|
||||||
NativeCurrencySymbol: "ETH",
|
NativeCurrencySymbol: "ETH",
|
||||||
|
@ -121,7 +121,7 @@ var optimismSepolia = params.Network{
|
||||||
FallbackURL: "",
|
FallbackURL: "",
|
||||||
BlockExplorerURL: "https://sepolia-optimism.etherscan.io/",
|
BlockExplorerURL: "https://sepolia-optimism.etherscan.io/",
|
||||||
IconURL: "network/Network=Testnet",
|
IconURL: "network/Network=Testnet",
|
||||||
ChainColor: "#939BA1",
|
ChainColor: "#E90101",
|
||||||
ShortName: "opt",
|
ShortName: "opt",
|
||||||
NativeCurrencyName: "Ether",
|
NativeCurrencyName: "Ether",
|
||||||
NativeCurrencySymbol: "ETH",
|
NativeCurrencySymbol: "ETH",
|
||||||
|
@ -157,7 +157,7 @@ var arbitrumGoerli = params.Network{
|
||||||
FallbackURL: "",
|
FallbackURL: "",
|
||||||
BlockExplorerURL: "https://goerli.arbiscan.io/",
|
BlockExplorerURL: "https://goerli.arbiscan.io/",
|
||||||
IconURL: "network/Network=Testnet",
|
IconURL: "network/Network=Testnet",
|
||||||
ChainColor: "#939BA1",
|
ChainColor: "#51D0F0",
|
||||||
ShortName: "goArb",
|
ShortName: "goArb",
|
||||||
NativeCurrencyName: "Ether",
|
NativeCurrencyName: "Ether",
|
||||||
NativeCurrencySymbol: "ETH",
|
NativeCurrencySymbol: "ETH",
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,3 @@
|
||||||
|
UPDATE networks SET chain_color="#627EEA" WHERE chain_id IN (1, 5, 11155111);
|
||||||
|
UPDATE networks SET chain_color="#E90101" WHERE chain_id IN (10, 420, 11155420);
|
||||||
|
UPDATE networks SET chain_color="#51D0F0" WHERE chain_id IN (42161, 421613, 421614);
|
Loading…
Reference in New Issue