-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simulators/eth2/beacon: api first changes
- Loading branch information
Showing
26 changed files
with
692 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Build the simulator binary | ||
FROM golang:1-alpine AS builder | ||
RUN apk --no-cache add gcc musl-dev linux-headers cmake make clang build-base clang-static clang-dev | ||
|
||
# Prepare workspace. | ||
# Note: the build context of this simulator image is the parent directory! | ||
ADD . /source | ||
|
||
# Build within simulator folder | ||
WORKDIR /source | ||
RUN go build -o ./sim . | ||
|
||
# Build the runner container. | ||
FROM alpine:latest | ||
ADD . / | ||
COPY --from=builder /source/sim / | ||
|
||
ENTRYPOINT ["./sim"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
module github.com/ethereum/hive/simulators/beacon/api | ||
|
||
go 1.20 | ||
|
||
require ( | ||
github.com/ethereum/hive v0.0.0-20230516150403-448156fa839e | ||
github.com/golang/snappy v0.0.4 | ||
github.com/holiman/uint256 v1.2.1 | ||
github.com/pkg/errors v0.9.1 | ||
github.com/protolambda/zrnt v0.30.0 | ||
github.com/protolambda/ztyp v0.2.2 | ||
gopkg.in/yaml.v3 v3.0.1 | ||
) | ||
|
||
require ( | ||
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect | ||
github.com/deckarep/golang-set/v2 v2.1.0 // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect | ||
github.com/ethereum/go-ethereum v1.11.4 // indirect | ||
github.com/go-ole/go-ole v1.2.6 // indirect | ||
github.com/go-stack/stack v1.8.1 // indirect | ||
github.com/gorilla/websocket v1.5.0 // indirect | ||
github.com/kilic/bls12-381 v0.1.0 // indirect | ||
github.com/minio/sha256-simd v0.1.0 // indirect | ||
github.com/protolambda/bls12-381-util v0.0.0-20210720105258-a772f2aac13e // indirect | ||
github.com/shirou/gopsutil v3.21.11+incompatible // indirect | ||
github.com/syndtr/goleveldb v1.0.1-0.20220614013038-64ee5596c38a // indirect | ||
github.com/tklauser/go-sysconf v0.3.11 // indirect | ||
github.com/tklauser/numcpus v0.6.0 // indirect | ||
github.com/yusufpapurcu/wmi v1.2.2 // indirect | ||
golang.org/x/crypto v0.4.0 // indirect | ||
golang.org/x/sys v0.5.0 // indirect | ||
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect | ||
) |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.