From a3166627de8586184a0cdb31eb8175133af48001 Mon Sep 17 00:00:00 2001 From: 0xKitsune <0xkitsune@protonmail.com> Date: Sun, 3 Nov 2024 10:13:11 -0500 Subject: [PATCH 1/2] fix links --- world-chain-builder/docs/pbh_tx_lifecycle.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/world-chain-builder/docs/pbh_tx_lifecycle.md b/world-chain-builder/docs/pbh_tx_lifecycle.md index d4a6b1e..7580f58 100644 --- a/world-chain-builder/docs/pbh_tx_lifecycle.md +++ b/world-chain-builder/docs/pbh_tx_lifecycle.md @@ -10,7 +10,7 @@ The builder introduces a new [EIP-2718 RLP encoded transaction envelope](https:/ The contents of the PBH tx envelope simply consist of an [Ethereum typed transaction ](https://eips.ethereum.org/EIPS/eip-2718) and optional semaphore proof ensuring that the sender is verified World ID user. In order to create a PBH transaction envelope, first generate an [Ethereum transaction](https://ethereum.org/en/developers/docs/transactions/). -Next, [create a World ID proof](), **setting the `signal` to the transaction hash of the tx you are verifying**, and set the `externalNullifier` to the following schema `vv-mmyyyy-nn` where: +Next, [create a World ID proof](https://docs.world.org/world-id/further-reading/zero-knowledge-proofs), **setting the `signal` to the transaction hash of the tx you are verifying**, and set the `externalNullifier` to the following schema `vv-mmyyyy-nn` where: - **Version Prefix (vv)**: Indicates the version of the external nullifier schema This should be set to `0`. - **Date (mmyyyy)**: Indicates the current month and year. @@ -38,7 +38,7 @@ PbhPayload = { externalNullifier, nullifierHash, root, proof } ## Sending transactions to the Builder -Since the PBH tx envelope is a valid [EIP-2718 Typed Transaction Envelope](https://eips.ethereum.org/EIPS/eip-2718), it can be sent to the builder via the `eth_sendRawTransaction` endpoint, just like any other node that implements the Engine API. +Since the PBH tx envelope is a valid [EIP-2718 Typed Transaction Envelope](https://eips.ethereum.org/EIPS/eip-2718), it can be sent to the builder via the `eth_sendRawTransaction` endpoint, just like any other node that implements the [Eth API](https://ethereum.org/en/developers/docs/apis/json-rpc/). ```bash curl -X POST \ From 8f219cf614602d29bf8bedd10b0d22745c75f10c Mon Sep 17 00:00:00 2001 From: 0xOsiris Date: Tue, 5 Nov 2024 18:50:11 -0700 Subject: [PATCH 2/2] chore: only run ci on weekly schedule --- .github/workflows/run-k8s.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-k8s.yml b/.github/workflows/run-k8s.yml index 3ca6f01..66dc68c 100644 --- a/.github/workflows/run-k8s.yml +++ b/.github/workflows/run-k8s.yml @@ -1,10 +1,8 @@ name: K8s CI on: - push: - branches: [main] - pull_request: - branches: [main] workflow_dispatch: + schedule: + - cron: '0 0 * * 1' env: CARGO_TERM_COLOR: always