Commit Graph

7149 Commits

Author SHA1 Message Date
Etan Kissling c2777513bb
actually commit `stable.nim` 2024-05-27 14:44:13 +02:00
Etan Kissling d222f11edf
move `StableContainer` to `stable.nim` 2024-05-27 14:33:39 +02:00
Etan Kissling 36f939b514
Merge branch 'dev/etan/im-base' into feat_eip-7688 2024-05-27 14:22:34 +02:00
Etan Kissling 0e734286e4
move `InactivityScores` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:57:47 +02:00
Etan Kissling 8910de65a4
move `EpochParticipationFlags, SyncCommittee` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:56:38 +02:00
Etan Kissling ea58e9353f
move `(Signed)?Consolidation`, `Pending..(Deposit|Withdrawal)` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:52:09 +02:00
Etan Kissling 06e4ad5faa
move `KzgCommitments` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:47:05 +02:00
Etan Kissling ebf285f3dd
move `BLSToExecutionChange`, `SignedBLSToExecutionChange` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-27 13:38:29 +02:00
Etan Kissling fe058f9f04
Merge branch 'dev/etan/im-base' into feat_eip-7688 2024-05-26 15:22:12 +02:00
Etan Kissling 1384d7ee22
move `DepositReceipt`, `ExecutionLayerWithdrawalRequest` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 15:13:47 +02:00
Etan Kissling 0a0a27399b
move `Withdrawal`, `HistoricalSummary` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 15:08:18 +02:00
Etan Kissling bd0689f048
move `Transaction`, `ExecutionAddress` and `BloomLogs` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 14:59:49 +02:00
Etan Kissling ee5af9f7ee
move `SyncAggregate` to `base`
Preparation for EIP-7495 SSZ `StableContainer` which can only contain
immutable types in their fields.
2024-05-26 14:39:24 +02:00
Etan Kissling dc6951eee9
bump `nim-web3` to `46b4b4c8bc42013196a6290ee53029131f97931a` (#6319)
- CI do not install openssl on macos+nim devel anymore
- Fixed encoding of (multidimentional) dynamic arrays
2024-05-25 11:13:30 +02:00
Etan Kissling 0efc81d96d
use correct minimum size when reading block / state headers (#6263)
`sizeof` also includes padding between fields, while SSZ defines
`fixedPortionSize` (on type) or `sszSize` (on value) to denote
required bytes to encode. Switch forked block/state readers to SSZ size.
As blocks/states are much larger than the padding, this doesn't affect
practical use cases but is slightly more correct this way.
2024-05-25 07:30:05 +02:00
Etan Kissling de740199f5
bump `nim-kzg4844` to `f12616d0675d9f6346141ca95f0840ab227eb213` (#6313)
- bump `csources` to `v1.0.2`
2024-05-25 00:36:08 +02:00
Etan Kissling ad2f14e76a
bump `nim-stint` to `9d2b382c5dc34f0d6bbd93b2a5d65dde85067e0f` (#6318)
- Fix pointer deref issue on Macos and Nim >= 2.0
- Fix GCC-14 [-Wincompatible-pointer-types] issue.
2024-05-24 22:35:50 +00:00
Etan Kissling 1150aa3e11
bump `gnosis-chain-configs` to `9ed6c63314899d17e2c3f669adbe2bc915610982` (#6311)
- Update spec
2024-05-25 00:33:34 +02:00
Etan Kissling e5b69bd688
bump `nim-snappy` to `913c426d571cf82601452642e01cd11ea26f7ac6` (#6317)
- bump `snappycpp` to `1.2.1`
2024-05-24 21:49:35 +00:00
Etan Kissling e4fcf56648
bump `nim-nat-traversal` to `54bf8aa2913e8550463779beeae4b469941e039c` (#6315)
- bump `libnatpmp-upstream` to
  `007c3a53165a0551c877130eea4d966885ce19ae`
2024-05-24 21:39:55 +00:00
Etan Kissling ad7daf6be7
bump `nim-json-serialization` to `4d0b0662ed960ab2c5a1ddbd08f77048bac13ae7` (#6312)
- Workaround Nim regression #23611 related to dirty template
2024-05-24 22:25:55 +02:00
Etan Kissling 7da6b70610
bump 'geth' to `v1.14.3` (#6309)
- https://github.com/ethereum/go-ethereum/releases/tag/v1.14.3
2024-05-24 19:50:55 +02:00
Etan Kissling 031036f0bc
Merge branch 'feat/eip-7495' into feat_eip-7688 2024-05-24 17:17:40 +02:00
Etan Kissling 22efdd85a5
add tests for EIP-7495: SSZ StableContainer
Implement test runner for new consensus-spec tests:

- https://github.com/ethereum/consensus-specs/pull/3777
2024-05-24 17:14:29 +02:00
tersec c7bf6fb542
rm debugRaiseAssert; clean up several debugComments (#6308)
* rm debugRaiseAssert; clean up several debugComments

* exception linting
2024-05-23 23:51:09 +02:00
Etan Kissling 02626a13f1
Merge branch 'stable' into feat_eip-7688 2024-05-23 20:47:01 +02:00
tersec a7b5741163
Merge remote-tracking branch 'origin/stable' into unstable 2024-05-23 13:29:21 +00:00
tersec d2a0751454
version v24.5.1 changelog message fix 2024-05-23 11:05:37 +00:00
tersec a98c119b98
version v24.5.1 2024-05-23 10:52:55 +00:00
tersec 73f56b5026
version v24.5.0 2024-05-23 03:44:54 +00:00
Etan Kissling 44d8a8bde0
add EIP-7688 support
- https://eips.ethereum.org/EIPS/eip-7688
2024-05-22 16:27:22 +02:00
tersec b56a671122
fix most ConvFromXtoItselfNotNeeded hints and unhide remaining ones (#6307) 2024-05-22 13:56:37 +02:00
Jacek Sieka e0f8ea752b
era: speed up index reading (#6305) 2024-05-22 10:21:04 +02:00
tersec 708b23f084
rm unused produceBlockV2Plain() RPC signature (#6304) 2024-05-22 07:47:03 +02:00
tersec 3e6990ccc4
rm unused ProduceBlockResponseV2 type (#6302) 2024-05-22 04:52:35 +02:00
tersec dd452f71d3
rm outdated/semi-duplicate execution layer withdrawal request processing (#6301) 2024-05-22 01:59:11 +02:00
Eugene Kabanov 34853ca155
VC: Deprecate fallback path to produceBlockV2, use produceBlockV3 always. (#6300)
* Remove fallback path to publishBlockV2(), use publishBlockV3().

* Update AllTests.md.
2024-05-22 00:03:38 +02:00
Eugene Kabanov d7c5bc0397
[VC] Add builderBoostFactor support. (#6294)
* Initial commit.

* Replace localBlockValueBoost with builderBoostFactor.

* Add test.

* Update AllTests.

* Update options.md

* Recover `localBlockValueBoost` for BN-only mode.

* Address review comments.
2024-05-19 04:49:43 +03:00
Jacek Sieka d191b35e2e
electra: attestatoin sending (#6296) 2024-05-17 17:34:46 +02:00
Jacek Sieka 045c4cf185
electra attestation updates (#6295)
* electra attestation updates

In Electra, we have two attestation formats: on-chain and on-network -
the former combines all committees of a slot in a single committee bit
list.

This PR makes a number of cleanups to move towards fixing this -
attestation packing however still needs to be fixed as it currently
creates attestations with a single committee only which is very
inefficient.

* more attestations in the blocks

* signing and aggregation fixes

* tool fix

* test, import
2024-05-17 15:37:41 +03:00
tersec 826bf4c3ee
be more optimistic about electra 2024-05-17 07:13:30 +00:00
Eugene Kabanov 41db536d63
Fix el-manager warnings and issues. (#6293) 2024-05-16 13:54:51 +02:00
tersec 4355f81731
temporarily disable optimistic block hashing on electra 2024-05-16 11:17:31 +00:00
tersec c7b916fe7b
rename depositReceipts/exits to depositRequests/withdrawalRequests 2024-05-16 00:23:00 +00:00
tersec b9151d43ce
produce blobs in electra 2024-05-15 14:49:57 +00:00
tersec 111e5d8006
add push raises to nimbus_light_client 2024-05-15 14:01:52 +00:00
tersec 69f13eaa51
add electra gossip transition 2024-05-15 13:30:49 +00:00
Eugene Kabanov 0b8cb4efc4
Add metrics to all RPC {state_id} endpoints. (#6282) 2024-05-15 09:52:57 +03:00
tersec d0400e408b
rename ExitV1 to WithdrawalRequestV1 (#6290) 2024-05-15 06:44:52 +02:00
tersec c0601608f9
rm future_combinators (#6289) 2024-05-14 22:14:26 +02:00