We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SignedEpoch
v0.19.0
Complete signed epoch JSON migration in v0.19.0. See the migrations doc.
Refactor SignedEpoch.UnmarshalJSON() to the following:
// UnmarshalJSON unmarshalls SignedEpoch. func (s *SignedEpoch) UnmarshalJSON(b []byte) error { var resp signedEpochJSON if err := json.Unmarshal(b, &resp); err != nil { return errors.Wrap(err, "unmarshal signed epoch") } s.Epoch = resp.Epoch s.Signature = resp.Signature return nil }
Also, remove legacySignedEpochJSON type in the same file.
legacySignedEpochJSON
The text was updated successfully, but these errors were encountered:
eth2util: remove legacy signed epoch (#2819)
0f85b8f
Removes legacy signed epoch as part of migration. category: refactor ticket: #2593
9bc04f0
dB2510
Successfully merging a pull request may close this issue.
🎯 Problem to be solved
Complete signed epoch JSON migration in
v0.19.0
. See the migrations doc.🛠️ Proposed solution
Refactor SignedEpoch.UnmarshalJSON() to the following:
Also, remove
legacySignedEpochJSON
type in the same file.The text was updated successfully, but these errors were encountered: