3732 Commits

Author SHA1 Message Date
Etan Kissling
87b2ea9de3
Merge commit 'd19ffcaa0d9505d81a83d7be0049154cae871c7b' into dev/etan/lc-wasm4 2024-01-25 22:03:43 +01:00
Zahary Karadjov
d19ffcaa0d
Version 23.10.1 2023-11-06 16:27:05 +02:00
Etan Kissling
e8357d5cc5
X 2023-10-27 15:27:45 +02:00
Etan Kissling
49883bbac3
Merge branch 'dev/etan/bd-serialization' into dev/etan/lc-wasm4 2023-10-27 15:16:47 +02:00
tersec
922283e2e3
clean up ncli_testnet and reduce ValidIpAddress usage (#5529)
* ValidIpAddress -> IpAddress

* clean up ncli_testnet and reduce ValidIpAddress usage
2023-10-26 23:16:15 +00:00
tersec
09df3f32b5
add non-SZ getBlobSidecar and BlobSidecar database tests (#5528) 2023-10-26 03:40:04 +00:00
tersec
41dfc9ed91
add KZGProof and Blob REST JSON serializations (#5526)
* add KZGProof and Blob REST JSON serializations

* error summary updates

* copyright notice

* consistent integer types for Nim 2.0
2023-10-25 23:50:59 +02:00
Etan Kissling
d2ef1305af
Merge commit '37967ba03bd652d33d1a06df0f47c35acf28d6c5' into dev/etan/lc-wasm4 2023-10-25 12:45:10 +02:00
Etan Kissling
78487a0b6e
Merge commit '252473d2d15ed1e2a654c3e6b6b1513a00a8bf2b' into dev/etan/lc-wasm4 2023-10-25 11:33:43 +02:00
Etan Kissling
f5743d89ef
Merge commit '77d6bc5f42015ce2e49aefaaed28bb737a4b84f5' into dev/etan/lc-wasm4 2023-10-25 11:29:55 +02:00
Etan Kissling
6d1eba3e7d
Merge commit '96e05e4f37f24511065062b84ede4b02b5efb20c' into dev/etan/lc-wasm4 2023-10-25 11:19:52 +02:00
Etan Kissling
835d895120
Merge commit '5150505e66cb9524af793d4f74261165a46daee0' into dev/etan/lc-wasm4 2023-10-25 11:14:50 +02:00
Etan Kissling
1e91e7fc06
Merge commit '568e1fbb8cd401af55a405687a34cca2ff0ff883' into dev/etan/lc-wasm4 2023-10-25 11:04:19 +02:00
Etan Kissling
184281c28e
Merge commit '99507e19cde9ae5694bd98fe5170c07e9704232b' into dev/etan/lc-wasm4 2023-10-25 10:55:25 +02:00
Etan Kissling
d1a039d25e
Merge commit 'be9ecfa1c935adc0c4eb64ada8dd12c6933a3c92' into dev/etan/lc-wasm4 2023-10-25 10:45:40 +02:00
Etan Kissling
6472c4f5a5
Merge commit '8725595328d56f6b39dd3069a26b466d628cda8e' into dev/etan/lc-wasm4 2023-10-25 10:36:25 +02:00
Etan Kissling
6a2112e16e
Merge commit '09020ebd2fc93fd179ff83bedc11cb1266bc0821' into dev/etan/lc-wasm4 2023-10-25 10:26:38 +02:00
Etan Kissling
efadecfb10
X 2023-10-24 23:08:39 +02:00
Etan Kissling
d32fafa2ec
investigated -> inspected in libnimbus_lc docs (#5523)
Consistently use `inspected` instead of `investigted` terminology in
documentation of `libnimbus_lc` functions.
2023-10-24 16:09:44 +00:00
tersec
5aa5095e17
Fix REST JSON KzgCommitment encoding/decoding to use hex strings per spec (#5522) 2023-10-24 15:22:59 +00:00
Etan Kissling
468ee6a7ed
simplify getBlockSSZ and getBlockSZ implementation (#5521)
Use `forks` sugar to reduce code duplication in `beacon_chain_db.nim`.
2023-10-24 09:15:34 +00:00
tersec
513c9d9637
fix Deneb RestPublishedSignedBlockContents REST JSON decoding (#5520) 2023-10-24 05:50:32 +00:00
tersec
026ad21906
send DenebBlockContents in produceBlockV2 (#5519) 2023-10-24 02:50:26 +00:00
tersec
fd21882e24
improve test coverage of post-Bellatrix initialize_beacon_state_from_eth1 (#5517) 2023-10-24 01:58:52 +00:00
tersec
b2e81de6db
remove unnecessary Builder API status endpoint usage (#5518) 2023-10-23 23:01:29 +00:00
tersec
a986a1bcd8
using deneb_mev for Deneb is less incorrect than using capella_mev (#5516) 2023-10-20 01:39:47 +00:00
tersec
769316d909
construct Deneb blinded blobs from builder API getHeader (#5513) 2023-10-19 17:34:32 +00:00
tersec
4ddd771127
automated consensus spec URL updating to v1.4.0-beta.3 (#5514) 2023-10-19 10:26:38 +00:00
tersec
9fd52ebe9f
use consensus spec v1.4.0-beta.3 test vectors (#5512) 2023-10-19 05:14:02 +00:00
Zahary Karadjov
d52e8165d5
Merge branch 'stable' into unstable 2023-10-18 20:10:00 +03:00
tersec
6eb7d481fa
fix Deneb builder API block body type; introduce and use ExecutionPayloadHeaderAndBlindedBlobsBundle (#5509) 2023-10-18 02:54:02 +00:00
andri lim
0f9b52933e
Bump nim-eth: Change block timestamp from std.Time to distinct uint64 (#5510)
* Bump nim-eth: Change block timestamp from std.Time to distinct uint64

Also change tx.maxFeePerBlobGas from GasInt to UInt256
following Cancun latest spec

* Fix EthTime.now from func to proc due to sideeffects
2023-10-18 07:37:57 +07:00
Zahary Karadjov
8b07f4fd4c
Version 23.10.0 2023-10-17 02:35:27 +03:00
zah
35bf03a3fb
Add the --verifying-web3-signer-url configuration option (#5504) 2023-10-13 15:42:00 +03:00
tersec
c5028b56bf
change blinded block proposal failures to REST internal errors (#5501) 2023-10-12 23:54:24 +02:00
tersec
eeac00d08e
add RPC signature; add type constraints on proposeBlockMEV (#5498) 2023-10-12 11:49:48 +00:00
tersec
40616b6243
update some consensus spec URLs to v1.4.0-beta.2 (#5497) 2023-10-12 05:07:41 +00:00
tersec
ec1d98cc3a
implement deneb block and blob unblinding (#5496) 2023-10-12 03:40:15 +00:00
tersec
edc5c03230
consistently use SignedBlindedBeaconBlockContents; remove more Bellatrix Builder API remnants (#5493) 2023-10-11 11:48:35 +00:00
tersec
48197e4d55
add/update Deneb Builder API types and RPC signatures (#5492) 2023-10-11 04:25:59 +00:00
tersec
447786518f
ShufflingRef approach to next-epoch validator duty calculation/prediction (#5414)
* ShufflingRef approach to next-epoch validator duty calculation/prediction

* refactor action_tracker.updateActions to take ShufflingRef + beacon_proposers; refactor maybeUpdateActionTrackerNextEpoch to be separate and reused function; add actual fallback logic

* document one possible set of conditions

* check epoch participation flags and inactivity scores to ensure no penalties and MAX_EFFECTIVE_BALANCE to ensure rewards don't matter

* correctly (un)shuffle each proposer index

* remove debugging assertion
2023-10-10 00:02:07 +00:00
tersec
a4cf203849
fix mainnet bootstrap node comment parsing; fix nimbus guide grammar (#5486) 2023-10-06 19:26:30 +00:00
Eugene Kabanov
1da202156f
Improve keystore loading log statements to show information about why keystore was not loaded. (#5480)
Fix checkKeyName issue for `00` case.
2023-10-05 17:26:46 +03:00
Etan Kissling
0cca65904d
reduce ProveField warnings in conf.nim (#5485)
Address some verbose `ProveField` warnings and `XCannotRaiseY` hints
in `conf.nim`.
2023-10-05 17:15:03 +03:00
Etan Kissling
dd1f362536
align Beacon(Block(Body)?|State)Type with other fork sugar (#5483)
The templates for `BeaconBlock`, `BeaconBlockBody` and `BeaconState`
are the only ones using a `macro` mechanism for code generation.
This prevents using the dot-syntax style `consensusFork.BeaconFoo`
in some situations, and also tends to trigger naming conflicts,
requiring the `Type` suffix. Furthermore, the `macro` only works
for types that are re-defined in every single `ConsensusFork`.

Replacing with the simpler but more verbose approach used for other
types for consistency and to avoid the downsides of the `macro`.

Furthermore, simplify `test_fixture_sanity_blocks` to use `forks` sugar.
2023-10-05 14:01:40 +02:00
tersec
89686fa274
avoid needlessly rescoring aggregates during block attestation packing (#5471) 2023-10-04 22:38:10 +00:00
Etan Kissling
297c768816
reduce redundant zero initialization for LC data objects (#5479)
Directly initialize `ForkedLightClientObj` instead of separately first
 setting the `kind` (initializing everything to zero) and then assigning
the forky data after that.
2023-10-04 18:11:45 +02:00
Etan Kissling
37967ba03b
ProveField cleanups in slashing_protection_common (#5477)
Cleanup of `ProveField` warnings in `slashing_protection_common` module.
Note that `ProveField` is disabled by default in makefile, but sometimes
these pop up when doing a regular `nim c`, and cleaning these may allow
enabling the warning in some future.

As the `case` is over `a.kind`, `ProveField` warnings for `b` have to be
suppressed using `{.push.}` / `{.pop.}` for comparison operators.
2023-10-04 10:26:52 +02:00
Etan Kissling
24c68bbcf7
fix ProveField warning in network_metadata (#5476)
Spurious `ProveField` warning can be avoided by using `case` instead of
`if` on `metadata.genesis.kind`. Also suppress `GlobalVar` hints when
`incbinEnabled` is used, which has global `let` definitions.
2023-10-04 10:19:05 +02:00
Etan Kissling
bfe76be4d7
debug log duration for processing attestation queue (#5473)
Depending on the load, processing of queued attestations may take a
while. Log processing duration at debug level.
2023-10-03 22:17:42 +02:00