Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9f64a7b
Spec - filter committee duties per slot validator duties (#467)
y0sher Jul 22, 2024
6921f58
Spec - check att and sync duties exist before submitting (#468)
y0sher Jul 22, 2024
96429fb
Meta - Update to go1.22 (#474)
MatheusFranco99 Aug 14, 2024
8edc50a
Meta - Update dependencies (#483)
MatheusFranco99 Aug 20, 2024
9bf4379
Meta - Fix static analysis issues (#480)
MatheusFranco99 Aug 20, 2024
642d9d2
Meta - Drop unnecessary nolint comments (#477)
MatheusFranco99 Aug 20, 2024
02beeb9
Spec - Share length validation (#478)
MatheusFranco99 Aug 20, 2024
5daa242
Meta - Drop redundant error (#475)
MatheusFranco99 Aug 20, 2024
b0f2b4d
Spec - Drop redundant validation for decided messages (#476)
MatheusFranco99 Aug 20, 2024
c61218a
Spec - Sort signers in decided message (#484)
MatheusFranco99 Aug 20, 2024
9abeeec
Spec - Stop processing after decided (#487)
MatheusFranco99 Aug 20, 2024
496d839
Spec - Drop leftover error check (#469)
MatheusFranco99 Aug 20, 2024
af0414f
Add README with validation rules
MatheusFranco99 Aug 22, 2024
1b9004f
Add message validation implementation
MatheusFranco99 Aug 22, 2024
5956c72
Add message validation spec test
MatheusFranco99 Aug 22, 2024
5f7aa4e
Add tests
MatheusFranco99 Aug 22, 2024
78c4563
Generate JSON tests
MatheusFranco99 Aug 22, 2024
8cfb29a
Export max size values for msg validation checks
MatheusFranco99 Aug 22, 2024
2e2bfca
Generate JSON tests
MatheusFranco99 Aug 22, 2024
3ce2fef
Add a code documentation file
MatheusFranco99 Aug 26, 2024
d84bed0
Add more details to the validation README
MatheusFranco99 Sep 2, 2024
012509c
Update p2p/SPEC and p2p/SCORING with validation source and updated sc…
MatheusFranco99 Sep 2, 2024
0c26060
Move message rate estimation snippet to a go file
MatheusFranco99 Sep 4, 2024
90f3fb7
Add tests for the message rate estimation
MatheusFranco99 Sep 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Get Dependencies
run: go get -v -t -d ./...
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.20.x
go-version: 1.22.x

- name: Get Dependencies
run: go get -v -t -d ./...
Expand Down
46 changes: 23 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,33 +1,32 @@
module github.com/ssvlabs/ssv-spec

go 1.20
go 1.22

require (
github.com/attestantio/go-eth2-client v0.21.3
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0
github.com/ethereum/go-ethereum v1.12.0
github.com/ethereum/go-ethereum v1.14.8
github.com/ferranbt/fastssz v0.1.3
github.com/goccy/go-yaml v1.11.3 // indirect
github.com/google/go-cmp v0.6.0
github.com/herumi/bls-eth-go-binary v1.29.1
github.com/libp2p/go-libp2p v0.27.4
github.com/libp2p/go-libp2p-pubsub v0.9.3
github.com/libp2p/go-libp2p v0.36.1
github.com/libp2p/go-libp2p-pubsub v0.11.0
github.com/pkg/errors v0.9.1
github.com/prysmaticlabs/go-bitfield v0.0.0-20240328144219-a1caa50c3a1e
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.9.0
)

require github.com/google/go-cmp v0.5.9

require (
github.com/btcsuite/btcd/btcec/v2 v2.2.0 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/goccy/go-yaml v1.11.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.2 // indirect
github.com/holiman/uint256 v1.2.4 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/holiman/uint256 v1.3.1 // indirect
github.com/ipfs/go-cid v0.4.1 // indirect
github.com/ipfs/go-log/v2 v2.5.1 // indirect
github.com/klauspost/cpuid/v2 v2.2.7 // indirect
github.com/klauspost/cpuid/v2 v2.2.8 // indirect
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
github.com/libp2p/go-msgio v0.3.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
Expand All @@ -37,22 +36,23 @@ require (
github.com/mr-tron/base58 v1.2.0 // indirect
github.com/multiformats/go-base32 v0.1.0 // indirect
github.com/multiformats/go-base36 v0.2.0 // indirect
github.com/multiformats/go-multiaddr v0.9.0 // indirect
github.com/multiformats/go-multiaddr v0.13.0 // indirect
github.com/multiformats/go-multiaddr-fmt v0.1.0 // indirect
github.com/multiformats/go-multibase v0.2.0 // indirect
github.com/multiformats/go-multicodec v0.8.1 // indirect
github.com/multiformats/go-multihash v0.2.1 // indirect
github.com/multiformats/go-multistream v0.4.1 // indirect
github.com/multiformats/go-multicodec v0.9.0 // indirect
github.com/multiformats/go-multihash v0.2.3 // indirect
github.com/multiformats/go-multistream v0.5.0 // indirect
github.com/multiformats/go-varint v0.0.7 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/spaolacci/murmur3 v1.1.0 // indirect
go.uber.org/atomic v1.10.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.22.0 // indirect
golang.org/x/sys v0.19.0 // indirect
go.uber.org/zap v1.27.0 // indirect
golang.org/x/crypto v0.25.0 // indirect
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
golang.org/x/sys v0.22.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/protobuf v1.30.0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/blake3 v1.1.7 // indirect
lukechampine.com/blake3 v1.3.0 // indirect
)
268 changes: 185 additions & 83 deletions go.sum

Large diffs are not rendered by default.

Loading