-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release-please--branches--main--components--…
…blobstorage
- Loading branch information
Showing
10 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changelog | ||
|
||
## [1.0.0](https://github.com/taikoxyz/taiko-mono/compare/docs-site-v1.0.0...docs-site-v1.0.0) (2024-05-13) | ||
|
||
|
||
### Features | ||
|
||
* **bridge-ui:** release ([#17071](https://github.com/taikoxyz/taiko-mono/issues/17071)) ([2fa3ae0](https://github.com/taikoxyz/taiko-mono/commit/2fa3ae0b2b2317a467709110c381878a3a9f8ec6)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export const configuredNetworks = ['hekla', 'devnet'] | ||
export const configuredNetworks = ['hekla', 'devnet']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 14 additions & 12 deletions
26
packages/guardian-prover-health-check-ui/src/lib/guardianProver/loadConfiguredGuardians.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import { configuredNetworks } from "$config"; | ||
import { configuredNetworks } from '$config'; | ||
|
||
export async function loadGuardians(): Promise<{ [address: string]: string }> { | ||
const network = import.meta.env.VITE_NETWORK_CONFIG; | ||
if (!network) { | ||
throw new Error('Network not configured. Please set VITE_NETWORK_CONFIG in .env file. Currently supported networks: ' + configuredNetworks.join(', ')); | ||
} | ||
const path = `/config/${network}/guardians.json`; | ||
const response = await fetch(path); | ||
if (!response.ok) { | ||
throw new Error(`Failed to load ${path}: ${response.statusText}`); | ||
} | ||
return response.json(); | ||
const network = import.meta.env.VITE_NETWORK_CONFIG; | ||
if (!network) { | ||
throw new Error( | ||
'Network not configured. Please set VITE_NETWORK_CONFIG in .env file. Currently supported networks: ' + | ||
configuredNetworks.join(', ') | ||
); | ||
} | ||
const path = `/config/${network}/guardians.json`; | ||
const response = await fetch(path); | ||
if (!response.ok) { | ||
throw new Error(`Failed to load ${path}: ${response.statusText}`); | ||
} | ||
return response.json(); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters