Skip to content

Commit

Permalink
Merge branch 'main' into bump-terra-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Jun 28, 2023
2 parents a499b7c + cc360fb commit e93ac80
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
concurrency:
group: ${{ github.ref }}-cctp-preview
cancel-in-progress: true
environment: Cloudflare-Preview
environment: Cloudflare-Preview
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
with:
name: docs-preview-build
path: docs/build

portal:
name: "Build Portal Bridge"
runs-on: "ubuntu-latest"
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:

publish:
name: "Publish"
needs:
needs:
- portal
- docs
- cctp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
concurrency:
group: ${{ github.ref }}-cctp-testnet
cancel-in-progress: true
environment: Cloudflare-Testnet
environment: Cloudflare-Testnet
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

publish:
name: "Publish"
needs:
needs:
- portal
- cctp
runs-on: "ubuntu-latest"
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xlabs/portal-bridge-ui",
"version": "0.1.39",
"version": "0.1.42",
"private": true,
"dependencies": {
"@certusone/wormhole-sdk": "^0.9.20",
Expand Down
4 changes: 2 additions & 2 deletions public/sui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<span>
Experience frictionless USDC transfers between Ethereum and Avalanche with Circle's CCTP.
</span>
<a class="cctp-link" href="https://www.portalbridge.com/usdc-bridge" target="_blank" rel="noopener noreferrer">
<a class="cctp-link" href="https://portalbridge.com/usdc-bridge" target="_blank" rel="noopener noreferrer">
TRY IT NOW
</a>
</div>
Expand All @@ -59,7 +59,7 @@
<a class="link" href="/" target="_blank" aria-current="page">
Token Bridge
</a>
<a class="link" href="https://www.portalbridge.com/usdc-bridge" target="_blank" rel="noopener noreferrer">
<a class="link" href="https://portalbridge.com/usdc-bridge" target="_blank" rel="noopener noreferrer">
USDC Bridge
</a>
<a class="link active" href="#" aria-current="page">
Expand Down
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function App() {
Avalanche with Circle's CCTP.{" "}
</span>
<Link
href="https://www.portalbridge.com/usdc-bridge"
href="https://portalbridge.com/usdc-bridge"
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand Down Expand Up @@ -247,7 +247,7 @@ function App() {
Token Bridge
</Link>
<Link
href="https://www.portalbridge.com/usdc-bridge"
href="https://portalbridge.com/usdc-bridge"
target="_blank"
rel="noopener noreferrer"
color="inherit"
Expand Down
6 changes: 3 additions & 3 deletions src/utils/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,15 +722,15 @@ export const APTOS_NATIVE_TOKEN_KEY = "0x1::aptos_coin::AptosCoin";

export const getInjectiveNetworkName = () => {
if (CLUSTER === "mainnet") {
return Network.MainnetK8s;
return Network.Mainnet;
} else if (CLUSTER === "testnet") {
return Network.TestnetK8s;
}
throw Error("Unsupported injective network");
};
export const getInjectiveNetwork = () => {
if (CLUSTER === "mainnet") {
return Network.MainnetK8s;
return Network.Mainnet;
} else if (CLUSTER === "testnet") {
return Network.TestnetK8s;
}
Expand All @@ -739,7 +739,7 @@ export const getInjectiveNetwork = () => {

export const getInjectiveNetworkInfo = () => {
if (CLUSTER === "mainnet") {
return getNetworkInfo(Network.MainnetK8s);
return getNetworkInfo(Network.Mainnet);
} else if (CLUSTER === "testnet") {
return getNetworkInfo(Network.TestnetK8s);
}
Expand Down

0 comments on commit e93ac80

Please sign in to comment.