fix base goerli slug (#619)

This commit is contained in:
Jonas Daniels
2023-02-23 17:17:37 +00:00
committed by GitHub
parent d7deaa48f2
commit b7a5b45441
5 changed files with 13 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@thirdweb-dev/chains": patch
---
fix the slug for base-goerli
+2 -2
View File
@@ -2,7 +2,7 @@ export default {
"name": "Base Goerli Testnet",
"chain": "ETH",
"rpc": [
"https://base-goerli-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://base-goerli.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://goerli.base.org"
],
"faucets": [
@@ -36,5 +36,5 @@ export default {
"width": 512,
"format": "png"
},
"slug": "base-goerli-testnet"
"slug": "base-goerli"
} as const;
@@ -119,6 +119,9 @@ function findSlug(chain) {
if (slug === "binance-smart-chain-testnet") {
slug = "binance-testnet";
}
if (slug === "base-goerli-testnet") {
slug = "base-goerli";
}
// end special cases
takenSlugs[slug] = true;
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -11,7 +11,7 @@
"inputs": [
"package.json",
"scripts/**",
"overrides.json",
"data/**",
"src/types.ts",
"src/utils.ts"
]