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
Jacek Sieka
3b62ab87e9
chronos: bump ( #5506 )
...
* `finally` fixes
2023-10-16 13:01:38 +00:00
zah
35bf03a3fb
Add the --verifying-web3-signer-url configuration option ( #5504 )
2023-10-13 15:42:00 +03:00
tersec
dc4d366a6d
Revert "Revert "ci: adding self-hosted tag for github-runner ( #4886 )" ( #5494 )" ( #5495 )
...
This reverts commit 722deedd2b
.
2023-10-13 13:50:11 +02:00
tersec
95b22e3a4f
Revert "Revert "ci: adding self-hosted tag for github-runner ( #4886 )" ( #5494 )"
...
This reverts commit 722deedd2b
.
2023-10-13 13:45:07 +02:00
tersec
c5028b56bf
change blinded block proposal failures to REST internal errors ( #5501 )
2023-10-12 23:54:24 +02:00
beemeeupnow
afc7912ebf
Add option to compile VC for gnosis ( #5500 )
2023-10-12 21:38:47 +03: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
722deedd2b
Revert "ci: adding self-hosted tag for github-runner ( #4886 )" ( #5494 )
...
This reverts commit acbfef9852
.
2023-10-11 20:27:45 +00:00
apentori
acbfef9852
ci: adding self-hosted tag for github-runner ( #4886 )
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-10-11 20:26:18 +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
dependabot[bot]
5f5e266c20
Bump pillow from 9.3.0 to 10.0.1 in /ncli ( #5484 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 9.3.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 15:22:39 +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
dependabot[bot]
672fc33586
Bump pillow from 9.3.0 to 10.0.1 in /ncli ( #5478 )
...
Bumps [pillow](https://github.com/python-pillow/Pillow ) from 9.3.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases )
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst )
- [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1 )
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 22:16:12 +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
4d20b4a6c6
bump `nim-chronicles` to `fb4fce77ace0b5558df1be21436b331c606de9a2` ( #5475 )
...
- avoid enum conversion when logging
2023-10-04 10:08:25 +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
Etan Kissling
886b9d4dd8
bump `eth2-networks` to `063f826a03676c33c95a66306916f18b690d35eb` ( #5472 )
...
- Add IP and location information to mainnet bootnodes
- Change IP and location of a Teku bootstrap node
- Add lighthouse's ipv6 compatible bootnodes
- Adding new Teku mainnet bootnodes
- Remove the ENRs from eth2 networks
2023-10-03 15:33:48 +02:00
Etan Kissling
e1a8e9a2fa
rm unused `GenesisStateRef` ( #5469 )
...
In `el_manager`, there was an unused `GenesisStateRef` type. Remove it.
2023-10-02 19:00:23 +00:00
Jacek Sieka
9a48e2e922
fix stale activity log ( #5465 )
2023-09-30 13:31:08 +00:00
Etan Kissling
8aaea1a14e
simplify fork choice test ( #5467 )
...
Reduce overly verbose fork branching logic in fork choice test with
generic implementation based on `consensusFork`.
2023-09-29 13:26:34 +00:00
Jacek Sieka
252473d2d1
ssz: bump ( #5463 )
...
more `zeroMem` avoidance, value semantics for merkleizer
2023-09-28 11:59:33 +00:00
Miran
e9c8f82282
mention Holesky in the book ( #5460 )
2023-09-28 11:35:42 +01:00
Zahary Karadjov
77d6bc5f42
Merge stable into unstable
2023-09-28 11:32:54 +01:00
tersec
7ecc1096e3
document strange-looking capella/bellatrix apparent mismatch in block building ( #5461 )
2023-09-27 16:06:22 +00:00
Etan Kissling
7c45b8f98d
convert remaining `toFork` -> `kind` for consistency ( #5462 )
...
We currently have multiple ways to obtain `ConsensusFork` or
`LcDataFork` from a forky type. Rename `toFork` to `kind`
for a consistent API naming.
2023-09-27 15:10:28 +00:00
Eugene Kabanov
4fb95d000d
REST server fixes and improvements. ( #5422 )
...
* Move from Option[T] to Opt[T] usage.
* Add `finalized` flag.
* Fix compilation issue.
* Http415 error code for some REST API calls.
Introduce more comprehensive error reporting for block calls.
Deprecate decodeEthConsensusVersion() function.
* Bump http-utils.
* Fix copyright year.
* Fix serialization issue.
* Address review comments.
* Post rebase fixes.
2023-09-27 16:45:33 +02:00
Zahary Karadjov
cfa0268d89
Version 23.9.1
...
Changes:
* Updated network metadata for Holesky
* Use hash_tree_root instead of SHA256 when verifying the Holesky
genesis state
2023-09-25 21:24:25 +01:00
Jacek Sieka
96e05e4f37
stint: bump ( #5459 )
...
fixes 32-bit compilation
2023-09-25 21:08:48 +02:00
tersec
710f26745d
small attestation pool clean up ( #5458 )
2023-09-24 08:50:48 +00:00
Eugene Kabanov
98e08a9e02
Fix cancellation deprecate warnings. ( #5454 )
...
Add noCancel in exception handlers.
Refactor pending cancellations code.
2023-09-24 09:28:09 +02:00
Eugene Kabanov
e3fe762ec9
Fix unknown fields should be ignored when parsing liveness responses. ( #5418 )
2023-09-23 08:44:54 +02:00
Etan Kissling
47639ef89c
replace `Eth2NetworkMetadata` case object with `Result` ( #5452 )
...
`Eth2NetworkMetadata` has an `incompatible` case to hold an error string
in case the loaded file is not compatible with the compile-time config.
The same can be modeled with a `Result[Eth2NetworkMetadata, string]` and
avoids followup checks for the `incompatible` case.
2023-09-22 23:45:24 +02:00
Etan Kissling
5150505e66
bump `nim-ssz-serialization` to `a5767c1b4992dca3e5bd72557aadd4df0f183bf8` ( #5457 )
...
- nimble/ci updates
- use common super-type in `raisesssz` pragma
2023-09-22 23:44:57 +02:00
Eugene Kabanov
caaad4777c
BN+LC+SN: Fix cancellation deprecate warnings. ( #5455 )
...
* Fix deprecation cancel() warnings in SN, BN, LC.
* Fix missing import.
2023-09-22 11:06:27 +00:00
Eugene Kabanov
88565e6da4
Make KeystoreCache working with KeystoreManagement API. ( #5443 )
2023-09-21 20:07:02 +02:00
tersec
2895a9a05c
automated consensus spec URL updating to v1.4.0-beta.2 ( #5453 )
2023-09-21 18:06:51 +00:00