Skip to content

Commit

Permalink
feat: forkid13 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
joanestebanr authored Oct 24, 2024
1 parent 2eee781 commit 4cbc189
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions synchronizer/actions/forksids.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const (
ForkID11 = ForkIdType(11) //nolint:gomnd
// ForkIDBanana is the forkId for Banana
ForkIDBanana = ForkIdType(12) //nolint:gomnd
// ForkID13 is the forkId for 13. No changes on interfaces
ForkID13 = ForkIdType(13) //nolint:gomnd
)

var (
Expand All @@ -28,19 +30,19 @@ var (
ForksIdAll = []ForkIdType{WildcardForkId}

// ForksIdOnlyBanana support only banana forkId
ForksIdOnlyBanana = []ForkIdType{ForkIDBanana}
ForksIdOnlyBanana = []ForkIdType{ForkIDBanana, ForkID13}

// ForksIdOnlyEtrogAndElderberry support ETROG and ELDERBERRY
ForksIdOnlyEtrogAndElderberry = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11}

// ForksIdEtrogElderberryBanana support etrog, elderberry, and banana forkId
ForksIdEtrogElderberryBanana = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana}
ForksIdEtrogElderberryBanana = []ForkIdType{ForkIDEtrog, ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana, ForkID13}

// ForksIdOnlyElderberry support only elderberry forkId
ForksIdOnlyElderberry = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11}

// ForksIdElderberryAndBanana support elderberry and banana forkId
ForksIdElderberryAndBanana = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana}
ForksIdElderberryAndBanana = []ForkIdType{ForkIDElderberry, ForkID9, ForkID10, ForkID11, ForkIDBanana, ForkID13}

// ForksIdOnlyEtrog support only etrog forkId
ForksIdOnlyEtrog = []ForkIdType{ForkIDEtrog}
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
)

var (
Version = "v1.0.4"
Version = "v1.0.5"
)

// PrintVersion prints version info into the provided io.Writer.
Expand Down

0 comments on commit 4cbc189

Please sign in to comment.