Skip to content

Commit 6c2f1e7

Browse files
authored
Merge branch 'main' into release-please--branches--main--components--blobstorage
2 parents e0a7d62 + eb8fda3 commit 6c2f1e7

File tree

10 files changed

+85
-31
lines changed

10 files changed

+85
-31
lines changed

.github/workflows/guardians-ui-ci.yml

+1-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Guardians UI Build and Checks
22

3-
on:
4-
workflow_call
3+
on: workflow_call
54

65
jobs:
76
check-guardian-prover-health-check-ui:
@@ -31,9 +30,3 @@ jobs:
3130
- name: Linting
3231
working-directory: ./packages/guardian-prover-health-check-ui
3332
run: pnpm lint
34-
35-
- name: Unit tests
36-
env:
37-
SKIP_ENV_VALIDATION: "true"
38-
working-directory: ./packages/guardian-prover-health-check-ui
39-
run: pnpm test:unit

.release-please-manifest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"packages/blobstorage": "0.2.0",
33
"packages/branding": "0.4.0",
4-
"packages/bridge-ui": "4.2.0",
4+
"packages/bridge-ui": "2.10.0",
55
"packages/docs-site": "1.0.0",
66
"packages/eventindexer": "0.13.0",
77
"packages/fork-diff": "0.4.0",

packages/bridge-ui/CHANGELOG.md

+50
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Changelog
22

