use v1.4.0 stability subnets by default (#5276)
This commit is contained in:
parent
2b57a221de
commit
f8520c8b1c
|
@ -240,7 +240,7 @@ type
|
|||
|
||||
useOldStabilitySubnets* {.
|
||||
hidden
|
||||
defaultValue: true
|
||||
defaultValue: false
|
||||
name: "debug-use-old-attestation-stability-subnets" .}: bool
|
||||
|
||||
# https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.3/src/engine/authentication.md#key-distribution
|
||||
|
|
|
@ -151,8 +151,7 @@ func stabilitySubnets*(tracker: ActionTracker, slot: Slot): AttnetBits =
|
|||
else:
|
||||
var res: AttnetBits
|
||||
|
||||
if tracker.useOldStabilitySubnets or
|
||||
tracker.stabilitySubnets.len < SUBNETS_PER_NODE.int:
|
||||
if tracker.useOldStabilitySubnets or tracker.stabilitySubnets.len == 0:
|
||||
for v in tracker.stabilitySubnets:
|
||||
res[v.subnet_id.int] = true
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue