diff --git a/.env.example b/.env.example index 18ace120..7afc1c66 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,2 @@ VALIDATOR_MNEMONIC= VALIDATOR_ADDRESS= -CHAIN_HOST= diff --git a/.github/workflows/test-ts-sdk.yaml b/.github/workflows/test-ts-sdk.yaml index 923cafa4..7e896522 100644 --- a/.github/workflows/test-ts-sdk.yaml +++ b/.github/workflows/test-ts-sdk.yaml @@ -12,7 +12,6 @@ jobs: test-ts-sdk: runs-on: ubuntu-latest env: - CHAIN_HOST: ${{ secrets.CHAIN_HOST }} VALIDATOR_MNEMONIC: ${{ secrets.VALIDATOR_MNEMONIC }} VALIDATOR_ADDRESS: ${{ secrets.VALIDATOR_ADDRESS }} LCD_ENDPOINT: "http://127.0.0.1:1317" diff --git a/packages/nibijs/README.md b/packages/nibijs/README.md deleted file mode 120000 index fe840054..00000000 --- a/packages/nibijs/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/packages/nibijs/src/chain/useFaucet.ts b/packages/nibijs/src/chain/useFaucet.ts index 772e3f2d..9ec1e7f2 100644 --- a/packages/nibijs/src/chain/useFaucet.ts +++ b/packages/nibijs/src/chain/useFaucet.ts @@ -59,5 +59,9 @@ export async function useFaucet({ export const faucetUrlFromChain = (chain: Chain) => { const parts = chainToParts(chain) // e.g. https://faucet.itn-X.nibiru.fi/ where X is the number - return `https://faucet.${parts.shortName}-${parts.number}.nibiru.fi/` + const restOfChain = chain.chainName.includes("cataclysm") + ? "" + : `.${parts.shortName}-${parts.number}` + + return `https://faucet${restOfChain}.nibiru.fi/` }