-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Move some errors to separate consensus-types
package
#12329
Conversation
ErrNilObjectWrapped
to separate packageconsensus-types
package
@@ -5,6 +5,7 @@ import ( | |||
|
|||
"github.com/pkg/errors" | |||
ssz "github.com/prysmaticlabs/fastssz" | |||
consensus_types "github.com/prysmaticlabs/prysm/v4/consensus-types" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we not be using camel case instead of snake case? My IDE complains
Or alternatively just consensustypes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally it should me consensustypes
. But Goland's intellisense uses snaka case and it's very annoying to convert every file manually, so I just leave it as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha
What type of PR is this?
Cleanup
What does this PR do? Why is it needed?
ErrNilObjectWrapped
,ErrUnsupportedGetter
andErrNotSupported
all currently live in theblocks
package, but they are applicable to all consensus types. This PR moves these members out to the top-levelconsensus-types
package.