Skip to content

Commit

Permalink
op-node: change verifiedValidatorNum to 8 temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoieh committed Jan 6, 2025
1 parent 4ca0cd1 commit d36df55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion op-service/sources/eth_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ func (s *EthClient) InfoByLabel(ctx context.Context, label eth.BlockLabel) (eth.
func (s *EthClient) BSCInfoByLabel(ctx context.Context, label eth.BlockLabel) (eth.BlockInfo, error) {
// can't hit the cache when querying the head due to reorgs / changes.
if label == eth.Finalized {
return s.bscFinalizedHeader(ctx, 21)
// FIXME set verifiedValidatorNum to -3 before release, set it to 8 temporarily for hotfix
// refs: https://github.com/bnb-chain/bsc/pull/2844
return s.bscFinalizedHeader(ctx, 8)
}
return s.headerCall(ctx, "eth_getBlockByNumber", label)
}
Expand Down

0 comments on commit d36df55

Please sign in to comment.