diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..5e253f6 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,14 @@ +name: Test +on: [push, pull_request] +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Install Go + uses: actions/setup-go@v1 + with: + go-version: 1.19.x + - name: Checkout code + uses: actions/checkout@v2 + - name: Run tests + run: go test ./... diff --git a/README.md b/README.md index b3e7051..58aa4d4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ -# eth-kzg-ceremony-alt +# eth-kzg-ceremony-alt [![GoDoc](https://godoc.org/github.com/arnaucube/eth-kzg-ceremony-alt?status.svg)](https://godoc.org/github.com/arnaucube/eth-kzg-ceremony-alt) [![Test](https://github.com/arnaucube/eth-kzg-ceremony-alt/workflows/Test/badge.svg)](https://github.com/arnaucube/eth-kzg-ceremony-alt/actions?query=workflow%3ATest) Alternative (non-official) implementation in Go of the *contributor* for the [Ethereum KZG Trusted Setup Ceremony](https://github.com/ethereum/kzg-ceremony/blob/main/FAQ.md). The purpose of this repo is to use it to contribute to the upcoming Ethereum KZG Trusted Setup Ceremony, without using the official implementation. The Ceremony is considered safe as long as there is at least one honest participant, with the idea that if you participate, assuming that you consider yourself honest, you can consider the Ceremony safe. -Ethereum will run the Ceremony which will be used at least in [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844) (but probably in other use cases and applications). +Ethereum will run the Ceremony which will be used at least in [EIP-4844](https://eips.ethereum.org/EIPS/eip-4844). + Probably most of the contributions will be generated with the same code (official impl, which has been audited). The idea of this repo is to try to bring more diversity to the table with another independent implementation. This implementation has been done without looking at the other impls code (neither the python reference nor the rust impl (except for the points parsers test vectors)), in order to not be biased by that code.