3+
## [2.10.0](https://github.com/taikoxyz/taiko-mono/compare/bridge-ui-v2.9.3...bridge-ui-v2.10.0) (2024-05-13)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* **bridge-ui:** update to protocol 1.0, two step bridging ([#16230](https://github.com/taikoxyz/taiko-mono/issues/16230))
9+
* **bridge-ui:** walletconnect not allowing to switch to unconfigured chains ([#16324](https://github.com/taikoxyz/taiko-mono/issues/16324))
10+
11+
### Features
12+
13+
* **bridge-ui:** add testnet name to header ([#16619](https://github.com/taikoxyz/taiko-mono/issues/16619)) ([294bb01](https://github.com/taikoxyz/taiko-mono/commit/294bb017d90e4b8c2e1338a09f1cef90cdb54831))
14+
* **bridge-ui:** add WETH warning ([#17051](https://github.com/taikoxyz/taiko-mono/issues/17051)) ([a77221a](https://github.com/taikoxyz/taiko-mono/commit/a77221ae1e374278f14cd5122d2e7272f9a75aa1))
15+
* **bridge-ui:** base64 NFT data ([#16645](https://github.com/taikoxyz/taiko-mono/issues/16645)) ([4516d0a](https://github.com/taikoxyz/taiko-mono/commit/4516d0aaa3c9ff0c50f16d1abc82999a8ac3d02f))
16+
* **bridge-ui:** bump dependencies ([#16960](https://github.com/taikoxyz/taiko-mono/issues/16960)) ([811fecb](https://github.com/taikoxyz/taiko-mono/commit/811fecb0f7865d465e61aaa973cb11561b2150d7))
17+
* **bridge-ui:** code review and small fix ([#17014](https://github.com/taikoxyz/taiko-mono/issues/17014)) ([c20f25f](https://github.com/taikoxyz/taiko-mono/commit/c20f25f24307b0a994e3387c90c12844aa01e83a))
18+
* **bridge-ui:** fee adjustments ([#16834](https://github.com/taikoxyz/taiko-mono/issues/16834)) ([0a48b0f](https://github.com/taikoxyz/taiko-mono/commit/0a48b0f00ed278535b8e9171055ac9de45b65a62))
19+
* **bridge-ui:** handle transaction timeouts ([#16912](https://github.com/taikoxyz/taiko-mono/issues/16912)) ([759c511](https://github.com/taikoxyz/taiko-mono/commit/759c511c04c03a1246f88e17ef1ad7179cb9e4cb))
20+
* **bridge-ui:** integrate NFT api ([#16940](https://github.com/taikoxyz/taiko-mono/issues/16940)) ([f769e77](https://github.com/taikoxyz/taiko-mono/commit/f769e7758d221b6e215f46f64fa2324d132e976d))
21+
* **bridge-ui:** mobile style for claim dialogs ([#16823](https://github.com/taikoxyz/taiko-mono/issues/16823)) ([63f15c9](https://github.com/taikoxyz/taiko-mono/commit/63f15c9dcad96aba755f7d618064b4149526cc22))
22+
* **bridge-ui:** prepare for hekla ([#16618](https://github.com/taikoxyz/taiko-mono/issues/16618)) ([6953b3c](https://github.com/taikoxyz/taiko-mono/commit/6953b3c141a1dec744a0e0bfa8c9aa0a1f405407))
23+
* **bridge-ui:** processingFee from API ([#16708](https://github.com/taikoxyz/taiko-mono/issues/16708)) ([3cd7cce](https://github.com/taikoxyz/taiko-mono/commit/3cd7cce1c52f94276011f4581143390c26acb49e))
24+
* **bridge-ui:** quota manager check ([#17024](https://github.com/taikoxyz/taiko-mono/issues/17024)) ([3cf6e7b](https://github.com/taikoxyz/taiko-mono/commit/3cf6e7b4bcb449c78a50cfd85d2fcdcbe451ab2e))
25+
* **bridge-ui:** release ([#17071](https://github.com/taikoxyz/taiko-mono/issues/17071)) ([2fa3ae0](https://github.com/taikoxyz/taiko-mono/commit/2fa3ae0b2b2317a467709110c381878a3a9f8ec6))
26+
* **bridge-ui:** remove two step and change gasLimit ([#16765](https://github.com/taikoxyz/taiko-mono/issues/16765)) ([14576f7](https://github.com/taikoxyz/taiko-mono/commit/14576f78ae5a93fe5ec7972f3e32789f26723592))
27+
* **bridge-ui:** retry dialog ([#16536](https://github.com/taikoxyz/taiko-mono/issues/16536)) ([3beba21](https://github.com/taikoxyz/taiko-mono/commit/3beba214e62ad196bafd716cadaa3f133ecdb021))
28+
* **bridge-ui:** update to protocol 1.0, two step bridging ([#16230](https://github.com/taikoxyz/taiko-mono/issues/16230)) ([71babae](https://github.com/taikoxyz/taiko-mono/commit/71babae14645ff267c7baa101706860aa6f556f0))
29+
* **bridge-ui:** update token dropdown ([#16979](https://github.com/taikoxyz/taiko-mono/issues/16979)) ([f19cf66](https://github.com/taikoxyz/taiko-mono/commit/f19cf6686eaa327f56a645a2c3290baa2e513782))
30+
* **protocol:** risc0 verifier contract ([#16331](https://github.com/taikoxyz/taiko-mono/issues/16331)) ([17abc18](https://github.com/taikoxyz/taiko-mono/commit/17abc189ca3d2752beb5400c036a650fd5b9c895))
31+
32+
33+
### Bug Fixes
34+
35+
* **bridge-ui:** add missing labels to i18n ([#16633](https://github.com/taikoxyz/taiko-mono/issues/16633)) ([3854467](https://github.com/taikoxyz/taiko-mono/commit/38544675bf6578bc1016ecfd60cb3a1f93207516))
36+
* **bridge-ui:** balance updating when connecting ([#16481](https://github.com/taikoxyz/taiko-mono/issues/16481)) ([2ec333f](https://github.com/taikoxyz/taiko-mono/commit/2ec333f5d3f3330c11dc0ab3afacc027c33cd5e0))
37+
* **bridge-ui:** canonical check can use wrong chain, incorrect supported chain check ([#16526](https://github.com/taikoxyz/taiko-mono/issues/16526)) ([d826e88](https://github.com/taikoxyz/taiko-mono/commit/d826e886eba989c35b3f28145f815642684f84d7))
38+
* **bridge-ui:** correct display of forward arrow and handling of invalid pagination input ([#16485](https://github.com/taikoxyz/taiko-mono/issues/16485)) ([d4d9ce9](https://github.com/taikoxyz/taiko-mono/commit/d4d9ce9bb7914b21f8ce6fc1ac5f986eb64d41f8))
39+
* **bridge-ui:** custom and none fee selection overwritten by error fetching recommended fee ([#16737](https://github.com/taikoxyz/taiko-mono/issues/16737)) ([9166ee3](https://github.com/taikoxyz/taiko-mono/commit/9166ee3e0a968db19d8cec2002565413d79cd708))
40+
* **bridge-ui:** defaulting to source chain explorer for link to canonical address ([#16701](https://github.com/taikoxyz/taiko-mono/issues/16701)) ([68bd435](https://github.com/taikoxyz/taiko-mono/commit/68bd4354d03429ceccd4b311db6e59066111af09))
41+
* **bridge-ui:** dropdown css and color css fix ([#17000](https://github.com/taikoxyz/taiko-mono/issues/17000)) ([fcbc346](https://github.com/taikoxyz/taiko-mono/commit/fcbc3463e623b81eb5ed9f73c5098e5fbea874ca))
42+
* **bridge-ui:** fix ERC721 and ERC1155 detection in NFT bridge ([#16680](https://github.com/taikoxyz/taiko-mono/issues/16680)) ([ca45aa6](https://github.com/taikoxyz/taiko-mono/commit/ca45aa6da6101f15fe9ef4c485e5d61a64f66f84))
43+
* **bridge-ui:** fix ETH self claiming ([#16344](https://github.com/taikoxyz/taiko-mono/issues/16344)) ([4271f0d](https://github.com/taikoxyz/taiko-mono/commit/4271f0d2b01da8179d604a0fbff0816a0d72e547))
44+
* **bridge-ui:** fix issue where balance is shown for wrong token ([#16541](https://github.com/taikoxyz/taiko-mono/issues/16541)) ([1dd47cf](https://github.com/taikoxyz/taiko-mono/commit/1dd47cf5eca91d47375547b23203a9f942e22e80))
45+
* **bridge-ui:** manual import not resetting correctly ([#16347](https://github.com/taikoxyz/taiko-mono/issues/16347)) ([87398fe](https://github.com/taikoxyz/taiko-mono/commit/87398fe9606cf73ce66ed4f8321368fe8ac8fbb4))
46+
* **bridge-ui:** move label to i18n, fix some typos ([#16522](https://github.com/taikoxyz/taiko-mono/issues/16522)) ([c8c4773](https://github.com/taikoxyz/taiko-mono/commit/c8c4773dd3fe41decf13306eace73d65a9829529))
47+
* **bridge-ui:** preserve custom processing fee selection across components ([#16346](https://github.com/taikoxyz/taiko-mono/issues/16346)) ([9cf6b3a](https://github.com/taikoxyz/taiko-mono/commit/9cf6b3ae0981d1755d253cd7d6238771898fc3f4))
48+
* **bridge-ui:** prevent reverse tabnabbing attacks ([#16583](https://github.com/taikoxyz/taiko-mono/issues/16583)) ([fc57d82](https://github.com/taikoxyz/taiko-mono/commit/fc57d82cb7c049a656c2f08d947f4a5a42ffacf3))
49+
* **bridge-ui:** remove erroneous numeric expression ([#16858](https://github.com/taikoxyz/taiko-mono/issues/16858)) ([37525d8](https://github.com/taikoxyz/taiko-mono/commit/37525d815c32293fcd09b4118791c93f0b0528ee))
50+
* **bridge-ui:** update disabled for chainselector ([#16814](https://github.com/taikoxyz/taiko-mono/issues/16814)) ([406b15a](https://github.com/taikoxyz/taiko-mono/commit/406b15a301c7a3454957518a2cc33a44fbf21cde))
51+
* **bridge-ui:** walletconnect not allowing to switch to unconfigured chains ([#16324](https://github.com/taikoxyz/taiko-mono/issues/16324)) ([d6ef79e](https://github.com/taikoxyz/taiko-mono/commit/d6ef79eae0836a9dabd481cd0953bc03eea9bf7a))
52+
353
## [4.2.0](https://github.com/taikoxyz/taiko-mono/compare/bridge-ui-v4.1.0...bridge-ui-v4.2.0) (2024-04-24)
454

555

packages/bridge-ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bridge-ui",
3-
"version": "4.2.0",
3+
"version": "2.10.0",
44
"private": true,
55
"scripts": {
66
"dev": "vite dev",

packages/docs-site/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## [1.0.0](https://github.com/taikoxyz/taiko-mono/compare/docs-site-v1.0.0...docs-site-v1.0.0) (2024-05-13)
4+
5+
6+
### Features
7+
8+
* **bridge-ui:** release ([#17071](https://github.com/taikoxyz/taiko-mono/issues/17071)) ([2fa3ae0](https://github.com/taikoxyz/taiko-mono/commit/2fa3ae0b2b2317a467709110c381878a3a9f8ec6))
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const configuredNetworks = ['hekla', 'devnet']
1+
export const configuredNetworks = ['hekla', 'devnet'];

packages/guardian-prover-health-check-ui/src/lib/dataFetcher.ts

+2-5
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ async function fetchGuardians() {
116116

117117
guardian.name = await getPseudonym(guardian.address);
118118

119-
console.log("getting balance for", guardian.name, guardian.id, guardian.address);
119+
console.log('getting balance for', guardian.name, guardian.id, guardian.address);
120120

121121
const [status, uptime, balance] = await Promise.all([
122122
fetchLatestGuardianProverHealthCheckFromApi(
@@ -125,7 +125,6 @@ async function fetchGuardians() {
125125
),
126126
fetchUptimeFromApi(import.meta.env.VITE_GUARDIAN_PROVER_API_URL, guardian.address),
127127
publicClient.getBalance({ address: guardian.address as Address })
128-
129128
]);
130129

131130
guardian.balance = formatEther(balance);
@@ -141,7 +140,6 @@ async function fetchGuardians() {
141140
guardianProvers.set(updatedGuardians);
142141
lastGuardianFetchTimestamp.set(Date.now());
143142
console.log('updatedGuardians', updatedGuardians);
144-
145143
}
146144

147145
async function fetchSignedBlockStats() {
@@ -188,7 +186,7 @@ async function fetchStats(): Promise<void> {
188186
const guardians = get(guardianProvers);
189187

190188
const updatedGuardiansPromises = guardians.map(async (guardian) => {
191-
console.log('fetching stats for', guardian.address)
189+
console.log('fetching stats for', guardian.address);
192190
const startupDataFetch = fetchStartupDataFromApi(
193191
import.meta.env.VITE_GUARDIAN_PROVER_API_URL,
194192
guardian.address
@@ -210,7 +208,6 @@ async function fetchStats(): Promise<void> {
210208
revision: startupData.revision
211209
};
212210

213-
214211
const blockInfo: BlockInfo = {
215212
latestL1BlockNumber: nodeInfo.latestL1BlockNumber,
216213
latestL2BlockNumber: nodeInfo.latestL2BlockNumber

packages/guardian-prover-health-check-ui/src/lib/guardianProver/loadConfiguredGuardians.ts

+14-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
import { configuredNetworks } from "$config";
1+
import { configuredNetworks } from '$config';
22

33
export async function loadGuardians(): Promise<{ [address: string]: string }> {
4-
const network = import.meta.env.VITE_NETWORK_CONFIG;
5-
if (!network) {
6-
throw new Error('Network not configured. Please set VITE_NETWORK_CONFIG in .env file. Currently supported networks: ' + configuredNetworks.join(', '));
7-
}
8-
const path = `/config/${network}/guardians.json`;
9-
const response = await fetch(path);
10-
if (!response.ok) {
11-
throw new Error(`Failed to load ${path}: ${response.statusText}`);
12-
}
13-
return response.json();
4+
const network = import.meta.env.VITE_NETWORK_CONFIG;
5+
if (!network) {
6+
throw new Error(
7+
'Network not configured. Please set VITE_NETWORK_CONFIG in .env file. Currently supported networks: ' +
8+
configuredNetworks.join(', ')
9+
);
10+
}
11+
const path = `/config/${network}/guardians.json`;
12+
const response = await fetch(path);
13+
if (!response.ok) {
14+
throw new Error(`Failed to load ${path}: ${response.statusText}`);
15+
}
16+
return response.json();
1417
}
15-

packages/guardian-prover-health-check-ui/src/lib/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Address } from "viem";
1+
import type { Address } from 'viem';
22

33
export type SignedBlock = {
44
blockHash: string;

release-please-config.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
"packages": {
33
"packages/blobstorage": {},
44
"packages/branding": {},
5-
"packages/bridge-ui": {},
6-
"packages/docs-site": {},
5+
"packages/bridge-ui": {
6+
"release-as": "2.10.0"
7+
},
8+
"packages/docs-site": {
9+
"release-as": "1.0.0"
10+
},
711
"packages/eventindexer": {},
812
"packages/fork-diff": {},
913
"packages/guardian-prover-health-check": {},

0 commit comments

Comments
 (0)