Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use full path for ssz #206

Merged
merged 1 commit into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 qbft/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package qbft

//go:generate rm -f ./messages_encoding.go
//go:generate go run .../fastssz/sszgen --path messages.go --include ./types.go,../types/signer.go,../types/operator.go --exclude-objs OperatorID
//go:generate go run github.com/ferranbt/fastssz/sszgen --path messages.go --include ./types.go,../types/signer.go,../types/operator.go --exclude-objs OperatorID
12 changes: 6 additions & 6 deletions types/generate.go
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
package types

//go:generate rm -f ./operator_encoding.go
//go:generate go run .../fastssz/sszgen --path operator.go --exclude-objs OperatorID
//go:generate go run github.com/ferranbt/fastssz/sszgen --path operator.go --exclude-objs OperatorID

//go:generate rm -f ./share_encoding.go
//go:generate go run .../fastssz/sszgen --path share.go --include ./operator.go,./messages.go,./signer.go
//go:generate go run github.com/ferranbt/fastssz/sszgen --path share.go --include ./operator.go,./messages.go,./signer.go

//go:generate rm -f ./messages_encoding.go
//go:generate go run .../fastssz/sszgen --path messages.go --exclude-objs ValidatorPK,MessageID,MsgType
//go:generate go run github.com/ferranbt/fastssz/sszgen --path messages.go --exclude-objs ValidatorPK,MessageID,MsgType

//go:generate rm -f ./beacon_types_encoding.go
//go:generate go run .../fastssz/sszgen --path beacon_types.go --include $GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0 --exclude-objs BeaconNetwork,BeaconRole
//go:generate go run github.com/ferranbt/fastssz/sszgen --path beacon_types.go --include $GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0 --exclude-objs BeaconNetwork,BeaconRole

//go:generate rm -f ./partial_sig_message_encoding.go
//go:generate go run .../fastssz/sszgen --path partial_sig_message.go --include $GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0,./signer.go,./operator.go --exclude-objs PartialSigMsgType
//go:generate go run github.com/ferranbt/fastssz/sszgen --path partial_sig_message.go --include $GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0,./signer.go,./operator.go --exclude-objs PartialSigMsgType

//go:generate rm -f ./consensus_data_encoding.go
//go:generate go run .../fastssz/sszgen --path consensus_data.go --include ./operator.go,./signer.go,./partial_sig_message.go,./beacon_types.go,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/altair --exclude-objs Contributions,BeaconNetwork,BeaconRole
//go:generate go run github.com/ferranbt/fastssz/sszgen --path consensus_data.go --include ./operator.go,./signer.go,./partial_sig_message.go,./beacon_types.go,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/phase0,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec,$GOPATH/pkg/mod/github.com/attestantio/go-eth2-client@v0.15.1/spec/altair --exclude-objs Contributions,BeaconNetwork,BeaconRole