fix: adapt to chain33 go-ethereum v1.14.8 upgrade #1080
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci_mix | |
| on: [push,pull_request] | |
| jobs: | |
| ci_mix: | |
| name: ci_mix | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Golang | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version-file: 'go.mod' | |
| id: go | |
| - name: set go env | |
| run: export PATH=${PATH}:`go env GOPATH`/bin | |
| - name: generate zk key file | |
| run: | | |
| cd ./plugin/dapp/mix/cmd/ | |
| # groth16 PK/VK 与 gnark 版本绑定;链上已按 gnark v0.9.0 生成密钥, | |
| # 此处实时生成保证密钥与代码一致(旧 v0.5.2 密钥无法被 v0.9.0 读取) | |
| go run ./genzkkey ./gnark/ | |
| cd - | |
| - name: deploy | |
| run: | | |
| make docker-compose dapp=mix | |
| make docker-compose-down dapp=mix |