Skip to content

Commit

Permalink
revert ssz generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
GrapeBaBa committed Oct 30, 2024
1 parent 17e5c9e commit 5111dea
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 61 deletions.
3 changes: 2 additions & 1 deletion p2p/discover/portalwire/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import (
ssz "github.com/ferranbt/fastssz"
)

//go:generate sszgen --path messages.go --exclude-objs Content,Enrs,ContentKV
// note: We changed the generated file since fastssz issues which can't be passed by the CI, so we commented the go:generate line
///go:generate sszgen --path messages.go --exclude-objs Content,Enrs,ContentKV

// Message codes for the portal protocol.
const (
Expand Down
2 changes: 1 addition & 1 deletion p2p/discover/portalwire/messages_encoding.go

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

58 changes: 1 addition & 57 deletions portalnetwork/beacon/types_encoding.go

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

3 changes: 2 additions & 1 deletion portalnetwork/history/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import (
ssz "github.com/ferranbt/fastssz"
)

//go:generate sszgen --path types.go --exclude-objs BlockHeaderProof,PortalReceipts
// note: We changed the generated file since fastssz issues which can't be passed by the CI, so we commented the go:generate line
///go:generate sszgen --path types.go --exclude-objs BlockHeaderProof,PortalReceipts

type BlockHeaderProofType uint8

Expand Down
2 changes: 1 addition & 1 deletion portalnetwork/history/types_encoding.go

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

0 comments on commit 5111dea

Please sign in to comment.