try reduce stack size in test
This commit is contained in:
parent
0d89dcd363
commit
c0d07e1b24
|
@ -146,6 +146,8 @@ suite "Light client processor" & preset():
|
|||
proc applyPeriodWithoutSupermajority(
|
||||
period: SyncCommitteePeriod, update: ref ForkedLightClientUpdate) =
|
||||
for i in 0 ..< 2:
|
||||
# Reduce stack size by making this a `proc`
|
||||
proc applyInitial(update: ref ForkedLightClientUpdate) =
|
||||
res = processor[].storeObject(
|
||||
MsgSource.gossip, getBeaconTime(), update[])
|
||||
check update[].kind <= store[].kind
|
||||
|
@ -185,6 +187,8 @@ suite "Light client processor" & preset():
|
|||
forkyStore.best_valid_update.isSome
|
||||
not forkyStore.best_valid_update.get.matches(forkyUpdate)
|
||||
|
||||
applyInitial(update)
|
||||
|
||||
# Reduce stack size by making this a `proc`
|
||||
proc applyDuplicate(update: ref ForkedLightClientUpdate) =
|
||||
res = processor[].storeObject(
|
||||
|
|
Loading…
Reference in New Issue