Jacek Sieka
62cbdeefc5
verify `genesis_time` more strictly ( fixes #1667 ) ( #5694 )
...
Bogus values lead to crashes down the line when timers overflow
2024-01-06 15:26:56 +01:00
tersec
cc13e0b7e0
restore full test coverage for process_rewards_and_penalties ( #5407 )
...
* restore full test coverage for process_rewards_and_penalties
* adjust ncli_db to use new iterator
2023-09-08 16:42:18 +00:00
Etan Kissling
81397342d0
fix relative import paths for Nim 2.0 ( #5397 )
...
In Nim 2.0, relative `import` paths are validated more strictly;
this fixes the incorrect paths used in some tests.
2023-09-06 08:17:59 +00:00
Jacek Sieka
6fab826487
bump unittest2, clean up suite names ( #5384 )
...
Suite names were not being used because `test` has to have access to it
during instantiation - this PR cleans things up a little while at the
same time upgrading unittest2.
2023-09-04 13:05:11 +00:00
Jacek Sieka
5bc48acc36
reduce memory allocations during state transition ( #5235 )
...
This PR removes a few hundred thousand temporary seq allocations during
state transition - in particular, the flag seq was allocated per
validator while committees are computed per attestation.
2023-08-03 01:03:40 +02:00
Eugene Kabanov
e51095e2f8
Fix Windows MAX_PATH constraint issue in CI. ( #4576 )
...
* Fix MAX_PATH limitation in tests.
* Fix posix issues.
* Fix compilation issue.
2023-02-10 21:59:38 +01:00
tersec
a07d14cd99
remove unused imports in tests/ ( #3713 )
2022-06-07 17:05:06 +00:00
Zahary Karadjov
49b7daa39d
[ncli_db] bugfix: take into account finalization delay in reward calc post Altair
...
This fixes a problem affecting Prater's epoch 64444.
2022-01-28 12:03:23 +02:00
tersec
cd77377375
add Bellatrix fork and transition tests; "Ethereum Foundation" -> EF ( #3242 )
2022-01-05 09:42:56 +01:00
tersec
ecf2dbbcf3
add Altair and Merge rewards tests ( #2995 )
2021-10-18 16:54:17 +02:00