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(status-page): remove is halted #13231

Merged
merged 1 commit into from
Mar 1, 2023
Merged
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
14 changes: 0 additions & 14 deletions packages/status-page/src/pages/home/Home.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import { watchHeaderSynced } from "../../utils/watchHeaderSynced";
import { getPendingTransactions } from "../../utils/getPendingTransactions";
import { getBlockFee } from "../../utils/getBlockFee";
import { getIsHalted } from "../../utils/getIsHalted";
import { getAvailableSlots } from "../../utils/getAvailableSlots";
import { getPendingBlocks } from "../../utils/getPendingBlocks";
import { getLastVerifiedBlockId } from "../../utils/getLastVerifiedBlockId";
Expand Down Expand Up @@ -88,19 +87,6 @@
tooltip:
"The current transactions in the mempool where the transaction nonce is not in sequence. They are currently non-processable.",
},
{
statusFunc: getIsHalted,
watchStatusFunc: null,
provider: l1Provider,
contractAddress: l1TaikoAddress,
header: "Is Halted",
intervalInMs: 0,
colorFunc: (value: Status) => {
if (value.toString() === "true") return "red";
return "green";
},
tooltip: "Whether the Taiko smart contract on Layer 1 has been halted.",
},
{
statusFunc: getAvailableSlots,
watchStatusFunc: null,
Expand Down
11 changes: 0 additions & 11 deletions packages/status-page/src/utils/getIsHalted.ts

This file was deleted.