Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
push:
branches: [ main, mainnet-alpha-beta ]
branches: [ main, mainnet-alpha-beta, hotfix/storage-proof-replicas ]
pull_request:
branches: [ main, mainnet-alpha-beta ]
branches: [ main, mainnet-alpha-beta, hotfix/storage-proof-replicas ]

jobs:
build-test-push:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
options:
- main
- mainnet-alpha-beta
- hotfix/storage-proof-replicas
version:
description: 'Release version (e.g., v1.0.0, v2.0.0-beta.1)'
required: true
Expand Down Expand Up @@ -71,7 +72,7 @@ jobs:
id: prerelease
run: |
# main branch releases are prereleases
# mainnet-alpha-beta releases are stable
# mainnet-alpha-beta and hotfix branches are stable releases
if [[ "${{ inputs.branch }}" == "main" ]]; then
echo "is_prerelease=true" >> $GITHUB_OUTPUT
else
Expand All @@ -89,6 +90,7 @@ jobs:
generate_release_notes: true

build-test-push:
needs: create-release
uses: ./.github/workflows/docker-build.yml
with:
tag: ${{ inputs.version }}
Expand Down
5 changes: 4 additions & 1 deletion pkg/core/server/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,10 @@ func (s *Server) validateBlockTx(ctx context.Context, blockTime time.Time, block
return false, nil
}
case *v1.SignedTransaction_StorageProof:
if err := s.isValidStorageProofTx(ctx, signedTx, blockHeight, true); err != nil {
// Hotfix: use enforceReplicas=false during block validation to avoid rejecting valid blocks when
// our local storage_proof_peers diverges from the proposer's (e.g. new node registration, eth sync drift).
// TODO: Re-enable when replicaset derivation is deterministic across all nodes.
if err := s.isValidStorageProofTx(ctx, signedTx, blockHeight, false); err != nil {
s.logger.Error("Invalid block: invalid storage proof tx", zap.Error(err))
return false, nil
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/version/.version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.1.9",
"version": "1.1.10",
"service": "validator"
}