Skip to content

Commit

Permalink
Update eth2-go-client
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Nov 9, 2023
1 parent 82576b4 commit 9e6262f
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
6 changes: 3 additions & 3 deletions api/deneb/blindedblobsbundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

// BlindedBlobsBundle is the structure used to store the blobs bundle.
type BlindedBlobsBundle struct {
Commitments []deneb.KzgCommitment `ssz-max:"6" ssz-size:"?,48"`
Proofs []deneb.KzgProof `ssz-max:"6" ssz-size:"?,48"`
BlobRoots []phase0.Root `ssz-max:"6" ssz-size:"?,32"`
Commitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
Proofs []deneb.KZGProof `ssz-max:"4096" ssz-size:"?,48"`
BlobRoots []phase0.Root `ssz-max:"4096" ssz-size:"?,32"`
}

// String returns a string version of the structure.
Expand Down
4 changes: 2 additions & 2 deletions api/deneb/blindedblobsbundle_ssz.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions api/deneb/blobsbundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import (

// BlobsBundle is the structure used to store the blobs bundle.
type BlobsBundle struct {
Commitments []deneb.KzgCommitment `ssz-max:"6" ssz-size:"?,48"`
Proofs []deneb.KzgProof `ssz-max:"6" ssz-size:"?,48"`
Blobs []deneb.Blob `ssz-max:"6" ssz-size:"?,131072"`
Commitments []deneb.KZGCommitment `ssz-max:"4096" ssz-size:"?,48"`
Proofs []deneb.KZGProof `ssz-max:"4096" ssz-size:"?,48"`
Blobs []deneb.Blob `ssz-max:"4096" ssz-size:"?,131072"`
}

// String returns a string version of the structure.
Expand Down
42 changes: 21 additions & 21 deletions api/deneb/blobsbundle_ssz.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/attestantio/go-builder-client
go 1.20

require (
github.com/attestantio/go-eth2-client v0.19.0
github.com/attestantio/go-eth2-client v0.19.5
github.com/ferranbt/fastssz v0.1.3
github.com/goccy/go-yaml v1.11.2
github.com/holiman/uint256 v1.2.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
github.com/attestantio/go-eth2-client v0.19.0 h1:R0SS4PY0W22ntOEvh9F9tajY2tH4oZm3Y5FxFMk6Nrg=
github.com/attestantio/go-eth2-client v0.19.0/go.mod h1:mZve1kV9Ctj0I1HH9gdg+MnI8lZ+Cb2EktEtOYrBlsM=
github.com/attestantio/go-eth2-client v0.19.5 h1:4V+vhXsCYji5jWrlONbr03GV7qoLRdzq96dLgXaqmek=
github.com/attestantio/go-eth2-client v0.19.5/go.mod h1:mZve1kV9Ctj0I1HH9gdg+MnI8lZ+Cb2EktEtOYrBlsM=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
Expand Down
4 changes: 2 additions & 2 deletions spec/versionedsubmitblockrequest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2437,8 +2437,8 @@ func TestVersionedSubmitBlockRequestString(t *testing.T) {
Withdrawals: make([]*consensuscapella.Withdrawal, 0),
},
BlobsBundle: &deneb.BlobsBundle{
Commitments: make([]consensusdeneb.KzgCommitment, 0),
Proofs: make([]consensusdeneb.KzgProof, 0),
Commitments: make([]consensusdeneb.KZGCommitment, 0),
Proofs: make([]consensusdeneb.KZGProof, 0),
Blobs: make([]consensusdeneb.Blob, 0),
},
Signature: phase0.BLSSignature{
Expand Down

0 comments on commit 9e6262f

Please sign in to comment.