Skip to content

Commit

Permalink
Add todos for new issues
Browse files Browse the repository at this point in the history
  • Loading branch information
fasmat committed Feb 4, 2025
1 parent 19b0046 commit 45cdce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activation/wire/malfeasance.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type ProofType byte

const (
// TODO(mafa): legacy types for future migration to new malfeasance proofs.
// https://github.com/spacemeshos/go-spacemesh/issues/6690
LegacyDoublePublish ProofType = 0x01
LegacyInvalidPost ProofType = 0x02
LegacyInvalidPrevATX ProofType = 0x03
Expand All @@ -73,6 +74,7 @@ const (

var proofTypes = map[ProofType]func() Proof{
// TODO(mafa): legacy proofs
// https://github.com/spacemeshos/go-spacemesh/issues/6690

DoubleMarry: func() Proof { return &ProofDoubleMarry{} },
DoubleMerge: func() Proof { return &ProofDoubleMerge{} },
Expand Down
3 changes: 3 additions & 0 deletions malfeasance2/wire.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import "github.com/spacemeshos/go-spacemesh/common/types"
type ProofDomain byte

const (
// TODO(mafa): add handlers and publishers for domains other than activation
//
// https://github.com/spacemeshos/go-spacemesh/issues/6690
InvalidActivation ProofDomain = 0x01
InvalidBallot ProofDomain = 0x02
InvalidHareMsg ProofDomain = 0x03
Expand Down

0 comments on commit 45cdce8

Please sign in to comment.