From 31c2de2e01aa63818e02b880e59a49179145bfad Mon Sep 17 00:00:00 2001 From: GitTsewell <18008072409@163.com> Date: Tue, 16 Jan 2024 13:50:40 +0800 Subject: [PATCH 1/5] add : update utils constant --- config/config.json | 2 +- utils/constants.go | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/config/config.json b/config/config.json index f4f3d4e6..0b77929c 100644 --- a/config/config.json +++ b/config/config.json @@ -1,5 +1,5 @@ { - "MysqlDataSource" : "zkroot:zkpasswd@tcp(127.0.0.1:3306)/zkpos?parseTime=true", + "MysqlDataSource" : "root:mysqlpw@tcp(127.0.0.1:55000)/zkpos?parseTime=true", "DbSuffix": "202307", "UserDataFile": "./example_data/", "TreeDB": { diff --git a/utils/constants.go b/utils/constants.go index 31a8bac1..c6dd50b9 100644 --- a/utils/constants.go +++ b/utils/constants.go @@ -6,7 +6,7 @@ import ( ) const ( - BatchCreateUserOpsCounts = 4 + BatchCreateUserOpsCounts = 864 AccountTreeDepth = 28 AssetCounts = 350 RedisLockKey = "prover_mutex_key" @@ -31,5 +31,11 @@ var ( "pepe": true, "floki": true, "nft": true, + "sats": true, + "btt": true, + "bonk": true, + "rats": true, + "axl": true, + "1cat": true, } ) From 5e8497cb4c9156928734e54bce1a20285060ff87 Mon Sep 17 00:00:00 2001 From: GitTsewell <18008072409@163.com> Date: Tue, 16 Jan 2024 14:19:16 +0800 Subject: [PATCH 2/5] add : makefile --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a646b608..73110381 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,11 @@ -build: - go build ./main.go +build-arm64: + GOARCH=arm64 GOOS=darwin go build -o zkproof_darwin_arm64 ./main.go + +build-amd64: + GOARCH=amd64 GOOS=darwin go build -o zkproof_darwin_amd64 ./main.go build-linux: - CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./main.go + GOARCH=amd64 GOOS=linux go build -o zkproof_linux_amd64 ./main.go build-windows: - CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build ./main.go \ No newline at end of file + GOARCH=amd64 GOOS=windows go build -o zkproof_windows_amd64.exe ./main.go \ No newline at end of file From 41c7fac0c28d7d5a085d6343559373479b3e8848 Mon Sep 17 00:00:00 2001 From: GitTsewell <18008072409@163.com> Date: Fri, 8 Mar 2024 13:32:00 +0800 Subject: [PATCH 3/5] add : omi coin --- utils/constants.go | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/constants.go b/utils/constants.go index c6dd50b9..9aa2d056 100644 --- a/utils/constants.go +++ b/utils/constants.go @@ -37,5 +37,6 @@ var ( "rats": true, "axl": true, "1cat": true, + "omi": true, } ) From 2b113bb48bef0a7d2f8707ab7f45e025bb9d7de7 Mon Sep 17 00:00:00 2001 From: KiwieAngel <168942608+KiwieAngel@users.noreply.github.com> Date: Sat, 10 Aug 2024 06:59:32 +0700 Subject: [PATCH 4/5] Add files via upload From 294628ca8555377ae7933130076b36c8a73a46c4 Mon Sep 17 00:00:00 2001 From: KiwieAngel <168942608+KiwieAngel@users.noreply.github.com> Date: Sat, 10 Aug 2024 08:21:01 +0700 Subject: [PATCH 5/5] Create jekyll-gh-pages.yml --- .github/workflows/jekyll-gh-pages.yml | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 00000000..0ebd768b --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,51 @@ +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled + +on: + # Runs on pushes targeting the default branch + push: + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4