Skip to content

Commit

Permalink
Disable Emerald Mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Jul 12, 2023
1 parent fd79352 commit 51a7c69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .changelog/722.internal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Disable Emerald Mainnet
1 change: 1 addition & 0 deletions src/app/components/Search/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ type LayerSuggestions = {

export const searchSuggestionTerms: Record<Network, Partial<Record<Layer, LayerSuggestions>>> = {
mainnet: {
// @ts-expect-error Emerald will be enabled as soon Nexus re-indexing will be finished
emerald: {
suggestedBlock: '4260',
suggestedTransaction: '0x2f461f83745e1fa1177138aa815e210e1c69305db8065af9015b2e490a5033f1',
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/ParatimeDashboardPage/LearningMaterials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const getContent = (t: TFunction): Record<Network, NetworkContent> => {

return {
[Network.mainnet]: {
// @ts-expect-error Emerald will be enabled as soon Nexus re-indexing will be finished
[Layer.emerald]: {
primary: {
description: t('learningMaterials.emerald.description'),
Expand Down
2 changes: 1 addition & 1 deletion src/app/utils/route-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type SpecifiedPerEnabledLayer<T = any> = {
export abstract class RouteUtils {
private static ENABLED_LAYERS_FOR_NETWORK = {
[Network.mainnet]: {
[Layer.emerald]: true,
// [Layer.emerald]: true,
[Layer.sapphire]: true,
},
[Network.testnet]: {
Expand Down

0 comments on commit 51a7c69

Please sign in to comment.