Skip to content

Commit

Permalink
feat: PRT - archive retry attempt on second relay regardless of node …
Browse files Browse the repository at this point in the history
…error (#1810)

* feat: PRT - archive retry attempt on second relay regardless of node error

* increase protocol version
  • Loading branch information
ranlavanet authored Dec 1, 2024
1 parent 5a43007 commit 8d6763d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion protocol/rpcconsumer/relay_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (rs *RelayState) SetProtocolMessage(protocolMessage chainlib.ProtocolMessag
}

func (rs *RelayState) upgradeToArchiveIfNeeded(numberOfRetriesLaunched int, numberOfNodeErrors uint64) {
if rs == nil || rs.archiveStatus == nil || numberOfNodeErrors == 0 {
if rs == nil || rs.archiveStatus == nil {
return
}
hashes := rs.GetProtocolMessage().GetRequestedBlocksHashes()
Expand Down
2 changes: 1 addition & 1 deletion x/protocol/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var _ paramtypes.ParamSet = (*Params)(nil)

const (
TARGET_VERSION = "4.1.3"
TARGET_VERSION = "4.1.4"
MIN_VERSION = "3.1.0"
)

Expand Down

0 comments on commit 8d6763d

Please sign in to comment.