2
0
mirror of https://github.com/status-im/nimbus-eth2.git synced 2025-01-09 13:56:23 +00:00

14 Commits

Author SHA1 Message Date
tersec
63d00931a3
add EF consensus spec test Electra deposit receipt operations fixture () 2024-04-26 12:39:09 +00:00
tersec
27ec2893ff
rm unused parameters of get_state_exit_queue_info() () 2024-04-03 01:45:57 +00:00
tersec
109007dc93
avoid quadratic behavior exiting validators ()
* avoid quadratic behavior exiting validators

* fix libnfuzz callers
2024-04-02 12:18:40 +00:00
Etan Kissling
5d42859176
make Gwei distinct ()
 introduced a subtle change to `nim-web3` resulting in `Gwei` to be
serialized differently than before. Using a `distinct` type for `Gwei`
improves type safety and avoids such problems in the future.
2024-03-19 14:22:07 +01:00
tersec
816361ed8c
Bloom filter acceleration for deposit processing () 2024-03-07 23:38:24 +00:00
tersec
2a13c09615
add proposer reward accounting to block transitions ()
* add proposer reward accounting to block transitions

* Update beacon_chain/spec/state_transition_block.nim

Co-authored-by: Etan Kissling <etan@status.im>

---------

Co-authored-by: Etan Kissling <etan@status.im>
2024-03-04 17:00:46 +00:00
Etan Kissling
4a74ef9cba
add {.raises.} annotations to test_fixture_operations ()
Some more progress in making exception flow explicit.
2024-02-28 11:54:29 +00:00
Jacek Sieka
62cbdeefc5
verify genesis_time more strictly (fixes ) ()
Bogus values lead to crashes down the line when timers overflow
2024-01-06 15:26:56 +01:00
Etan Kissling
6af70e2f80
wrap applyExecutionPayload in factories for Nim 2.0 ()
In Nim 2.0, the `test_fixture_operations` files fail to compile with:

```
Error: 'result' is of type <Result[system.void, system.cstring]> which cannot be captured as it would violate memory safety, declared here: /nimbus-eth2/tests/consensus_spec/bellatrix/test_fixture_operations.nim(130, 5); using '-d:nimNoLentIterators' helps in some cases. Consider using a <ref Result[system.void, system.cstring]> which can be captured.
```

Wrapping the `applyExecutionPayload` in a factory that takes `path`
avoids this problem.
2023-09-06 10:35:37 +02:00
Jacek Sieka
6fab826487
bump unittest2, clean up suite names ()
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
Etan Kissling
3a6b50cf21
require sync committee supermajority in CI ()
* require sync committee supermajority in CI

To better catch problems with sync committee messages in CI, extend
local testnet simulation to also verify that each block is signed
by a supermajority of the sync committee.

Requires  and 

* lint
2023-06-17 06:00:01 +00:00
tersec
10569ff2e9
use v1.4.0-alpha.0 consensus spec test vectors () 2023-05-25 07:55:00 +00:00
tersec
68cb9fe7b1
use consensus spec v1.3.0-rc.3 test vectors () 2023-02-21 12:58:08 +00:00
tersec
4597486dcc
rename directory tests/consensus_specs/{eip4844,deneb}/ () 2023-02-15 21:07:31 +00:00