From ed84fdba53f3a88dfd18d3673cd0b18be394ccf7 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Tue, 28 Nov 2023 04:39:48 +0000 Subject: [PATCH 1/2] add pr checklist --- .../workflows/auto_create_pr_checklist.yml | 29 +++++++++++++++++++ .gitignore | 0 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/auto_create_pr_checklist.yml create mode 100644 .gitignore diff --git a/.github/workflows/auto_create_pr_checklist.yml b/.github/workflows/auto_create_pr_checklist.yml new file mode 100644 index 0000000..bddb43c --- /dev/null +++ b/.github/workflows/auto_create_pr_checklist.yml @@ -0,0 +1,29 @@ +name: Auto Create PR Checklist + +on: + pull_request: + types: + - opened + +jobs: + create_checklist: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Create PR Checklist + run: | + echo "- [ ] Did you check your grammar / reader proof your document using ChatGPT?" >> $GITHUB_WORKSPACE/$GITHUB_EVENT_NAME.md + echo "- [ ] After merging this, please update your task status!" >> $GITHUB_WORKSPACE/$GITHUB_EVENT_NAME.md + + - name: Commit and Push Changes + run: | + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git add $GITHUB_EVENT_NAME.md + git commit -m "Add checklist to PR description" -a + git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 From 4fad1eff74caa029ab6a6941fed36cab0f70bc37 Mon Sep 17 00:00:00 2001 From: Harry Nguyen Date: Fri, 1 Dec 2023 15:17:29 +0700 Subject: [PATCH 2/2] test --- docs/plonk.md | 6 ++++++ terms/polynomial-commitment/000_polynomial_commitment.md | 3 +++ terms/polynomial-commitment/100_kate_commitment.md | 1 + terms/trusted_setup.md | 1 + 4 files changed, 11 insertions(+) create mode 100644 docs/plonk.md create mode 100644 terms/polynomial-commitment/000_polynomial_commitment.md create mode 100644 terms/polynomial-commitment/100_kate_commitment.md create mode 100644 terms/trusted_setup.md diff --git a/docs/plonk.md b/docs/plonk.md new file mode 100644 index 0000000..737b307 --- /dev/null +++ b/docs/plonk.md @@ -0,0 +1,6 @@ +# PLONK +Ref: [https://vitalik.ca/general/2019/09/22/plonk.html](https://vitalik.ca/general/2019/09/22/plonk.html) + +## TLDR; +- PLONK still requires a trusted setup +- \ No newline at end of file diff --git a/terms/polynomial-commitment/000_polynomial_commitment.md b/terms/polynomial-commitment/000_polynomial_commitment.md new file mode 100644 index 0000000..4fe4022 --- /dev/null +++ b/terms/polynomial-commitment/000_polynomial_commitment.md @@ -0,0 +1,3 @@ +# Polynomial commitment + +## [Kate commitment](100_kate_commitment.md) diff --git a/terms/polynomial-commitment/100_kate_commitment.md b/terms/polynomial-commitment/100_kate_commitment.md new file mode 100644 index 0000000..d043c91 --- /dev/null +++ b/terms/polynomial-commitment/100_kate_commitment.md @@ -0,0 +1 @@ +# Kate commitment \ No newline at end of file diff --git a/terms/trusted_setup.md b/terms/trusted_setup.md new file mode 100644 index 0000000..76bad64 --- /dev/null +++ b/terms/trusted_setup.md @@ -0,0 +1 @@ +# Trusted setup