instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
ConsensusJ__consensusj__297
ConsensusJ/consensusj
297
defect
2897a960b7959217f68783ed0590a591153e15e1
369ee45c5ee4564ae8e7dc813027e9017a121553
Ported `walletd` integration tests from Groovy/Spock to Java/JUnit
Solving issue #261 Current test names may need to be revised. Currently, there is an unresolved bug with the `build.gradle` causing the tests to throw an error about multiple SLF4J providers.
diff --git a/cj-btc-walletd/build.gradle b/cj-btc-walletd/build.gradle index 3db43b4f7..b112d2497 100644 --- a/cj-btc-walletd/build.gradle +++ b/cj-btc-walletd/build.gradle @@ -10,7 +10,7 @@ tasks.withType(JavaCompile).configureEach { micronaut { version micronautVersion runtime("netty") - testRuntime("sp...
7
7
5
[{"id": "G0", "claim": "The new Java test files should be placed in src/test/java, not src/test/groovy.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ApplicationTest is missing the @MicronautTest annotation, without which the EmbeddedServer is not injec...
null
Consensys__quorum__1046
Consensys/quorum
1,046
defect
e37d6db4494bc29da82d1c158d7bcdb77ab4728c
230f631104108996ed49df7fee5f03bdb6188332
private: formalize the usage of common.EncryptedPayloadHash
`PrivateTransactionManager` interface methods represent API interaction with a private transaction manager. Using `common.EncryptedPayloadHash` enhances the understandability.
diff --git a/common/types.go b/common/types.go index cf9a1cf0cc..ac466eca06 100644 --- a/common/types.go +++ b/common/types.go @@ -101,6 +101,10 @@ func (eph EncryptedPayloadHash) BytesTypeRef() *hexutil.Bytes { return &b } +func EmptyEncryptedPayloadHash(eph EncryptedPayloadHash) bool { + return eph == EncryptedP...
1
1
1
[{"id": "G0", "claim": "Returning txHash.Bytes() is likely wrong: an empty transaction.data field is converted to a 0-filled array by common.BytesToEncryptedPayloadHash, which is somewhat different from the previous behaviour.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
Consensys__quorum__1100
Consensys/quorum
1,100
defect
322755c53b1d7a0a312524a639e4bc8992a7c925
9d2288af915942e2a89ad2c81849419334aed8b3
Add configurable ipc timeout
(Re-raising previously approved [PR#145](https://github.com/ConsenSysQuorum/quorum/pull/145), after resolving merge conflicts from privacy enhancements.) Currently, the IPC timeout, when quorum communicates with tessera, is hard-coded to 5 seconds.This can cause issues in some cases, for example when a large number ...
diff --git a/private/engine/config.go b/private/engine/config.go index 7d6ad71746..96c3b38f1b 100644 --- a/private/engine/config.go +++ b/private/engine/config.go @@ -1,22 +1,49 @@ package engine import ( + "os" + "path/filepath" + "github.com/BurntSushi/toml" ) type Config struct { - Socket string `toml:"so...
3
1
0
[{"id": "G0", "claim": "MustNewPrivateTxManager should be split so that an exported NewPrivateTxManager(cfgPath string) (PrivateTransactionManager, error) does the work, returning an extended error, and MustNewPrivateTxManager only handles the panic behaviour.", "category": "maintainability", "verdict": "supported", "p...
null
Consensys__quorum__1110
Consensys/quorum
1,110
defect
7b726385216c44e55fc6b6191a022fe598c102d4
4bd770694784cfe62aadda8c9ae51ef8377a7645
add raftlogdir commandline option
Hello Everyone, this PR contains a cli option to externalize raft log dirs. Command-line option(_--raftlogdir_) to geth in order to move **quorum-raft-state,** **raft-wal** and **raft-snap** folders due to having large size. This commit related with https://github.com/ConsenSys/quorum/issues/1002
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index efd002af53..d26d5f12a4 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -67,6 +67,7 @@ var ( utils.BootnodesV4Flag, utils.BootnodesV5Flag, utils.DataDirFlag, + utils.RaftLogDirFlag, utils.AncientFlag, utils.KeyStoreDirFlag, utils.ExternalS...
7
6
3
[{"id": "G0", "claim": "The MakeRaftLogDir function is not used anywhere and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The now-unused datadir parameter of raft.New should be removed.", "category": "maintainability", "verd...
null
Consensys__quorum__1118
Consensys/quorum
1,118
defect
155bcdb483e59b5e5930e5360998b8fcf3b54e0a
c117eb31a0b689be18d73f467448bca81cbaad3a
IBFT: Ensure that Committed Seal is not zero value
When a commit message is processed, if the Proposal is missing due to some reason, we should not generate a zero value Committed Seal. Such an incorrect seal causes `BAD BLOCK` failure with an `invalid signature` error during operations such as Block import. ## Details For an `IBFT` chain where we gathered a b...
diff --git a/consensus/istanbul/ibft/core/core.go b/consensus/istanbul/ibft/core/core.go index f3beb307ad..91c2559e15 100644 --- a/consensus/istanbul/ibft/core/core.go +++ b/consensus/istanbul/ibft/core/core.go @@ -98,9 +98,9 @@ func (c *core) finalizeMessage(msg *ibfttypes.Message) ([]byte, error) { msg.Address = c....
3
2
1
[{"id": "G0", "claim": "The 'Add proof of consensus' comment may need to be moved now that the CommittedSeal assignment sits inside the if-block.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A unit test should be added to reproduce the zero comm...
null
Consensys__quorum__1129
Consensys/quorum
1,129
defect
99708f4f9e88dccc1ee973ed104fa3c7be7486de
e3a07c36fbf6dcbb847a5c036ec18165bea105c7
Support eth and consensus subprotocols
Enable the eth service to support multiple subprtocols, e.g. "eth" AND "istanbul/100", instead of a single protocol, e.g. "eth" OR "istanbul/99". When istanbul consensus was originally added, the eth service was modified to override the eth subprotocol maintained by the eth service to an quorum specific consensus...
diff --git a/consensus/istanbul/backend/backend.go b/consensus/istanbul/backend/backend.go index 3eb699fe17..5ac1b30068 100644 --- a/consensus/istanbul/backend/backend.go +++ b/consensus/istanbul/backend/backend.go @@ -155,7 +155,7 @@ func (sb *backend) Gossip(valSet istanbul.ValidatorSet, payload []byte) error { ...
6
2
0
[{"id": "G0", "claim": "Notifying subprotocols through a `chan bool` sending true/false is not ideal; a `chan struct{}` closed to broadcast, or two separate channels (e.g. EthPeerReady and EthPeerDisconnected), would be more standard.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
Consensys__quorum__1136
Consensys/quorum
1,136
defect
c668ba547aa00ec3a0660121898ec2c16858478c
9d2f05e8ab0c71269097740d20f1e2a2266ff512
[Fix] Freezer DB quit when using RAFT mode
### Summary After merging this https://github.com/ethereum/go-ethereum/pull/21010 as part of the geth v1.9.14 upgrade, it changed the way the Freezer DB is quit when closing. That leads to issues when running in RAFT mode where the raft service will get stuck trying to stop the `chainDb` (aka freezerDB) as the new `...
diff --git a/core/rawdb/freezer.go b/core/rawdb/freezer.go index cfb681d3c4..73699ea3b9 100644 --- a/core/rawdb/freezer.go +++ b/core/rawdb/freezer.go @@ -128,8 +128,17 @@ func newFreezer(datadir string, namespace string) (*freezer, error) { // Close terminates the chain freezer, unmapping all the data files. func ...
1
1
0
[{"id": "G0", "claim": "The two freezer.Close() test functions (Test_freezer_shouldClose_whenHaveSubscribers and Test_shouldCloseGracefully_whenNoSubscribers) should be gathered under one test named TestClose, since the difference between the two is unclear.", "category": "maintainability", "verdict": "supported", "pri...
null
Consensys__quorum__1238
Consensys/quorum
1,238
defect
d5ef77cafd90f4cf9aebfaddb745944e610de1ad
6687be880215b98dbb70fd20e0e8f65718699f10
Prefetch next block to warm up Private State
### Summary The goal of the PR is warm up the state cache when we are inserting blocks in batch into the system (like on a full sync). This is already applied on Public state but we are introducing here the same behaviour for dual state and MPS. ### Changes * Modify the prefetched to handle private state chang...
diff --git a/core/blockchain.go b/core/blockchain.go index 620f29c39a..36ff523c24 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -218,10 +218,9 @@ type BlockChain struct { terminateInsert func(common.Hash, uint64) bool // Testing hook used to terminate ancient receipt chain insertion. writeLegacyJou...
1
1
1
[{"id": "G0", "claim": "The private-state prefetch branch in insertChain should use standard Go error handling — check stateRepoErr before using the repository (e.g. `if stateRepoErr == nil && privateStateRepo != nil { ... } else { log.Warn(...) }`) instead of branching only on the repository being non-nil.", "category...
null
Consensys__quorum__1240
Consensys/quorum
1,240
defect
972809e3e0ef8659251ace81234fa881602ff623
ac843daba8cb9d7127dd54d5cbb5d72f4bc2291d
Standalone node MPS DB Upgrade
### Introduction Since the release of the multiple private states feature the only way to switch from a standalone node to an MPS enabled configuration was to do a full node resync. This feature introduces a new `geth` command that allows a more expedient upgrade. ### MPS DB Upgrade Command MPS can be enabled on...
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index 0626e7833e..3b704dc277 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -31,6 +31,7 @@ import ( "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/console/prompt" "github.com/ethereum/go-ethereum/core" + "github.c...
2
1
0
[{"id": "G0", "claim": "The method name `calPrivateStateRoot` should be renamed because the abbreviation `cal` is unclear.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In `UpgradeDB`, the block loop should iterate over uint64 (`for idx := uint...
null
Consensys__quorum__1371
Consensys/quorum
1,371
defect
f2d73fd1e74e8d9933264acd2b1d8c665e121dfb
7425ba37ee94a6aad37a04b3a49369d8af802e4b
feat: Add support for transitions
Added support for transitions to switch from IBFT to QBFT dynamically and for other fields like: - RequestTimeout - Epoch - BlockPeriod
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index d430aa012b..855240a166 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -254,6 +254,12 @@ func initGenesis(ctx *cli.Context) error { if err != nil { utils.Fatalf("maxCodeSize data invalid: %v", err) } + if genesis.Config.IsQuorum { + ...
4
1
0
[{"id": "G0", "claim": "A deprecation comment should be added for the legacy TestQBFTBlock path in IsQBFTConsensusAt.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The transitions loop should be moved to the beginning of IsQBFTConsensusAt as the ...
null
Consensys__quorum__1381
Consensys/quorum
1,381
defect
6665a93dc7e8bc57e4870a5c1173c3f1df20c2cf
b7748faa61454c32616f6b3b49a8250033e0204e
Feat: Smart contract validators
Allow users to specify a smart contract address at a given block height that will enable the validator list to be managed by that contract from that height. The only interface that `GoQuorum` cares about is `function getValidators() external view returns (address[] memory)` how the internal list of validators is upd...
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index 855240a166..87da153105 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -39,6 +39,7 @@ import ( "github.com/ethereum/go-ethereum/metrics" "github.com/ethereum/go-ethereum/private" "github.com/ethereum/go-ethereum/private/engine/notinuse...
9
6
1
[{"id": "G0", "claim": "In the snapshot initialisation path, the smart-contract-caller error should be wrapped with fmt.Errorf and returned instead of being logged and returned (possible double logging).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
Consensys__quorum__1433
Consensys/quorum
1,433
defect
58a13fcea45e14d340d78e0b3b4f8f991c356ca8
863194a9bec317e80e24e30f429a4c07736b41a7
qbft: add new block period setting used when the block is empty
When the mined block is empty, the period will be longer but a new transaction will mine a non-empty block with the block period. As a result, we mine less frequently empty blocks.
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index fbb97ed064..21c00ba153 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -2603,6 +2603,12 @@ func setBFTConfig(bftConfig *params.BFTConfig) *istanbul.Config { if bftConfig.BlockPeriodSeconds != 0 { istanbulConfig.BlockPeriod = bftConfig.BlockPeri...
2
2
1
[{"id": "G0", "claim": "The empty-block delay in handleRequest should be computed from the timestamp of the parent block of `block` (as delay = max(parentHeader.Time + (EmptyBlockPeriod-BlockPeriod) - now, 0)), not from the block's own time, since block time should already equal parent time + block period.", "category"...
null
Consensys__quorum__1446
Consensys/quorum
1,446
defect
12fe34183274ef8f36560b6f00fd0ecc6b984b9d
d4d68781d816f04dd896afaedc0fe24b9f23cf45
Enable gas price
Allow GoQuorum to be set up as a gas enabled network. Associated changes and pull requests: - [Documentation](https://github.com/ConsenSys/doc.goquorum/pull/244). - Acceptance tests (to follow).
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94838d0a53..7980802444 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,7 @@ on: - '.gitignore' branches: - master + - enable-gas-price-v2 env: GO_VERSION: 1.16 GOPATH: ${{ gi...
2
2
1
[{"id": "G0", "claim": "Remove the temporary 'enable-gas-price-v2' branch trigger that the pull request added to .github/workflows/build.yml before the PR is merged to master.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A condition should be ...
null
Consensys__quorum__1457
Consensys/quorum
1,457
defect
ac54187a26f34d0c133d3702f1d6cf31b60abc26
6ded7bc1fd66209304b99269dc7cf7d9005cc9b1
Feat transitions transaction size limit
All transactionSizeLimit to be specified in a transition: ``` "transitions" : [{ "block": 200, "transactionSizeLimit": 128 }] ```
diff --git a/cmd/geth/config.go b/cmd/geth/config.go index 08270bc644..4047ddc882 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -24,6 +24,7 @@ import ( "math/big" "os" "reflect" + "strings" "unicode" "github.com/ethereum/go-ethereum/cmd/utils" @@ -353,7 +354,11 @@ func quorumValidateEthService...
2
2
0
[{"id": "G0", "claim": "In quorumValidatePrivacyEnhancements the new loop over Transitions can avoid many operations by being wrapped in `if !privacyEnhancementsBlock` with a `break`, since enabling privacy precompile is a one-way switch from off to on.", "category": "performance", "verdict": "supported", "priority": "...
null
Consensys__quorum__1578
Consensys/quorum
1,578
defect
bc1bf1fc26b3843ada85469f546d06b30dda6b47
0c1b78a92999d8d48d2b4d25e6f2ba8169424f4a
perf: improved func ValidateNodeForTxn node id parsing
Enhanced permission ValidateNodeForTxn function contains repeating parsing of enode identifier from NodeInfo.Url field. This fix stores parsed enode id value to cached NodeInfo object and reuse stored value on each ValidateNodeForTxn function call. In our EOA transactions performance test with enabled enhanced permi...
diff --git a/eth/api_backend.go b/eth/api_backend.go index 7f3f293418..1151824d81 100644 --- a/eth/api_backend.go +++ b/eth/api_backend.go @@ -40,6 +40,7 @@ import ( "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/internal/ethapi" "github.com/ethereum/go-ethereum/miner" + "github.com/ethe...
4
2
0
[{"id": "G0", "claim": "The new comment should read \"// End Quorum\" instead of the misspelled \"// End Quourum\" (raised via a suggestion block).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new NodeInfo.ID() method is either a duplicate o...
null
Consensys__quorum__739
Consensys/quorum
739
defect
5a80e7a1badd2e99f05baf18d2c8e00fed488746
bacd5dc3c9785699c1524734d2bf5771bdf7a9e2
non-party node must refund gas for private transactions
### Summary Gas pool subtracts transaction gas limit initially prior to processing the transaction. For private transactions, only intrinsic gas are used. The remaining (transaction gas limit - intrinsic gas) is refunded to the gas pool. This logic is supposed to be applied for both party and non-party nodes. ...
diff --git a/core/state_transition.go b/core/state_transition.go index 89166dda0a..633fbbcb67 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -254,6 +254,7 @@ func (st *StateTransition) TransitionDb() (ret []byte, usedGas uint64, failed bo } //if input is empty for the smart contract call,...
2
2
1
[{"id": "G0", "claim": "st.state.AddBalance(st.evm.Coinbase, gasUsed*gasPrice) should also be added after the refund in the empty-input private-transaction path; it has no effect while gasPrice is zero, but if gasPrice is ever re-enabled the used gas should be recycled the same way for all transactions.", "category": "...
null
Consensys__quorum__800
Consensys/quorum
800
defect
127559957314a76eedd7b1cef629517bff5e0844
0b12e0b6f288aa618327bf3c72cae18c08b0b5cb
Add configurable threshold for 'future block' check
Fixes #792 Added configurable threshold for 'future block' check, in order to avoid spurious "block in the future" messages for Istanbul and Clique. Threshold is specified in seconds, using`--allowedfutureblocktime` command line argument. Note that there is a similar change for ethash in upstream geth (albeit a f...
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index a539719a49..4e6aba5fa6 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -145,6 +145,7 @@ var ( utils.EmitCheckpointsFlag, utils.IstanbulRequestTimeoutFlag, utils.IstanbulBlockPeriodFlag, + utils.IstanbulAllowedFutureBlockTimeFlag, utils.PluginSe...
2
2
0
[{"id": "G0", "claim": "The istanbul.allowedfutureblocktime flag's usage description should be worded like the upstream comment: \"Max time (in seconds) from current time allowed for blocks, before they're considered future blocks\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "int...
null
Consensys__quorum__892
Consensys/quorum
892
defect
5cb92ceb3ccde7d30464f43df5f869aec3722499
f58e83626dc7ae47ec7de32e472028326d93d67e
Update file descriptor limits for macOS
This PR is cherry-picked from: https://github.com/ethereum/go-ethereum/pull/19035 https://github.com/ethereum/go-ethereum/pull/19068 https://github.com/ethereum/go-ethereum/pull/19141 https://github.com/ethereum/go-ethereum/pull/19166 (only relevant files) This introduces proper file handle limits for `darwin` b...
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 5be3c4081b..9de10425cc 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -878,10 +878,11 @@ func makeDatabaseHandles() int { if err != nil { Fatalf("Failed to retrieve file descriptor allowance: %v", err) } - if err := fdlimit.Raise(uint64(limi...
1
1
0
[{"id": "G0", "claim": "The Dockerfile and Travis configuration should also be updated to use Go 1.13.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
Consensys__teku__10006
Consensys/teku
10,006
defect
bec203a4de2be29c1e680e7bae5a2ffefa52c2ec
c60a4de55890e543e693825ac9075ee7dc9ed556
Improved DAS sampler
1- avoid interaction with custody columns from DB 2- add a column tracking which is tight to sampling (not custody) 3- due to tracking, more reliably sampling independently by order of arrival, reducing RPC calls 4- postpone dataAvailabilityCheck after the block is processed (at time of `getAvailabilityCheckResult`)...
diff --git a/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java b/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java index 4d93246428d7..8cde5bf03540 100644 --- a/eth-reference-tests/src/r...
10
6
0
[{"id": "G0", "claim": "The pre-import pre-sampling path in DasPreSampler may almost never trigger (this code is used only for sync, far from gossip), and sampler.checkDataAvailability will check custody too.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Consensys__teku__10009
Consensys/teku
10,009
defect
bec203a4de2be29c1e680e7bae5a2ffefa52c2ec
a422208f80c0d95b73393b95fbb61d57bd4fec45
Introduce `BuilderApiChannel`
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description - Introduce `BuilderApiChannel` which is used to communicate the builder coming from the VC to the BN. Currently, remote VC implementati...
diff --git a/beacon/validator/src/integrationTest/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java b/beacon/validator/src/integrationTest/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java index 44ad81a46f2e..de6e5b127623 100644 --- a/beacon/validato...
7
4
1
[{"id": "G0", "claim": "The NOOP ExecutionPayloadFactory returns an incomplete SafeFuture that never completes, so any caller waiting for the result would hang indefinitely; it should return a completed future instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
Consensys__teku__10012
Consensys/teku
10,012
defect
5e89d22a2fb079763bfc210865a18dd8805fbe9f
2dd805187504ac44df6f65aa182c91df5d0de0c3
Added batchSignatureVerifier NOOP option for tests
## PR Description Add a new method to `SpecConfig` to create a new instance of `BatchSignatureVerifier`, called `createBatchSignatureVerifier()`. The reasoning behind it is that it will always create a new instance of `BatchSignatureVerifier` via its supplier. But adds the option of changing the supplier on `SpecCo...
diff --git a/eth-tests/src/main/java/tech/pegasys/teku/ethtests/finder/TestDefinition.java b/eth-tests/src/main/java/tech/pegasys/teku/ethtests/finder/TestDefinition.java index 5d24bd95c53..aa22c1bd491 100644 --- a/eth-tests/src/main/java/tech/pegasys/teku/ethtests/finder/TestDefinition.java +++ b/eth-tests/src/main/ja...
1
1
1
[{"id": "G0", "claim": "In TestDefinition.createSpec, the batchSignatureVerifierSupplier branches are inverted: when blsSignatureVerificationEnabled is true it supplies BatchSignatureVerifier.NO_OP and when false it supplies BatchSignatureVerifierImpl::new, inconsistent with the blsSignatureVerifier setup and causing s...
null
Consensys__teku__10017
Consensys/teku
10,017
defect
0be0c83a4f18590c8a14ab5f96bd077d20d72cda
85046bc158a062fee7ecd0060f487571546e41cf
Add `ExecutionPayloadManager` and implement `ExecutionPayloadPublisher`
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description - Introduce `ExecutionPayloadManager` which is responsible as a delegator for validating and importing an execution payload - Added `...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadFactory.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadFactory.java index 11fdf0d358bc..11f2ce471e58 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/validator/...
6
1
0
[{"id": "G0", "claim": "The success log 'Successfully imported execution payload {}' in doImportExecutionPayload prints unconditionally, so a failed import produces both a failure and a success log line.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Consensys__teku__10019
Consensys/teku
10,019
defect
e9edb9ba3da9ea0c22fc77d7f3265038a75b6c5d
95889f557cb67904737115b731426c99da1a6c8e
Create `ExecutionPayloadDuty`
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description - Introduce new `ExecutionPayloadDuty` which is run adhoc and react to bid events - Modify `BlockProductionDuty` to emit a bid event ...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockFactoryGloas.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockFactoryGloas.java index 65015bf0968e..eadcd06a227d 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/...
4
2
1
[{"id": "G0", "claim": "The blockExecutionValue.isZero() check misinterprets a legitimate zero cached execution value as 'not cached' and falls back to the bid value instead of using the correct cached zero.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
Consensys__teku__10024
Consensys/teku
10,024
defect
58eb6bb16be0cfe6fa0bbeceb927799d4934074a
7fc395d8fe076d814e121abd33121eedb8ad090c
updated fulu sidecar rules
fixes #10013 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Validate DataColumnSide...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/fulu/helpers/MiscHelpersFulu.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/fulu/helpers/MiscHelpersFulu.java index c9f86136387..6d402aefa13 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/vers...
1
1
1
[{"id": "G0", "claim": "Add a test in MiscHelpersFuluTest covering the new rejection of data column sidecars whose kzg commitment list is larger than maxBlobsPerBlock, to ensure the check is never removed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Consensys__teku__10049
Consensys/teku
10,049
defect
7cca0a45e3319214bb46fa72590757bda982aa49
1b066962e21d1fca18d18aba1398a07b92756640
Fork choice `on_execution_payload` skeleton
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Simple implementation (more of a skeleton) for `fork_choice#on_execution_payload`. Also created a new `ForkChoicePayloadExecutorGloas` w...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/datastructures/epbs/versions/gloas/SignedExecutionPayloadEnvelope.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/datastructures/epbs/versions/gloas/SignedExecutionPayloadEnvelope.java index 5c4de392f22f..3a3780a7cb70 100644 --- a/ethereum/spec/s...
7
4
3
[{"id": "G0", "claim": "The new applyExecutionPayloadToStore methods declare the parameters store, signedEnvelope and postState but never use any of them.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "optimisticallyExecute() immediately calls l...
null
Consensys__teku__10066
Consensys/teku
10,066
defect
fe6cdc4a8f2bbb5deb36b60b39c7d5db60e72fc7
208b4bb5429f3585152071f0ec7d21a4d4c6cb87
Acceptance Test: Restore DataColumnSidecars from 50%
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description First test is on Gossip, node is following head and we withold non-custodied columns for 1 block (it's enough to test feature and not ma...
diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/Das50PercentRecoveryAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/Das50PercentRecoveryAcceptanceTest.java new file mode 100644 index 00000000000..c3009d4cffb --- /dev/null...
10
7
3
[{"id": "G0", "claim": "In P2PConfig.Builder.build(), dasPublishWithholdColumnsEverySlotsOptional is incorrectly set from dasExtraCustodyGroupCount instead of dasPublishWithholdColumnsEverySlots, so the withhold feature receives the custody group count instead of its slot interval, leading to incorrect behavior.", "cat...
null
Consensys__teku__10070
Consensys/teku
10,070
defect
d497c563ce948be3f2cfc6d8dca198096e632af2
79995277ecfccb094ae8b98b26013a1e74f45a9e
[Failovers] Execution payload only created by the node which created the bid
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Only create execution payload by the node which created the bid. Also removed reference to one of the Gloas issues, which I closed, beca...
diff --git a/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/FailoverValidatorApiHandler.java b/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/FailoverValidatorApiHandler.java index 81d4fa6baf7..ee6780f9164 100644 --- a/validator/remote/src/main/java/tech/pegasys/teku/validator/remo...
1
1
1
[{"id": "G0", "claim": "The executionPayloadBidCreatorCache is keyed only by slot, so with the same slot and different builderIndex values the cache entry is overwritten and createUnsignedExecutionPayload may be routed to the beacon node that created a bid for a different builder; the key should be a composite of slot ...
null
Consensys__teku__10074
Consensys/teku
10,074
defect
f2f087ce44e25561c6b748ca2c829069a40121c8
b07a1a627cbd5adb9e1cdfdee83d03218b213dfd
Acceptance Test: Check custody count number is set in all components
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description I don't like tests by logs too, but it's the best thing we could have now to check all wiring is correctly set and remains correct after...
diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCustodyCountAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCustodyCountAcceptanceTest.java new file mode 100644 index 00000000000..0a92dc2847d --- /dev/null +++ b/acc...
2
1
1
[{"id": "G0", "claim": "In Node.java's waitForAllInAnyOrder, a runnable's failure doesn't propagate: its thread dies without decrementing the CountDownLatch, so a test failure surfaces as a 2-minute latch timeout instead of failing fast, obscuring the root cause.", "category": "testing", "verdict": "uncertain", "priori...
null
Consensys__teku__10077
Consensys/teku
10,077
defect
4a48fddb83a27164036c7db6885724c82c5d3436
09e01721f7160a0acb311ac39bf31cd00bfd8153
implemented rest api proposer_lookahead for fulu
Gives access to the state attribute included in fulu. fixes #10076 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CU...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 19431536d96..50d83deb0d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,5 +9,6 @@ ### Breaking Changes ### Additions and Improvements + - Implemented `/eth/v1/beacon/states/{state_id}/proposer_lookahead` which is accessible from fulu. ### Bug Fixes diff --git a/...
2
2
1
[{"id": "G0", "claim": "The checkMinimumMilestone call for proposer lookahead passes the copy-pasted error message \"validator ids\", so pre-Fulu states get a misleading error referencing validator ids instead of proposer lookahead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introd...
null
Consensys__teku__10099
Consensys/teku
10,099
defect
ca036f1e8ac173c4fe2b03656f016f82835c727b
49881f7b4683acbe0c6e11bfb0099d9f4f04c8bd
add Gloas attestation gossip validation rules
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add Gloas attestations gossip validation rules (aggregate and single attestations) ## Fixed Issue(s) <!-- Please link to fixed issue...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/util/AttestationUtil.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/util/AttestationUtil.java index a65db7cac1b..752f66e060c 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/util/AttestationU...
1
1
0
[{"id": "G0", "claim": "A short comment (e.g. '// Gossip validation helpers') should be added above the newly added gossip validation helper abstract methods in AttestationUtil.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10104
Consensys/teku
10,104
defect
03e454eb2deae767dd45ab3f523bcfd45ead843b
016054a6dbf2350eebc287825b578bbb18c462c1
Do not try to publish reconstructed columns while syncing
fixes #9976 ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Prevent publishing rec...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactory.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactory.java index 14c24bfc1b7..a64e8034502 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/...
4
3
1
[{"id": "G0", "claim": "The RPC error handlers should keep logging the full exception (LOG.error with the error object) rather than shrinking it to ExceptionUtil.getMessageOrSimpleName, which could hide the cause for logic errors like an NPE.", "category": "maintainability", "verdict": "supported", "priority": "P3", "s...
null
Consensys__teku__10107
Consensys/teku
10,107
defect
03e454eb2deae767dd45ab3f523bcfd45ead843b
ea3578bb7351d4744a6f994f65ddcf9ecceca22a
Some Gloas changes for `ChainBuilder`
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description - Some changes to make easier to implement `ChainBuilder` for Gloas in the future. - Also added ExecutionPayloadProposalUtil which is...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadFactoryGloas.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ExecutionPayloadFactoryGloas.java index c34b62e29779..d8f7fc6db3bd 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/...
4
1
1
[{"id": "G0", "claim": "The execution payload is created from the unprocessed `state` parameter instead of the slot-advanced `blockSlotState`, so the payload is built with stale state data from an earlier slot.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
Consensys__teku__10113
Consensys/teku
10,113
defect
bf5434947de2311e40ac2c2a62bc6f9301b0b257
c9c368c9c8653c7bfddbb2e33ac7e012bccc3aa7
Add a test to reconcile between CLI and docs
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add a test which is Disabled and can be run adhoc to reconcile between CLI and docs. Current output: ``` java.lang.AssertionError: ...
diff --git a/teku/build.gradle b/teku/build.gradle index 741c65d838a..c9379af5475 100644 --- a/teku/build.gradle +++ b/teku/build.gradle @@ -74,4 +74,5 @@ dependencies { testImplementation project(':data:provider') testImplementation 'org.awaitility:awaitility' + testImplementation 'org.jsoup:jsoup' } diff --...
1
1
1
[{"id": "G0", "claim": "The new test's @Disabled annotation is commented out, so the test runs during normal test execution, making HTTP calls to external docs URLs which will fail in CI/CD environments without internet access and could fail intermittently due to network issues, and it should be disabled as the PR inte...
null
Consensys__teku__10126
Consensys/teku
10,126
defect
ac57c7230794a6237a2ba019df417da5a733edcf
c375acb87f1e16f9f2376cd698003656b7c83c57
PTC scheduled duty on VC
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Create new `PayloadAttestationProductionDuty` to be performed at `getPayloadAttestationDueMillis` **Logs from interop:** <img width=...
diff --git a/beacon/validator/src/integrationTest/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java b/beacon/validator/src/integrationTest/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java index 5621d8000ba..5cd3c8f085c 100644 --- a/beacon/validator/...
5
1
1
[{"id": "G0", "claim": "The new test mocks `getBlockAndStateInEffectAtSlot` while the implementation calls `getBlockInEffectAtSlot` (different methods and return types), so the mock never matches and the test fails when the implementation tries to retrieve the block.", "category": "correctness", "verdict": "supported",...
null
Consensys__teku__10137
Consensys/teku
10,137
defect
e9298a1d4d5160254cf418e61554af333db5401d
17198ce78adcd7b57ac70f7e23833f9fae614785
Sidecar KZG Proofs storage
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Part of #10132, implementing #10095 Implementing only database part: storing, reading, removing KZG Proofs for DataColumnSidecars. M...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java index 2c264819a2c..d2c9c13d33c 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java @@ -27,6 +2...
3
2
1
[{"id": "G0", "claim": "Pruning data column sidecars does not remove the corresponding KZG proofs stored in dataColumnSidecarsProofsBySlot, so proofs accumulate indefinitely in the database after their sidecars are pruned (bloat/memory leak); they should be deleted via updater.removeDataColumnSidecarsProofs(slot) when ...
null
Consensys__teku__10138
Consensys/teku
10,138
defect
0c21351b4025506bade55f2a37106b2bdafaeab3
77cfe6cd8b20c84043c2b69e0f87e4242e687273
Schedule block production duties for next epoch in fulu
This is stable post-fulu, so we can avoid the slot 0 issue. fixes #10124 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entry, and added one if I deemed necessary. <...
diff --git a/validator/client/src/main/java/tech/pegasys/teku/validator/client/AbstractDutyScheduler.java b/validator/client/src/main/java/tech/pegasys/teku/validator/client/AbstractDutyScheduler.java index 3670277e247..2e71fe6c728 100644 --- a/validator/client/src/main/java/tech/pegasys/teku/validator/client/AbstractD...
1
1
1
[{"id": "G0", "claim": "Apart from a compilation issue, running the branch throws IllegalArgumentException \"Proposer duties were requested for a future epoch (current: 4, requested: 5)\" when the validator client requests proposer duties for the next epoch.", "category": "correctness", "verdict": "supported", "priorit...
null
Consensys__teku__10143
Consensys/teku
10,143
defect
19d22375b7b9fda5a7eca256c153bc0ef4984abd
ebbbe276d358409556084c175283917288be5362
Mark for equivocation datacolumns recovered from EL
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Mark for equivocation the sidecars recovered from EL that belong to the sampling group. ## Fixed Issue(s) <!-- Please link to fixed ...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/util/DataColumnSidecarELManagerImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/util/DataColumnSidecarELManagerImpl.java index 93cda850c3d..3093b9d78a7 100644 --- a/ethereum/...
3
3
2
[{"id": "G0", "claim": "The markForEquivocation parameters should be reshaped so the method can be reused at the internal receivedValidDataColumnSidecarInfoSet.add call sites, adding clarity as in BlobSidecarGossipValidator.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
Consensys__teku__10150
Consensys/teku
10,150
defect
19d22375b7b9fda5a7eca256c153bc0ef4984abd
ac46244bd07086b8591c67629fcb24afe115d876
`ExecutionPayloadEnvelopesByRoot` implementation
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description As per https://github.com/ethereum/consensus-specs/blob/master/specs/gloas/p2p-interface.md#executionpayloadenvelopesbyroot-v1 Integr...
diff --git a/ethereum/dataproviders/src/main/java/tech/pegasys/teku/dataproviders/lookup/EarliestBlobSidecarSlotProvider.java b/ethereum/dataproviders/src/main/java/tech/pegasys/teku/dataproviders/lookup/EarliestBlobSidecarSlotProvider.java index 7b96f809df8..0b373db9c3c 100644 --- a/ethereum/dataproviders/src/main/jav...
2
1
0
[{"id": "G0", "claim": "The new retrieveSignedExecutionPayloadEnvelopeByBlockRoot method's beaconBlockRoot parameter is never used by the method's body.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since count validation is done as part of the...
null
Consensys__teku__10153
Consensys/teku
10,153
defect
19d22375b7b9fda5a7eca256c153bc0ef4984abd
fa7d5ae55001b8fd1ceeb7d26dcec86775b062d2
Add logic on ReqResp handlers for sidecar reconstruction
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add logic on handlers size for reconstruction of sidecars from proofs on supernodes. This PR includes: - configuration flag to set bor...
diff --git a/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java b/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration.java index a0a08c0d743..9d5898e2c17 100644 --- a/ethereum/networks/src/main/java/tech/pegasys/teku/networks/Eth2NetworkConfiguration...
21
14
10
[{"id": "G0", "claim": "The RequestState constructor calls columns.stream().max(...).orElseThrow() without checking for an empty columns list, so a request with empty columns that passes validation would throw NoSuchElementException and crash the handler.", "category": "correctness", "verdict": "supported", "priority":...
null
Consensys__teku__10159
Consensys/teku
10,159
defect
d9d05a55d5715fba88c00789a357c06ff3ec8054
13c17f3b13ca58fdae96d1319b87ce6a85956e0c
Das custody backfiller (DASCustodySync rewrite)
This an alternative to `DASCustodySync`. The class is just introduced and not activated yet. Flags and additional DB variable will be added in subsequent PRs. implements: 1- backfill of custody columns after checkpoint sync. **It wont start until the node is in sync** 2- at startup, it will check that our current...
diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCheckpointSyncAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCheckpointSyncAcceptanceTest.java index ad7721173b64..f4844ebcfc66 100644 --- a/acceptance-tests/src/acce...
20
11
3
[{"id": "G0", "claim": "The lambda parameter '__' in the thenApply on this line is never used (code-scanning alert).", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When getLatestChainHeadSlot() returns empty at startup, prepareAndExecuteHeadsChe...
null
Consensys__teku__10164
Consensys/teku
10,164
defect
a04514bf0a6fb219e3378fa00a20082c45d43b8c
7eeae9cd64366a5c0d4387438a8ad0efc906f652
Simplify `get_beacon_proposer_index` when slot is current
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description We can avoid the call below to simplify the cases for the current slot, which can just use the spec logic and don't do additional unnece...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/fulu/helpers/BeaconStateAccessorsFulu.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/fulu/helpers/BeaconStateAccessorsFulu.java index 6cdc16abe44c..fed46d18dd5b 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/...
1
1
0
[{"id": "G0", "claim": "The newly added shared @BeforeEach setUp() is sometimes harder to work with because tests change their scenario, so the reviewer expects he may not be able to use this pattern in a next PR and per-test initialization may be preferable.", "category": "design", "verdict": "supported", "priority": ...
null
Consensys__teku__10167
Consensys/teku
10,167
defect
e1bdc561519e433d0ab09b3957a24aa91bee6d94
8609f3352cc4ec90a04e98a0aead4e65f008279e
fix custody limit always after fulu
Always consider custody no earlier than fulu activation ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY -...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/MinCustodyPeriodSlotCalculator.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/MinCustodyPeriodSlotCalculator.java index 78969ef6510..befe579cab8 100644 --- a/ethereum/statetrans...
2
1
1
[{"id": "G0", "claim": "Calling spec.getFork(SpecMilestone.FULU) may throw IllegalArgumentException when FULU is supported but not actually scheduled in the fork schedule.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's change to Min...
null
Consensys__teku__10168
Consensys/teku
10,168
defect
19d22375b7b9fda5a7eca256c153bc0ef4984abd
d5ccfb8dc90027fdb02cd645f9fba80b01d2576b
10146 gloas execution payload gossip rules
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add Gloas `execution_payload` gossip rules ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue num...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java index 2c264819a2c..5d9e06905ae 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/Spec.java @@ -79,6 +7...
7
7
5
[{"id": "G0", "claim": "The new isSignatureValidWithRespectToBuilderIndex method is 100% the same as isSignatureValidWithRespectToProposerIndex, which is confusing.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validator should use the exis...
null
Consensys__teku__10169
Consensys/teku
10,169
defect
11a42e31b0fa029c728eea64436573ca6fc4d68c
405c3eebfdcdb01fd7cda9214dc8f2fa51fc95f8
Add Single block provider for Fulu
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description This PR add a SingleBlockProviderResolver that will return recent blocks from the tracker from FULU (DASBasicSampler) or previous forks ...
diff --git a/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java b/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java index 1179bb46436f..52af2b725017 100644 --- a/eth-reference-tests/src/r...
23
20
13
[{"id": "G0", "claim": "DasSamplerBasic.getBlock calls recentlySampledColumnsByRoot.get(blockRoot).getBlock() without a null check, so a root that is not in the map throws a NullPointerException instead of returning Optional.empty for the SingleBlockProviderResolver fallback.", "category": "correctness", "verdict": "su...
null
Consensys__teku__10171
Consensys/teku
10,171
defect
2b88a314975b17eb97d9b0f1026fdae1c697e7a0
35ad4d5457bd09898d572e83754b3c3e49b7eb23
Fix pre-fulu minCustodyPeriodSlotCalculator
fixes: #10172 ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Make `getMinCustodyP...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DasCustodySync.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DasCustodySync.java index 308f794253b..c6b7eb5ee6c 100644 --- a/ethereum/statetransition/src/main/java/tech/pegasys...
1
1
1
[{"id": "G0", "claim": "The tests should also verify that pre-fulu db.setFirstCustodyIncompleteSlot is not called when onSlot runs and when onNewFinalizedCheckpoint runs.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
Consensys__teku__10181
Consensys/teku
10,181
defect
1ffef617e4bdc649c37c67c9fbf1f6513558c974
5319822fc97b952752385a4b29eadc4a6398ea5a
Updated block production duties for fulu
Expanded tests to show how things work. Did some manual testing on minimal network and on testnets, and looking right. Had to expand some logs to improve what we can see. fixes #10124 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are req...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2f83594b17c..014e7746936 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Added new metrics `beacon_earliest_available_slot` and `data_column_sidecar_processing_validated_total`. +- Block proposal duties can now be scheduled in advance for fulu. ##...
1
1
0
[{"id": "G0", "claim": "The inline milestone conditionals added in ValidatorApiHandler.getProposerDutiesFromState and BlockDutyScheduler (getExpectedDependentRoot, getLookAheadEpochs) could be removed by moving this logic into BlockProposalUtil (or similar) with a Fulu-specific version.", "category": "design", "verdict...
null
Consensys__teku__10186
Consensys/teku
10,186
defect
749b651aa81c069890a7ea9517ebd39b2a58b48f
63e4fc70e69f3da9916ff7c2616a5675dc18b334
add gloas payload attestation gossip rules
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add Gloas `payload_attestation_message` gossip rules ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/Constants.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/Constants.java index 0dbd96bf3d37..7af868718aa0 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/config/Constants.java +++ b/ethereum/spec/src/main/java/tech/p...
1
1
1
[{"id": "G0", "claim": "The slot validation only checks isSlotFromFuture, so payload attestation messages for past slots pass validation and continue processing when the spec requires data.slot == current_slot and such messages should be ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
Consensys__teku__10196
Consensys/teku
10,196
defect
f3847cccbaa2f08ff4afa4a7664675aaf8fbfe2a
c7f14d61fc3b69100fad03ed51af8bf50eef9112
[Gloas] Store full expected withdrawals in BeaconState + spec alignment
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Disabling reference tests for Gloas, since there would be too many changes upcoming in the next release. **Main change:** https://gi...
diff --git a/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/schema/BeaconStateGloas.json b/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/schema/BeaconStateGloas.json index 5fac781ecf36..c558126c3d7b 100644 --- a/data/beaconrestapi/src/...
3
3
0
[{"id": "G5", "claim": "The two lines computing the validator's balance after withdrawals duplicate the spec's get_balance_after_withdrawals and are repeated in the code, so they should be extracted into a shared helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
Consensys__teku__10198
Consensys/teku
10,198
defect
749b651aa81c069890a7ea9517ebd39b2a58b48f
89137c80a11b1673ed4b299f4df4daff6a26c9b4
10175 execution payload bid gloas gossip
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add Gloas `execution_payload_bid` gossip rules ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<iss...
diff --git a/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager.java b/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager.java index 8d2c0233652e..b5601100e74e 100644 --- a/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager....
39
34
18
[{"id": "G0", "claim": "highestBids is updated before async validation completes, so an invalid high-value bid poisons the cache and later valid lower-value bids for the same parent block hash are incorrectly ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": ...
null
Consensys__teku__10215
Consensys/teku
10,215
defect
ef4306f9fd251ee115fa02deeabff616e3082975
7367a532c2cba177f39ae568f359ecef87ed948e
Unify BlobSidecar and Fulu trackers pruning using BlobTrackerPool
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> <!-- Example: "fixes #2" --> ##...
diff --git a/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager.java b/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager.java index 8d2c0233652..36803d123b8 100644 --- a/beacon/sync/src/testFixtures/java/tech/pegasys/teku/beacon/sync/SyncingNodeManager.ja...
9
8
2
[{"id": "G0", "claim": "The constant interface anti-pattern should be avoided: PrunedDataAvailabilitySampler declares a NOOP constant and DasSamplerBasic implements that interface.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "BlockPrunedTrackerFactory ...
null
Consensys__teku__10217
Consensys/teku
10,217
defect
362b9673c60e8b260caab5defd3bcae0c07019ac
93610337d8e04024a45269d46a8c9a85ef1192c8
Dependency sweep
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Dependency sweep + changes some our string concat to use formatting instead those came up after upgrading error prone version and were a...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactory.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/BlockOperationSelectorFactory.java index 303148c4743..41779432436 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/...
1
1
1
[{"id": "G0", "claim": "During the dependency sweep, jackson-databind and jackson-dataformat were updated to 2.20.1 but jackson-module-kotlin was left at 2.19.1, and mixing Jackson versions can cause runtime compatibility issues since the module appears to have been accidentally missed.", "category": "correctness", "ve...
null
Consensys__teku__10220
Consensys/teku
10,220
defect
071e0e0dd0319c34f74df4f90b9b96b3cd3f0f52
961b1afe369f98076996b83c1c6753311807fe91
Fix earliest_available_slot calculation
## PR Description Take into consideration both the earliest block and the custody-fulfilled datacolumns when calculation `earliest_available_slot`. ## Fixed Issue(s) N/A ## Documentation - [x] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d8adf074c62..90d76e1cf44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,4 +18,5 @@ ### Bug Fixes - Fixed a storage issue which sometimes caused Teku to crash during shut down. -- Fixed `peer_count` metric when using `--metrics-publish-endpoint` feature. +- Fixed ...
2
1
1
[{"id": "G0", "claim": "The combined earliest-slot logic should only be applied for FULU.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The value cannot be null (it would NPE during calculation anyway), so Optional.of should be used instead of Opti...
null
Consensys__teku__10238
Consensys/teku
10,238
defect
f0d872e75d85f2023db2df34e7fc2f520cb7d4d8
cb48c1b23ecf64af187b2868226901fbc60ccdf8
remove last finalized index from validator index cache
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Remove the `latestFinalizedIndex` from the `ValidatorIndexCache` which is not used anywhere. It has been introduced in https://github.c...
diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ValidatorIndexCacheTracker.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/ValidatorIndexCacheTracker.java deleted file mode 100644 index 1ea25e24693..00000000000 --- a/beacon/validator/src/main/java/tech/p...
1
1
1
[{"id": "G0", "claim": "The new code unconditionally calls updateLastIndex() when findIndexFromState locates a validator, so in NO_OP_INSTANCE (whose cache size never grows) lastCachedIndex becomes the found index N and subsequent lookups for validators at lower indices fail because the scan starts past them; restore t...
null
Consensys__teku__10244
Consensys/teku
10,244
defect
a8a94dbb7ea589a0c86258e6928a13903f632be6
76ead05edb2567a3d25a0bb4964f6599cd4b2a49
Add ChainStorage test for DataColumnSidecars #9928
## PR Description Add ChainStorage test for DataColumnSidecars ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> <!-- Example: "fixes #2" --> fixes #9928 ## Documentation - [x ] I thought about documentation and added the `doc-change-required` label to this P...
diff --git a/storage/src/main/java/tech/pegasys/teku/storage/server/ChainStorage.java b/storage/src/main/java/tech/pegasys/teku/storage/server/ChainStorage.java index 56a368c4118..c5288ee1b69 100644 --- a/storage/src/main/java/tech/pegasys/teku/storage/server/ChainStorage.java +++ b/storage/src/main/java/tech/pegasys/t...
3
2
1
[{"id": "G0", "claim": "The inner loop variable i in the missing-sidecar check is never used, so the identical assertion repeats 128 times per sidecar instead of testing different column indices.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The te...
null
Consensys__teku__10248
Consensys/teku
10,248
defect
4a8ab41d9021f9f7909b44f038dff2beccc9d294
62119d42b6e74c4ae1b3e25ef91d4bfd6ce7673d
Finish DA check on 50% columns
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description As user could quit at any moment during forward sync, this PR requires following prerequisites: - enabling reworked `DasCustodyBackfi...
diff --git a/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java b/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java index 1179bb46436..a42ebdb205a 100644 --- a/eth-reference-tests/src/ref...
5
5
1
[{"id": "G0", "claim": "The `else` after `if (!removed) { ... return false; }` is redundant and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The inline condition guarding the early completion is too noisy and should be extra...
null
Consensys__teku__10249
Consensys/teku
10,249
defect
8fa8024d1a92ba826ac1fa8ad2c13c62fb836776
522ffe33549afb2db563343e3a79d1a3e6d47e68
added endpoints for custody checks
2 new endpoints added - `/teku/v1/node/custody_overview` - `/teku/v1/beacon/column_custody_at_slot/{block_id}` Ideally at some point we could add the earliest slot available to the overview output. custody_overview will define the required custody, and a script would still need to compare the 2 lists for ga...
diff --git a/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/paths/_teku_v1_beacon_column_custody_at_slot_{block_id}.json b/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/paths/_teku_v1_beacon_column_custody_at_slot_{block_id}.json new f...
3
1
0
[{"id": "G0", "claim": "Remove the accidentally committed debug statement LOG.debug(\"PJH root {}, blobCount {}\", root, blobCount), which adds noise to production logs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The column_custody_at_slot e...
null
Consensys__teku__10253
Consensys/teku
10,253
defect
ecd74cac30b923584212f9befb711d77b27d2a0a
da2731e3c708b6c75a626256b6b0226637e15693
fixed dynamic leveldb loading
After changing the default, some of the library finding code got removed and broke leveldb. Now calling that again. ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entr...
diff --git a/storage/src/main/java/tech/pegasys/teku/storage/server/DatabaseVersion.java b/storage/src/main/java/tech/pegasys/teku/storage/server/DatabaseVersion.java index c629a75d58d..e901a153fb3 100644 --- a/storage/src/main/java/tech/pegasys/teku/storage/server/DatabaseVersion.java +++ b/storage/src/main/java/tech/...
1
1
0
[{"id": "G0", "claim": "The isLevelDbSupported/isRocksDbSupported functions should be renamed to make clear that they are responsible for loading the native libraries.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10265
Consensys/teku
10,265
defect
7742ae2f9b050cf4dc1c0fd5180d5c6200e5c5f6
0f5c116ffc1dd9130b71c6c13fd2a375688cd965
Update earliest available data column slot after pruning
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description This PR fixes the issue where we would prune the data columns and not update the earliest available slot. ## Fixed Issue(s) <!-- Ple...
diff --git a/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java b/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/DatabaseTest.java index 6525064b6ec..127ac3e590b 100644 --- a/storage/src/integration-test/java/tech/pegasys/teku/storage/server/kvstore/...
1
1
1
[{"id": "G0", "claim": "The test verifyDataColumnSidecarsPruningSetsDbVariable checks the scan-based getEarliestDataColumnSidecarSlot() instead of the stored-variable getter getEarliestAvailableDataColumnSlot(), so it would pass without verifying that pruning sets the stored variable.", "category": "testing", "verdict"...
null
Consensys__teku__10268
Consensys/teku
10,268
defect
43409571b293a112a8bd178ff436f66fc4c842f8
4ce326eb8a0427f67f1575c9908ee092f2a806c6
Close decoder on dropped incoming RPC requests
When an RPC stream is closed abnormally (peer disconnect, timeout, abort), the `Eth2IncomingRequestHandler.closed()` callback was empty and didn't clean up the decoder's internal buffers. note that `responseDecoder.close();` seems to be called in `Eth2OutgoingRequestHandler::abortRequest` ## Documentation - [ ...
diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2IncomingRequestHandler.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/core/Eth2IncomingRequestHandler.java index c4041951c13..41b5c0d2d0c 100644 --- a/networking/eth2/src/main/java/tech/pegasys/teku/net...
1
1
0
[{"id": "G0", "claim": "The test method name shouldReleaseBuffersWhenStreamClosedWithoutAnyData is confusing — the test does not check buffers, so it should be renamed (the author proposed renaming Stream to handler).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10277
Consensys/teku
10,277
defect
b0eaaa4cc1e96aed542a7cc0f91c328511f4d8eb
c1bcbd5e753eb5b22918f960710e30add64b1e89
Prefer peer with good response rate
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Just a very simple solution. It will loose status on peer disconnection. But it's simple and should work. Works well in my tests. ## ...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/SimpleSidecarRetriever.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/SimpleSidecarRetriever.java index 7bcec83e226..7dc91349ee1 100644 --- a/ethereum/statet...
5
4
2
[{"id": "G0", "claim": "The comparator logic is inverted: `Comparator.comparing(responseRate).reversed()` combined with `max(comparator)` selects the peer with the lowest response rate instead of the highest.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
Consensys__teku__10279
Consensys/teku
10,279
defect
633528c69d96adef0c9f401ed28025cc5979dbbe
7b17e418abcf9fe57e70b08a30ca18ac13f40fca
Partition sidecar byRoot batches depending on max blobs
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Sidecar size depends on the number of blobs. We cannot say exactly the number without the block and commitments number but we could expe...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/DataColumnReqRespBatchingImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/DataColumnReqRespBatchingImpl.java index af7e9d56d9e..62d1382b3d3 100644 --- a/e...
2
1
0
[{"id": "G0", "claim": "getMaxBlobsForRequests uses nodeRequests.getLast() on a queue-polling-ordered list instead of the highest slot, so batch size calculation may use an arbitrary slot rather than the highest slot when requests span slots with different max blob configurations.", "category": "correctness", "verdict"...
null
Consensys__teku__10280
Consensys/teku
10,280
defect
633528c69d96adef0c9f401ed28025cc5979dbbe
141ef86674ab31a41b156e0e925425e89ef3f9ee
removed original recovering sidecar retriever
- Cleaned up RecoveringSidecarRetriever - Messages were too verbose from `DataColumnSamplingTracker` in AT, so put to trace - Fixed acceptance tests. - added library fn to set debug level only on the classes we need extra info on, which greatly reduces noise on the tests. fixes #10237 ## Documentation ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 01ab03fe346..068cfeeec4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ## Unreleased Changes ### Breaking Changes + - Removed development cli arg `--Xp2p-reworked-sidecar-recovery-enabled`. ### Additions and Improvements diff --git a/acceptance-test...
4
2
0
[{"id": "G0", "claim": "The acceptance test sets the RebuildColumnsTask log level to DEBUG via the REST API only after the node has started, so if the rebuild completes before setLogLevel is called the DEBUG messages are never emitted and waitForLogMessageContaining times out.", "category": "correctness", "verdict": "o...
null
Consensys__teku__10296
Consensys/teku
10,296
defect
c604272569291cbdb053f2e8b988bbbf1502ebb8
b09e3a419886f90416a5d8436c9a1b85c2ccc312
Add completed slots cache in recovering custody
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description We had documented cases when sidecars are submitted to recovering custody for 2 times in a row. For example with failed sync batch submi...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DataColumnSidecarRecoveringCustodyImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DataColumnSidecarRecoveringCustodyImpl.java index ee3b420003a..65249df185c 100644 --- a/eth...
1
1
0
[{"id": "G0", "claim": "Since `ConcurrentSkipListSet.size()` is O(n) and pruning runs only here, non-concurrently, the size should be read once and the overshoot computed, with removeFirst called that many times, instead of calling size() on every loop iteration.", "category": "performance", "verdict": "supported", "pr...
null
Consensys__teku__10304
Consensys/teku
10,304
defect
00761c527252fe61ebb3c5bf1eb7f301ac745c48
5bec32e08f81016b2b27e00f0eae0395ca5795e8
Enable gossip during optimistic sync for data columns
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description This PR uses the flag `subscribedToAllCustodySubnetsEnabled` to reflect whether gossip should be enabled during optimistic sync. ## F...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DataColumnSidecarManagerImpl.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DataColumnSidecarManagerImpl.java index a243c79dfb4..d3ec7520f53 100644 --- a/ethereum/statetransitio...
5
4
1
[{"id": "G0", "claim": "The LOG.info(\"Received data column sidecar from GOSSIP\") statement is accidentally committed debugging that logs at INFO for every sidecar received via gossip and will generate log noise in production; sibling receive handlers use LOG.debug.", "category": "maintainability", "verdict": "support...
null
Consensys__teku__10307
Consensys/teku
10,307
defect
307aa35089b392b596e34d57727afca2ee80d1f0
9f8d4ab58b81fae38a7c3079bf30f42a3edf370a
added some test cases for exeucutionPayloadEnvelopesByRange onIncomingMessage
Should be a reasonable MVP set of unit tests, can expand if needed partially addresses #10301 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entry, and added one if ...
diff --git a/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java b/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java index a2ba9d33627..211c7da0503 100644 --- a/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java ...
8
6
4
[{"id": "G0", "claim": "The slot filtering condition isLessThanOrEqualTo(startSlot.plus(count)) returns one more item than requested; the filter needs isLessThan instead of isLessThanOrEqualTo to correctly return count items starting from startSlot.", "category": "correctness", "verdict": "supported", "priority": "P1",...
null
Consensys__teku__10327
Consensys/teku
10,327
defect
c8169f977624a5f98450653266e65a74cc68637b
a3ae8fc18bd5e941cf2422213916daca9a8a2a07
Fix attempt to download columns for blobs with no blobs
fixes a bug introduced in #10215 causing a the node to constantly trying to get columns that won't ever be able to retrieve ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I thought about adding a chan...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DasSamplerBasic.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/DasSamplerBasic.java index b7ec3427a1e..22dad9e1167 100644 --- a/ethereum/statetransition/src/main/java/tech/pegas...
1
1
1
[{"id": "G0", "claim": "hasBlobs() calls getOptionalBlobKzgCommitments().orElseThrow(), which throws NoSuchElementException for GLOAS-milestone blocks that return Optional.empty(), so onNewBlock crashes for any GLOAS block routed to the sampler by BlockEventsListenerRouter; other code paths explicitly skip GLOAS blocks...
null
Consensys__teku__10329
Consensys/teku
10,329
defect
81ccff94cbf3469851c74f17985edacdde650793
c766c76c72d30ac83ac1ca9638604a649c4d5562
Add DB version + storage mode labelled metric
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description It's free and we will be able to combine it with Teku version whenever we need it on Grafana dashboard ## Fixed Issue(s) <!-- Please...
diff --git a/storage/build.gradle b/storage/build.gradle index d828ed4c9b7..0838307be1a 100644 --- a/storage/build.gradle +++ b/storage/build.gradle @@ -17,6 +17,7 @@ dependencies { implementation project(':infrastructure:serviceutils') implementation project(':infrastructure:ssz') implementation project(':inf...
2
1
1
[{"id": "G0", "claim": "Because initDatabaseVersionMetrics() is called before the database-creation switch, an EphemeryException during creation followed by StorageService's retry calls createDatabase() again and increments the counter twice, so the metric shows 2 instead of 1 on Ephemery resets.", "category": "correct...
null
Consensys__teku__10331
Consensys/teku
10,331
defect
81ccff94cbf3469851c74f17985edacdde650793
66adc195325a053f04a123836f918c866fb3c262
Add DataColumnSidecarGossipManagerTest
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> <!-- Example: "fixes #2" --> ##...
diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/gossip/subnets/CommitteeSubnetSubscriptions.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/gossip/subnets/CommitteeSubnetSubscriptions.java index 40ca6fb1b33..f5eb5dc9df8 100644 --- a/networking/eth2/src/main/java/tech/...
4
2
2
[{"id": "G0", "claim": "The topicChannels map stays empty because the tests only call publish()/unsubscribe() without subscribing, so the forEach verify loops execute zero iterations and the tests pass trivially without verifying the intended behavior.", "category": "testing", "verdict": "supported", "priority": "P1", ...
null
Consensys__teku__10333
Consensys/teku
10,333
defect
81ccff94cbf3469851c74f17985edacdde650793
67946cc6a94dc444607c975100840c70c3f80ef8
Add DataColumnSidecarSelectorFactory test
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> <!-- Example: "fixes #2" --> ##...
diff --git a/data/provider/src/main/java/tech/pegasys/teku/api/datacolumnselector/DataColumnSidecarSelectorFactory.java b/data/provider/src/main/java/tech/pegasys/teku/api/datacolumnselector/DataColumnSidecarSelectorFactory.java index 2f1ac1f3c03..c069ce69cd5 100644 --- a/data/provider/src/main/java/tech/pegasys/teku/a...
6
6
3
[{"id": "G0", "claim": "The test method slotSelector_whenSelectingNonFinalizedBlockMetadataReturnsFinalizedFalse contains an identical duplicated mock setup for client.getDataColumnSidecars(block.getSlot(), indices), redundant copy-paste code that clutters the test.", "category": "maintainability", "verdict": "supporte...
null
Consensys__teku__10336
Consensys/teku
10,336
defect
a1bc195d8011492f72f93e6099144246647f25c9
ef33d97af3e453df048365ebd4445fd0413e3b87
Fix StatusMessageFactory::updateEarliestAvailableSlot
fixes #10245 ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Chang...
diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/StatusMessageFactory.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/rpc/beaconchain/methods/StatusMessageFactory.java index f8d4e07878e..415a3c91913 100644 --- a/networking/eth2/src/main/java/tec...
3
3
1
[{"id": "G0", "claim": "The public 3-argument constructor unconditionally calls MinCustodyPeriodSlotCalculator.createFromSpec(spec), which fails for pre-Fulu specs, breaking callers that previously worked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim...
null
Consensys__teku__10337
Consensys/teku
10,337
defect
8653a6cf17fcec907f8108eb1c0277435d082f52
1d35310802a2533c6c8e2f78003065d5212ce4d1
Fulu misc helpers property test
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Based on #10335 and requires it to be merged first Property tests with 10 tries instead of 100 are heavy on memory consumption, so I de...
diff --git a/ethereum/spec/src/property-test/java/tech/pegasys/teku/spec/datastructures/blobs/versions/fulu/CellPropertyTest.java b/ethereum/spec/src/property-test/java/tech/pegasys/teku/spec/datastructures/blobs/versions/fulu/CellPropertyTest.java new file mode 100644 index 00000000000..3ceb944d574 --- /dev/null +++ b...
6
3
2
[{"id": "G0", "claim": "The nested try-catch in computeCells double-wraps the JNI exception in KZGException with identical messages; it should use a single try-catch around only the JNI call, like computeCellsAndProofs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
Consensys__teku__10351
Consensys/teku
10,351
defect
bdf44e576c629e706b3095de94ca509b93da2580
e52a0f2112fc370f7fda9dc21da1d4cd9a03c28b
Optimize getIndexedAttestationFromSingleAttestation
related to: #9035 there is also an hot memory allocation path on `getIndexedAttestationFromSingleAttestation` ## Benchmark Comparison: `SszPrimitiveListSchemaImpl.createTreeFromElements()` Optimization ### UInt64 List (8 bytes/element, 4 elements/chunk) #### Throughput (ops/us) — higher is better | listS...
diff --git a/eth-benchmark-tests/src/jmh/java/tech/pegasys/teku/benchmarks/util/backing/PrimitiveListCreationBenchmark.java b/eth-benchmark-tests/src/jmh/java/tech/pegasys/teku/benchmarks/util/backing/PrimitiveListCreationBenchmark.java new file mode 100644 index 00000000000..1ea40a9b6bb --- /dev/null +++ b/eth-benchma...
1
1
0
[{"id": "G0", "claim": "The benchmark's local variables should probably be declared final.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Consensys__teku__10365
Consensys/teku
10,365
defect
f475f9d58673e15f76ca24f35ddc93e3ff875979
3b8962d9e86ca794e0b45a5deda2f5275fc310f0
Defaults TRUE faster block import when 50% of all sidecar columns ava…
…ilable on supernodes <!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Feature was implemented in #10248, I think we could activate it now by default. ## Fixed Issue(s) <!-- Plea...
diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/P2PConfig.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/P2PConfig.java index 0557316ca92..0fbb254ca3e 100644 --- a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/P2PConfig.java +++ b/networking/eth2/sr...
3
3
2
[{"id": "G0", "claim": "The Builder field columnsDataAvailabilityHalfCheckEnabled is hardcoded to false instead of referencing the new true default constant, so code building P2PConfig without explicitly enabling it still gets the old false default, undermining the intent of the change.", "category": "correctness", "ve...
null
Consensys__teku__10370
Consensys/teku
10,370
defect
7f5ae5824275063c3fb53139a669297b4829ca5b
0d733c7e491b4ace544eeeecb4d7ac01db0c3e4d
Fix recursive error in SidecarRetriever
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Fixes recursive error when we remove item from the map immediately when adding it. There was another fix, but it was not merged #10316 ...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/recovering/PendingRecoveryRequest.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/datacolumns/retriever/recovering/PendingRecoveryRequest.java index 380a022d14a..f54f6316efe 100644...
2
2
1
[{"id": "G0", "claim": "Because computeIfAbsent returns an existing PendingRecoveryRequest when the key is already present and start() has no idempotency guard, calling pendingRecoveryRequest.start() unconditionally can register duplicate callback chains on downloadFuture and future, causing double metric increments, d...
null
Consensys__teku__10376
Consensys/teku
10,376
defect
6fd5fd27fadb69289a80ca79ce13b65cb6177aec
de21e079f8d57992064f799fc47bf551e95def4a
Add getSignedExecutionPayloadEnvelope Beacon API
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description As per https://github.com/ethereum/beacon-APIs/blob/master/apis/beacon/execution_payload/envelope_get.yaml ## Fixed Issue(s) related...
diff --git a/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/paths/_eth_v1_beacon_execution_payload_envelope_{block_id}.json b/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/paths/_eth_v1_beacon_execution_payload_envelope_{block_id}.json...
5
3
2
[{"id": "G0", "claim": "GetExecutionPayloadEnvelope.java contains a second, stray copyright/license block (dated 2022) after the package declaration that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "ExecutionPayloadSelectorF...
null
Consensys__teku__10382
Consensys/teku
10,382
defect
e07d166925cddc1b1c769970953900e33d550aa1
52d842945424137d4a0d9f7a85ff029ce0a38b30
update GetDataColumnSidecars for Gloas
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Update the GetDataColumnSidecars API to handle Gloas new containers (no kzg commitments) Spec PR: https://github.com/ethereum/beacon-AP...
diff --git a/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/schema/DataColumnSidecarGloas.json b/data/beaconrestapi/src/integration-test/resources/tech/pegasys/teku/beaconrestapi/beacon/schema/DataColumnSidecarGloas.json new file mode 100644 index 00000000000..3617d7b0b1d --- /...
2
2
1
[{"id": "G0", "claim": "In the parameterized milestone test, DataColumnSidecarsAndMetaData is still created with SpecMilestone.FULU, so the GLOAS run asserts a response with version \"fulu\" (mirrored in getDataColumnSidecarsGLOAS.json) and the test no longer validates correct GLOAS version behavior.", "category": "tes...
null
Consensys__teku__10383
Consensys/teku
10,383
defect
9285227a2ba65823217421388856fb10a4ecd865
87e2f533ae30baea7fa7e0a93e8561d2fbd73c7c
[Gloas] Introduce new event streams
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Introduce three new event streams: - execution_payload_available - execution_payload_bid - payload_attestation_message Ref: http...
diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/events/DataColumnSidecarEvent.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/events/DataColumnSidecarEvent.java index f2b44a25980..67e75f6bfff 100644 --- a/data/beaconrestapi/src/main/java/tech...
1
1
0
[{"id": "G0", "claim": "validateAndAddBid performs validation and triggers events but returns a failed future with \"Not yet implemented\" instead of the actual validation result, so remote execution payload bids are treated as failures by the gossip handler even when validation succeeds.", "category": "correctness", "...
null
Consensys__teku__10386
Consensys/teku
10,386
defect
9b4b99b06888d5682947eb455fb357a8978a8b55
fc557a9dae1b1ca14e33375316b8804f29aa4db7
fixed getProposerDuties to be pre-fulu compatible
There's a new endpoint in ValidatorApiHandler that is called for dependent root compatibility. With this change, the dependent root computation on the `proposers/{epoch}` endpoint will be returning the same roots as pre-fulu. This is basically currentDependentRoot for current epoch, and HEAD root for next epoch. ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f224fb2f37..e71c14c29a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,4 +15,5 @@ ### Bug Fixes -- fixed an issue with dependent root calculation which was causing future epoch block proposal duties to be recalculated. \ No newline at end of file +- fixed an iss...
4
2
1
[{"id": "G0", "claim": "In getProposerDuties_shouldReturnDutiesForCurrentEpoch the test calls getProposerDuties(EPOCH, true) with isFuluCompatible = true on a post-FULU spec, and the production code would return the previous-duty dependent root while the assertion checks spec.getCurrentDutyDependentRoot(state), so the ...
null
Consensys__teku__10400
Consensys/teku
10,400
defect
51eb382ce058aa6c935ae5d04dc94f287ea5fcdc
4cd367eb5f138e061c0fa00c68fe185ba652a4b2
[Gloas] Fork choice fixes and acceptance test
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description similar approach to https://github.com/Consensys/teku/pull/10392 but fixing few other things, now we have few less failing fork choice r...
diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/FuluUpgradeAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/FuluUpgradeAcceptanceTest.java index 923d3b57d70..ad0adbd0061 100644 --- a/acceptance-tests/src/acceptance-test/java/tech/...
1
1
1
[{"id": "G0", "claim": "In isParentNodeFull_shouldThrowException_whenParentBlockNotFound the test calls forkChoiceUtil.getParentPayloadStatus(store, currentBlock) instead of forkChoiceUtil.isParentNodeFull(store, currentBlock) — a copy-paste error from the preceding getParentPayloadStatus test — leaving the isParentNod...
null
Consensys__teku__10401
Consensys/teku
10,401
defect
54bb6c93ea3acec82f2a589a76f32a4460dcb51e
e72a39372cf4dafd5fb1222c022b4da6c43b31a5
Fix inconsistency of synced custody group count
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Alternative to #10396. Should fix all potential cases when synced count was incorrect. Removed synced custody group count at all. We u...
diff --git a/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCustodyCountAcceptanceTest.java b/acceptance-tests/src/acceptance-test/java/tech/pegasys/teku/test/acceptance/das/DasCustodyCountAcceptanceTest.java index fe95080adf6..9d9187cd676 100644 --- a/acceptance-tests/src/acceptance...
5
4
1
[{"id": "G0", "claim": "doStart now defers the scheduledBackfiller assignment to an async callback, so if doStop runs before retrieveSyncedCustodyGroupCount completes, the not-yet-scheduled (and unsynchronized) scheduleBackfiller can create an orphaned periodic task that keeps running after the service is stopped.", "c...
null
Consensys__teku__10402
Consensys/teku
10,402
defect
51eb382ce058aa6c935ae5d04dc94f287ea5fcdc
44da504cd5f71f652d664b58a3df1e334716ac28
Add `getNodeVersion2` Beacon-API
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description This PR implements the `getNodeVersionV2` endpoint ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #...
diff --git a/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/v2/node/GetVersionV2IntegrationTest.java b/data/beaconrestapi/src/integration-test/java/tech/pegasys/teku/beaconrestapi/v2/node/GetVersionV2IntegrationTest.java new file mode 100644 index 00000000000..5209bad9d76 --- /dev/null +++...
10
10
4
[{"id": "G0", "claim": "ExecutionClientDataProvider need not use an AtomicReference for the execution client version; a plain Optional (volatile, as in GraffitiBuilder) would do.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The endpoint summary/descrip...
null
Consensys__teku__10422
Consensys/teku
10,422
defect
7665ce659df4c304dc45e7d33bdbf1237e6c490b
4e51b09794ad5a00e3b08120810446748e6e638a
[Gloas] Make devnet-0 happy
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description <img width="366" height="197" alt="image" src="https://github.com/user-attachments/assets/6f4842bb-95b3-4c9d-8cfe-439590de6d9f" /> It...
diff --git a/ethereum/executionlayer/src/main/java/tech/pegasys/teku/ethereum/executionlayer/MilestoneBasedEngineJsonRpcMethodsResolver.java b/ethereum/executionlayer/src/main/java/tech/pegasys/teku/ethereum/executionlayer/MilestoneBasedEngineJsonRpcMethodsResolver.java index ad8fcd447bf..9c95a3d11fc 100644 --- a/ether...
1
1
1
[{"id": "G0", "claim": "Changing gloasSupportedMethods() to use EngineGetPayloadV5 and EngineForkChoiceUpdatedV3 breaks GloasExecutionClientHandlerTest, whose mocks for getPayloadV6() and forkChoiceUpdatedV4() no longer match the routing, so both engineGetPayload_shouldCallGetPayloadV6 and engineForkChoiceUpdated_shoul...
null
Consensys__teku__10426
Consensys/teku
10,426
defect
54bb6c93ea3acec82f2a589a76f32a4460dcb51e
550e7c2e8f93b7989bac84bf5f16f1c0d0190024
Migrate `EventChannel` to virtual threads (feature flag)
## Summary Adds `--Xevent-channel-virtual-threads-enabled` hidden CLI flag to switch `EventChannel.createAsync()` from platform threads (`CachedThreadPool`) to virtual threads (`newThreadPerTaskExecutor`). The flag defaults to `false` (original platform thread behavior). When enabled, each async event channel...
diff --git a/beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/events/CoalescingChainHeadChannel.java b/beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/events/CoalescingChainHeadChannel.java index 65e15927e2b..163ad59c388 100644 --- a/beacon/sync/src/main/java/tech/pegasys/teku/beacon/sync/events/Coalesci...
1
1
0
[{"id": "G0", "claim": "If the PR keeps manual ReentrantLock locking, the lock should be wrapped to implement AutoCloseable so the try-with-resources pattern can be used instead of explicit lock()/finally unlock() calls.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10429
Consensys/teku
10,429
defect
4e29d2c0239b6a4af716a11278ea07a476ab2e92
ba1335171617034fbefd989f5809140bfa865434
update data column sidecars by range RPC for Gloas
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Update data column sidecars by RPC for Gloas ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue n...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/helpers/MiscHelpers.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/helpers/MiscHelpers.java index 89d3b6afe54..c98a9bddc9b 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/common/helpers/MiscHelpers...
2
2
2
[{"id": "G0", "claim": "Calling spec.atSlot(request.getMaxSlot()).miscHelpers().getMaxRequestDataColumnSidecars() throws UnsupportedOperationException for a pre-Fulu max slot (triggerable by a peer sending a low startSlot), producing an unexpected error response with incorrect metrics labeling and ERROR-level logging i...
null
Consensys__teku__10431
Consensys/teku
10,431
defect
a8b6ba3b6683901ed1597e2382ae1dda7d3deba8
8a89a68629ee206864ad24cfa019364b10b66e78
batch signature verification on pending attestation processing
While experimenting Virtual Threads, I did a thread dump showing a potentially pinning flow for ReceivedBlockEventsChannel ``` "ForkJoinPool-1-worker-5" #101 [55315] daemon prio=5 os_prio=31 cpu=9361.29ms elapsed=94.06s tid=0x0000000ad1ef1800 [0x0000000176ed2000] Carrying virtual thread #122 at jdk.in...
diff --git a/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java b/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java index 37bdd7a00f6..8b79aeceb00 100644 --- a/eth-reference-tests/src/ref...
3
2
2
[{"id": "G0", "claim": "A `System.out.println` debug statement and an unbounded `PROCESSED_PENDING_ATTESTATIONS` counter were left in `onBlockImported`, writing noisy unstructured stdout on every pending attestation processed after a block import in a production client that uses log4j everywhere else.", "category": "ma...
null
Consensys__teku__10432
Consensys/teku
10,432
defect
a0ddcf80d2b7db8c9852dd522fc46dfa1e8860e7
78d2a6104a3569498a69c2cc415a25e3cc72e1d7
Added gloas validations to GetAttestationData
in the case where the api doesn't set committee index, we've not got a clear path currently, for now we'll pass 0 down but this will likely eventually need to pass the optional through. fixes #10404 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if upd...
diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/validator/GetAttestationData.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/validator/GetAttestationData.java index a0ebc3e63b2..f543785059b 100644 --- a/data/beaconrestapi/src/main/java/tech/p...
2
1
0
[{"id": "G0", "claim": "The stub's getOptionalQueryParameter (with the new containsKey guard) seems to behave differently from the real RestApiRequest interface implementation.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer dislikes the `co...
null
Consensys__teku__10440
Consensys/teku
10,440
defect
bb7b8401c303580c0fccc000dccf2823a9f4c65c
af43e3e8bcd958503434348af215d91582e1600b
[Gloas] Cache early received payload for future processing
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Cache a payload that we have received earlier than a block so we can process it once the block has been processed. Also fixed one TOD...
diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/datastructures/epbs/BlockRootAndBuilderIndex.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/datastructures/epbs/BlockRootAndBuilderIndex.java new file mode 100644 index 000000000000..31699a5db3b1 --- /dev/null +++ b/ethereum/spec/src/main/java/t...
3
2
1
[{"id": "G0", "claim": "The filter(containsKey) before map(remove) is a non-atomic compound check-then-remove on the synchronized map that can silently lose a cached payload under concurrent LRU eviction, and the filter is redundant since remove() returning null already maps to Optional.empty() — use just .map(remove)....
null
Consensys__teku__10441
Consensys/teku
10,441
defect
3357ec7008cd72d91ff22773109926fb4dfc9497
2484ef51b7c066fc3ff0223d36ee14adaf856b58
Implemented PostPtcDuties api endpoint
fixes #10405 ## Documentation - [X] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [X] I thought about adding a changelog entry, and added one if I deemed necessary. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Intro...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a31b2adf4e..f3f409bb7b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Additions and Improvements +- Implemented PostPtcDuties rest api endpoint (gloas api). - Added `/eth/v2/node/version` endpoint to retrieve structured version information for b...
2
2
1
[{"id": "G0", "claim": "The Java handler's OpenAPI description is missing the '(of > MIN_SEED_LOOKAHEAD epochs)' clause and the 'event.current_duty_dependent_root when compute_epoch_at_slot(event.slot) + 1 == epoch' bullet that the golden file includes, so the exact-JSON comparison in OpenApiIntegrationTest will fail."...
null
Consensys__teku__10442
Consensys/teku
10,442
defect
589a25a6995e4a72a068382a1dd4a3fcb766d789
236914746d7c55af7e3ab3fdc9a67fccc542a7a1
update data column by range test for gloas
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Update the `ChainBuilder` to handle Gloas data column sidecars Update data column by root and by range RPC tests ## Fixed Issue(s) ...
diff --git a/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java b/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java index 9626c0c08b3..50b1f322c6e 100644 --- a/ethereum/spec/src/testFixtures/java/tech/pegasys/teku/spec/generator/ChainBuilder.java ...
5
5
2
[{"id": "G0", "claim": "The requestDataColumnSidecars_shouldReturnDataColumnSidecars by-root test generates blocks in peerStorage but never saves them to localPeerStorage, so for Gloas the validating proxy's block lookup against local storage returns empty and the request fails with DATA_COLUMN_SIDECAR_KZG_VERIFICATION...
null
Consensys__teku__10444
Consensys/teku
10,444
defect
387d95a343830006df79d200718f1e6c4f268c30
c14ef43c4b6b193f914b9e352630c8e61847df67
Throttling columns by root rpc
This PR makes the column by root handler retrieving columns from the throttling combinedChainDataClient. It restructures the handler so that slot lookup is done only once per DataColumnsByRootIdentifier. Added a tiny cache to overcome the lost cache from DataColumnSidecarByRootCustody Other simplifications too. ...
diff --git a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/Eth2P2PNetworkBuilder.java b/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/Eth2P2PNetworkBuilder.java index 4675622d400..0ef137d5250 100644 --- a/networking/eth2/src/main/java/tech/pegasys/teku/networking/eth2/Eth2P2PNetworkB...
3
3
0
[{"id": "G0", "claim": "Consider pre-filtering each byRootIdentifier to those with at least one requested column in myCustodyColumns (or short-circuiting when the filtered column list is empty) so resolveBlockRootSlot and the subsequent min-epoch validation are not executed for requests that can never be served.", "cat...
null
Consensys__teku__10446
Consensys/teku
10,446
defect
ca26a4bd9faf2b0106b4fbda5f12eaab5699efa5
4ee2b6c53f58e4707c6d2da3007bdf5299e819f5
Do not recompute custody and sampling indices
Avoids custody\sampling requirement recreation at each call Changes types to be a Set to have fast lookups Implement atomic changes when custody changes ## Documentation - [ ] I thought about documentation and added the `doc-change-required` label to this PR if updates are required. ## Changelog - [ ] I...
diff --git a/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/publisher/BlockPublisherFuluTest.java b/beacon/validator/src/test/java/tech/pegasys/teku/validator/coordinator/publisher/BlockPublisherFuluTest.java index d7d456dfa20..e1c73356c01 100644 --- a/beacon/validator/src/test/java/tech/pegasys...
3
2
1
[{"id": "G0", "claim": "zilm13 asks tbenr to add a test verifying that both the sampling and the custody indices are in ascending order (every next greater than previous), ideally as a ParameterizedTest over different custody counts.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduce...
null
Consensys__teku__10450
Consensys/teku
10,450
defect
22a2e385629ee43d147b8425b1bd4a16c9f38fed
84736d6438b2b27f18d977348c7b7f800e777868
run integration tests in matrices
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description - Use the matrix template for integration tests - Move `ValidatorApiHandlerIntegrationTest` under `integration-test` (was under `integr...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6db476c96b2..37e24d9f3e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -290,37 +290,41 @@ jobs: integrationTests: needs: assemble - runs-on: gha-runner-scale-set-ubuntu-22.04-amd64-xxl + uses: ./.github/work...
1
1
1
[{"id": "G0", "claim": "The newly added @AfterEach tearDown calls storageSystem.close() on the original storage system whose database was already closed by restarted() in queryBySlot_preForkChoice, so if database close() is not idempotent the double-close could throw and mask test results.", "category": "correctness", ...
null
Consensys__teku__10454
Consensys/teku
10,454
defect
22a2e385629ee43d147b8425b1bd4a16c9f38fed
1ffd0a5234ef535ab18095b75c3d13ddf8012427
CombinedChainDataClient "slot by block root" method
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Implementation + tests. Usage will come in separate PR. We need it for `DataColumnSidecarsByRootMessageHandler` for example and probably...
diff --git a/storage/api/src/main/java/tech/pegasys/teku/storage/api/StorageQueryChannel.java b/storage/api/src/main/java/tech/pegasys/teku/storage/api/StorageQueryChannel.java index 1a0bae8adcc..19ed92f4fbc 100644 --- a/storage/api/src/main/java/tech/pegasys/teku/storage/api/StorageQueryChannel.java +++ b/storage/api/...
2
2
1
[{"id": "G0", "claim": "tbenr questions whether returning non-canonical data from finalized slots is ever wanted and suggests gating it behind a boolean flag such as resolveNonCanonicalFinalizedSlots, which would be false for by-root RPC requests, unless a concrete use case (e.g. restAPI) exists.", "category": "design"...
null
Consensys__teku__10463
Consensys/teku
10,463
defect
9cae616b74977da9672f7ef31539b1c54617f273
85f5ecab9c814d1409ad97ef62dcbc8a54ccbfbf
Implement `GET` `exceution_payload_bid`
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description This PR implements the `GET` `execution_payload_bid`. Currently, it only implements `NOT_IMPLEMENTED`. ## Fixed Issue(s) <!-- Plea...
diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiTypes.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiTypes.java index 3ad48d1feaa..081626fe893 100644 --- a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/BeaconRestApiTypes...
1
1
0
[{"id": "G0", "claim": "The unused constructor parameters (DataProvider provider; previously also Spec spec) should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10465
Consensys/teku
10,465
defect
9cae616b74977da9672f7ef31539b1c54617f273
aaea6b808b6bfd58d298caebb7d0d3d4d9765618
Add GET /eth/v1/beacon/pool/payload_attestations endpoint
## Description Implements the GET /eth/v1/beacon/pool/payload_attestations endpoint that returns all PayloadAttestationMessage objects currently in the beacon node's operation pool. Part of #9997 — Closes #10408 ## Changes ### Pool Layer - PayloadAttestationPool — Added getPayloadAttestationMessages() to i...
diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/addon/GloasRestApiBuilderAddon.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/addon/GloasRestApiBuilderAddon.java index 4818fcc642f..538cf0cb008 100644 --- a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconre...
3
2
2
[{"id": "G0", "claim": "The reviewer flags that payload_attestations looks like a POST that expects a request body per the beacon-APIs spec, asking whether a different endpoint than this GET was meant to be implemented.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": ...
null
Consensys__teku__10467
Consensys/teku
10,467
defect
325041f690068b2ed5edf7d985315b3084a35210
3c836941576362332295fdb4196c00f0d5319b77
add proposer preferences container
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add proposer preferences container/schema Enable reference tests for proposer preferences ## Fixed Issue(s) <!-- Please link to fix...
diff --git a/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/ssz_static/SszTestExecutor.java b/eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/ssz_static/SszTestExecutor.java index 0c2c3d2779a..ac217818409 100644 --- a/eth-reference-tests/src/referenceTest/jav...
1
1
0
[{"id": "G0", "claim": "The parameter 'schemaRegistry' of the ProposerPreferencesSchema constructor is never used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Consensys__teku__10469
Consensys/teku
10,469
defect
325041f690068b2ed5edf7d985315b3084a35210
5f9e21012097934d3ec36baf1f30d9d841a0a8fa
Engine api optimizations
(same as https://github.com/Consensys/teku/pull/10457) ## PR Description This PR optimises the deserialization of some Engine API requests. Most requests to return blobs return large hex strings as the data's byte representation, so they require some extra care on deserialization to avoid unnecessary overhead. ...
diff --git a/eth-benchmark-tests/build.gradle b/eth-benchmark-tests/build.gradle index 8f2fadf6809..8a645ff8351 100644 --- a/eth-benchmark-tests/build.gradle +++ b/eth-benchmark-tests/build.gradle @@ -19,8 +19,10 @@ dependencies { implementation 'io.consensys.tuweni:tuweni-bytes' + jmhImplementation project(':e...
3
2
2
[{"id": "G0", "claim": "When the low nibble (chars[pos+1]) is the invalid hex character while the high nibble is valid, parseHex's error message always reports chars[pos] and position pos, displaying the valid character instead of the invalid one.", "category": "correctness", "verdict": "supported", "priority": "P1", "...
null
Consensys__teku__10470
Consensys/teku
10,470
defect
545c3f7b265bcd6e7b8420e0d099bff1106d7801
c953730ef951304981e456ce89fd02f0494cf795
Add option to enable blobdb on RocksDB
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> --> <!-- Example: "fixes #2" --> ##...
diff --git a/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java b/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java index 547641bcba3..1f9b6cf0e65 100644 --- a/storage/src/main/java/tech/pegasys/teku/storage/server/StorageConfiguration.java +++ b/storage/src/...
5
3
2
[{"id": "G0", "claim": "columnFamilyOptionsWithBlobDb is assigned as a direct reference to the shared columnFamilyOptions, so the blob setters mutate that shared object in place and BlobDB ends up enabled for all subsequent column families, defeating the containsStaticData filter.", "category": "correctness", "verdict"...
null
Consensys__teku__10472
Consensys/teku
10,472
defect
f5c963b99f9ea70192a1535d728db5a22c218065
87e9e6b2eb5d6df91828db9a1e028b48ae46e378
10259 proposer preferences gossip
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Add proposer preferences gossip layer ## Fixed Issue(s) <!-- Please link to fixed issue(s) here using format: fixes #<issue number> ...
diff --git a/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/validation/GossipValidationHelper.java b/ethereum/statetransition/src/main/java/tech/pegasys/teku/statetransition/validation/GossipValidationHelper.java index f9856848a76..9254a1b291a 100644 --- a/ethereum/statetransition/src/main/jav...
5
4
0
[{"id": "G0", "claim": "The isSlotInNextEpoch implementation does too many epoch computations and would likely be cleaner computing the next epoch via current slot, incrementing and applying a slots-per-epoch modulus.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"i...
null
Consensys__teku__10476
Consensys/teku
10,476
defect
4499115f4ae7accf59b6f14528a3ea91d7e7ec90
6aec6820bdf81efaecb201c52bf3c7d7ad9219f4
Execution payload bid API
<!-- Thanks for sending a pull request! Please check out our contribution guidelines: --> <!-- https://github.com/Consensys/teku/blob/master/CONTRIBUTING.md --> ## PR Description Adds execution payload bid endpoint to the validator api handle for GLOAS exclusively. ## Fixed Issue(s) <!-- Please link to fixed i...
diff --git a/beacon/validator/src/integration-test/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java b/beacon/validator/src/integration-test/java/tech/pegasys/teku/validator/coordinator/ValidatorApiHandlerIntegrationTest.java index 2ce14102faf..d9695309e76 100644 --- a/beacon/validato...
1
1
0
[{"id": "G0", "claim": "The executionPayloadBidManager fields added by this PR in ValidatorApiHandlerIntegrationTest (as a mock) and AbstractDataBackedRestAPIIntegrationTest (as NOOP) are never referenced anywhere, making them dead code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"...
null