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

feat: re-enable ibc #249

Open
wants to merge 1 commit into
base: classic
Choose a base branch
from
Open
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
4 changes: 1 addition & 3 deletions src/pages/Send/SendForm/WarningInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ export const WarningInfo = (): ReactElement => {
const bridgesList = availableBridges[chain]

function infoText(): string | undefined {
if (bridgeUsed === BridgeType.ibc) {
return 'IBC transfers are currently suspended.'
} else if (bridgeUsed === BridgeType.shuttle) {
if (bridgeUsed === BridgeType.shuttle) {
return Date.now() >= 1675123200000
? 'Shuttle transfers from Terra Classic have been disabled.'
: `If you own LUNC, UST, or other assets bridged with shuttle on ETH, BSC or Harmony you must send them back to Terra Classic before ${new Date(
Expand Down
4 changes: 1 addition & 3 deletions src/pages/Send/SendFormButton/NextOrApproveButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,13 @@ const NextOrApproveButton = ({
onClick={onClickSendNextButton}
disabled={
!ableButton ||
bridgeUsed === BridgeType.ibc ||
bridgeUsed === BridgeType.wormhole ||
(bridgeUsed === BridgeType.shuttle &&
(Date.now() >= 1675123200000 ||
fromBlockChain === BlockChainType.terra))
}
>
{bridgeUsed === BridgeType.ibc ||
bridgeUsed === BridgeType.wormhole ||
{bridgeUsed === BridgeType.wormhole ||
(bridgeUsed === BridgeType.shuttle &&
(Date.now() >= 1675123200000 ||
fromBlockChain === BlockChainType.terra))
Expand Down