diff --git a/.github/ISSUE_TEMPLATE/add_project.yml b/.github/ISSUE_TEMPLATE/add_project.yml deleted file mode 100644 index 6785ac46eb..0000000000 --- a/.github/ISSUE_TEMPLATE/add_project.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: "Add a project to Taiko's ecosystem 🌐" -description: "Add a project to Taiko's ecosystem" -title: "Add [PROJECT_NAME] to the ecosystem page" -labels: ["area.website", "category.ecosystem"] -body: - - type: markdown - attributes: - value: | - Thanks for taking the time to add your project. You can see existing examples on Taiko's ecosystem page [here](https://taiko.xyz/ecosystem)! NOTE: We can only accept ecosystem projects that have integrated with Taiko or have clear plans to do so in the future. - - type: input - id: title - attributes: - label: Title of your project - validations: - required: true - - type: input - id: description - attributes: - label: Short (1-2 sentence) description of your project - validations: - required: true - - type: input - id: link - attributes: - label: Link to your project - validations: - required: true - - type: dropdown - id: isLive - attributes: - label: Live on Testnet - description: Is your project deployed on one of Taiko's testnets? - multiple: false - options: - - "Yes (default)" - - "No" - validations: - required: true - - type: input - id: evidence - attributes: - label: If your project is live on one of Taiko's testnets, please provide evidence of that here (eg. links, screenshots). If your project is NOT live, please provide your plan for integration here. - validations: - required: true - - type: textarea - id: logo - attributes: - label: Upload a quality logo to your project - description: 512x512 or 1:1 ratio is preferred. If no image is provided we will use a placeholder image. - validations: - required: false diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 7ddc38c358..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Bug report 🐛 -description: Report a bug -labels: ["category.bug", "status.needs-triage"] -body: - - type: markdown - attributes: - value: | - Before submitting, please check if an existing issue already exists. Thanks for taking the time to improve Taiko! - - type: textarea - id: description - attributes: - label: Describe the bug - description: A concise description of the problem and what you expected to happen. - value: Description of the bug here. - validations: - required: true - - type: textarea - id: steps-to-reproduce - attributes: - label: Steps to reproduce - description: Steps to reproduce the bug, a numbered list could be good. - value: Steps to reproduce here. - - type: textarea - id: additional-context - attributes: - label: Additional context - description: Provide any additional context, screenshots, etc. - value: Additional context here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 6165e27904..0000000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1,4 +0,0 @@ -contact_links: - - name: Community support - url: https://discord.gg/taikoxyz - about: This issue tracker is only for feature requests and bug reports. Community support is available on Discord! diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml deleted file mode 100644 index 6a0c5f411f..0000000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Feature request 💡 -description: Request a feature -labels: ["category.enhancement", "status.needs-triage"] -body: - - type: markdown - attributes: - value: | - Before submitting, please check if an existing issue already exists. Thanks for taking the time to improve Taiko! - - type: textarea - id: description - attributes: - label: Describe the feature request - description: A concise description of what the problem and proposed solution is. - value: Description of the feature request here. - validations: - required: true - - type: textarea - id: alternatives - attributes: - label: Describe alternatives you've considered - description: A concise description of any alternative solutions you've considered. - value: Description of the alternatives you've considered here. - - type: textarea - id: additional-context - attributes: - label: Additional context - description: Provide any additional context, screenshots, etc. - value: Additional context here. diff --git a/.github/workflows/bridge-ui-preview.yml b/.github/workflows/bridge-ui-preview.yml new file mode 100644 index 0000000000..ed3f45bb09 --- /dev/null +++ b/.github/workflows/bridge-ui-preview.yml @@ -0,0 +1,33 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI }} + +on: + push: + branches-ignore: + - main + - release-please-* + paths: + - "packages/bridge-ui-v2/**" + +jobs: + Deploy-Preview: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/bridge-ui-production.yml b/.github/workflows/bridge-ui-production.yml new file mode 100644 index 0000000000..a1beed01cb --- /dev/null +++ b/.github/workflows/bridge-ui-production.yml @@ -0,0 +1,30 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_BRIDGE_UI }} + +on: + push: + tags: + - "bridge-ui-v2-*" + +jobs: + Deploy-Production: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/fork-diff-preview.yml b/.github/workflows/fork-diff-preview.yml new file mode 100644 index 0000000000..40df9c85b3 --- /dev/null +++ b/.github/workflows/fork-diff-preview.yml @@ -0,0 +1,33 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_FORK_DIFF }} + +on: + push: + branches-ignore: + - main + - release-please-* + paths: + - "packages/fork-diff/**" + +jobs: + Deploy-Preview: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/fork-diff-production.yml b/.github/workflows/fork-diff-production.yml new file mode 100644 index 0000000000..4356613846 --- /dev/null +++ b/.github/workflows/fork-diff-production.yml @@ -0,0 +1,30 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_FORK_DIFF }} + +on: + push: + tags: + - "fork-diff-*" + +jobs: + Deploy-Production: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/guardian-prover-health-check-ui-preview.yml b/.github/workflows/guardian-prover-health-check-ui-preview.yml new file mode 100644 index 0000000000..0aa9441319 --- /dev/null +++ b/.github/workflows/guardian-prover-health-check-ui-preview.yml @@ -0,0 +1,33 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_PROVER_HEALTH_CHECK_UI }} + +on: + push: + branches-ignore: + - main + - release-please-* + paths: + - "packages/guardian-prover-health-check-ui/**" + +jobs: + Deploy-Preview: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/guardian-prover-health-check-ui-production.yml b/.github/workflows/guardian-prover-health-check-ui-production.yml new file mode 100644 index 0000000000..43be2ee3a3 --- /dev/null +++ b/.github/workflows/guardian-prover-health-check-ui-production.yml @@ -0,0 +1,30 @@ +env: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID_GUARDIAN_PROVER_HEALTH_CHECK_UI }} + +on: + push: + tags: + - "guardian-prover-health-check-ui-*" + +jobs: + Deploy-Production: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Install pnpm dependencies + uses: ./.github/actions/install-pnpm-dependencies + + - name: Install Vercel CLI + run: pnpm add --global vercel@latest + + - name: Pull Vercel Environment Information + run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} + + - name: Build Project Artifacts + run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} + + - name: Deploy Project Artifacts to Vercel + run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/validate-pr-title.yml b/.github/workflows/validate-pr-title.yml index 5ad33941b7..97c769af52 100644 --- a/.github/workflows/validate-pr-title.yml +++ b/.github/workflows/validate-pr-title.yml @@ -6,7 +6,10 @@ on: - opened - edited - synchronize - merge_group: + push: + branches: + - release-please-* # Trigger for release-please PRs, but skip the job + merge_group: # Trigger in the merge queue, but skip the job jobs: validate-pr-title: diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 2557d64653..866bc3bee8 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -3,6 +3,8 @@ "packages/bridge-ui-v2": "2.9.0", "packages/eventindexer": "0.13.0", "packages/fork-diff": "0.4.0", + "packages/guardian-prover-health-check": "0.1.0", + "packages/guardian-prover-health-check-ui": "0.1.0", "packages/protocol": "0.15.2", "packages/relayer": "0.12.0" } diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 81b21700ba..6951c4b5cd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -224,6 +224,8 @@ This section describes our documentation standards at Taiko. Use the [Microsoft Writing Style Guide](https://learn.microsoft.com/en-us/style-guide/welcome/) as a base point of reference for writing style. Generally, don't worry too much about things like typos. What's more important is following the basic [philosophies](#philosophies) outlined above and following structural standards for highly readable and minimal documentation. +For consistency throughout the project, please use **American English**. + ### Creating content If you are interested in creating some content (video, blog post, tweet thread, visuals, etc.), you are absolutely free to do so. It's useful to get a peer review on these, if you need a peer review please reach out to the community / team on the [Taiko Discord](https://discord.gg/taikoxyz). diff --git a/packages/bridge-ui-v2/.env.example b/packages/bridge-ui-v2/.env.example index 23fdf490c9..96934f9c0a 100644 --- a/packages/bridge-ui-v2/.env.example +++ b/packages/bridge-ui-v2/.env.example @@ -1,6 +1,9 @@ # Default explorer as fallback for the sidebar export PUBLIC_DEFAULT_EXPLORER=https:// +# Use the network swap Url +export PUBLIC_DEFAULT_SWAP_URL=https:// + # Use the bridge guide Urls export PUBLIC_GUIDE_URL=https:// diff --git a/packages/bridge-ui-v2/src/components/Icon/Icon.svelte b/packages/bridge-ui-v2/src/components/Icon/Icon.svelte index 378f5d343c..95e37b2de9 100644 --- a/packages/bridge-ui-v2/src/components/Icon/Icon.svelte +++ b/packages/bridge-ui-v2/src/components/Icon/Icon.svelte @@ -40,7 +40,8 @@ | 'approve-light' | 'approve-dark' | 'welcome-icon' - | 'settings'; + | 'settings' + | 'swap';