Skip to content

Commit 0aa4346

Browse files
committed
Fix OverridableReleaseSpec
1 parent 87acb12 commit 0aa4346

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

src/Nethermind/Nethermind.Specs.Test/OverridableReleaseSpec.cs

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,30 @@ public ulong Eip4844TransitionTimestamp
155155
}
156156
}
157157

158-
public ulong TargetBlobCount => _spec.TargetBlobCount;
159-
public ulong MaxBlobCount => _spec.MaxBlobCount;
158+
private ulong? _overridenTargetBlobCount;
159+
public ulong TargetBlobCount
160+
{
161+
get
162+
{
163+
return _overridenTargetBlobCount ?? _spec.TargetBlobCount;
164+
}
165+
set
166+
{
167+
_overridenTargetBlobCount = value;
168+
}
169+
}
170+
private ulong? _overridenMaxBlobCount;
171+
public ulong MaxBlobCount
172+
{
173+
get
174+
{
175+
return _overridenMaxBlobCount ?? _spec.MaxBlobCount;
176+
}
177+
set
178+
{
179+
_overridenMaxBlobCount = value;
180+
}
181+
}
160182
public bool IsEip1153Enabled => _spec.IsEip1153Enabled;
161183
public bool IsEip3651Enabled => _spec.IsEip3651Enabled;
162184
public bool IsEip3855Enabled => _spec.IsEip3855Enabled;

0 commit comments

Comments
 (0)