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
OffchainLabs__nitro__4193
OffchainLabs/nitro
4,193
defect
02566fc1f4e72e71f52dc08f79ce15f36b535f6a
7c850844f041524cbf3d460ed509e443e3dff12a
Increase Stylus smart contract size limit via merge-on-activate
Fixes NIT-4374 https://linear.app/offchain-labs/project/increase-stylus-smart-contract-size-limit-via-merge-on-activate-e809a493a62b/overview Pulls in https://github.com/OffchainLabs/go-ethereum/pull/605 Pulls in https://github.com/OffchainLabs/nitro-precompile-interfaces/pull/27
diff --git a/arbcompress/native.go b/arbcompress/native.go index 6538bfa1cc5..0cfa8785652 100644 --- a/arbcompress/native.go +++ b/arbcompress/native.go @@ -41,7 +41,7 @@ func Compress(input []byte, level uint32, dictionary Dictionary) ([]byte, error) status := C.brotli_compress(inbuf, outbuf, C.Dictionary(dictiona...
10
8
3
[{"id": "G0", "claim": "For ArbOS versions below StylusContractLimit, MaxFragmentCount should be read as 0 rather than defaulting to initialMaxFragmentCount, which is only a sensible default from that version on.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
OffchainLabs__nitro__4198
OffchainLabs/nitro
4,198
defect
02566fc1f4e72e71f52dc08f79ce15f36b535f6a
d7aa9fcef11f28abe396f321d9e139901dd246e7
[MEL] - Implement a Transaction and Receipt Recorder for MEL Validation
This PR introduces recorder structs to record preimages for transactions and receipts needed for MEL validation. Resolves NIT-4254 Resolves NIT-4263
diff --git a/arbnode/mel/recording/receipt_recorder.go b/arbnode/mel/recording/receipt_recorder.go new file mode 100644 index 00000000000..c9d71554e70 --- /dev/null +++ b/arbnode/mel/recording/receipt_recorder.go @@ -0,0 +1,150 @@ +package melrecording + +import ( + "context" + "errors" + "fmt" + + "github.com/ethereum...
5
3
0
[{"id": "G0", "claim": "The new recorder types and constructors should carry code comments documenting what they do, who should use them, and why Initialize must be called before the other methods.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
OffchainLabs__nitro__4235
OffchainLabs/nitro
4,235
defect
03e22df79fa1c68361f7e51e3812385ea1d06803
237009040ab2e736492d0abeca8df97ce5b447a5
Add hashed address filter
Close NIT-4299 Waits: https://github.com/OffchainLabs/nitro/pull/4234 Changes: - [x] Implement AddressChecker interface with NewHashedAddressChecker, using HashStore from https://github.com/OffchainLabs/nitro/pull/4234 - [x] Enable NewHashedAddressChecker if service and assign it to execution
diff --git a/addressfilter/address_checker.go b/addressfilter/address_checker.go new file mode 100644 index 00000000000..9577788bbb6 --- /dev/null +++ b/addressfilter/address_checker.go @@ -0,0 +1,108 @@ +// Copyright 2026, Offchain Labs, Inc. +// For license information, see https://github.com/OffchainLabs/nitro/blob/...
7
5
2
[{"id": "G0", "claim": "The restrictedAddr* constant names could be prefixed with \"default\" to make them clearer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The queue-full path fails open by dropping the check, which can allow false negati...
null
OffchainLabs__nitro__4245
OffchainLabs/nitro
4,245
defect
d323dfd3ffb28ca162537428a30ff1ed6722d283
ff7164f1c4258c7309f406c0c45b74a5d5d477d0
AltDA: Code quality improvements
This PR solves NIT-4274 - a collective task of minor code quality issues reported by TOB auditors: 1. e6554885e526088be383ecce6277702187552ad8: - don't start an error message with capital letter - be specific about the proof enhancer in the error message; now the messages in https://github.com/OffchainLabs/nit...
diff --git a/changelog/pmikolajczyk-nit-4274.md b/changelog/pmikolajczyk-nit-4274.md new file mode 100644 index 00000000000..650052491b9 --- /dev/null +++ b/changelog/pmikolajczyk-nit-4274.md @@ -0,0 +1,2 @@ +### Ignored +- Code quality improvements to custom proof enhancers \ No newline at end of file diff --git a/val...
1
1
0
[{"id": "G0", "claim": "The copyright headers this PR adds to proof_enhancer.go and validatecertificate_proof_enhancer.go contain the typo \"20255\" and should read \"2025\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__nitro__4261
OffchainLabs/nitro
4,261
defect
39386acddbd13044d479d33f40c8eb7b7506e435
5759dd704aa4f440e650aeda6146a4673760ea68
Add automated prestate tracer check
Add automated prestate tracer check for tests. Such check makes sure results returned by `debug_traceBlockByNumber` match the actual state on chain. Introduce a new function `AutomatedPrestateTracerTest` where it calls `debug_traceBlockByNumber` for each block number up to latest block number of running chain and co...
diff --git a/arbos/arbosState/arbosstate.go b/arbos/arbosState/arbosstate.go index 1503d9faf5f..6b446bcca7f 100644 --- a/arbos/arbosState/arbosstate.go +++ b/arbos/arbosState/arbosstate.go @@ -13,6 +13,7 @@ import ( "github.com/ethereum/go-ethereum/core/rawdb" "github.com/ethereum/go-ethereum/core/state" "github....
3
3
1
[{"id": "G0", "claim": "The changelog entry should be under a `### Fixed` section (with the tracer-addresses note above it) instead of `### Added`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out call `// AutomatedPrestateTracerTe...
null
OffchainLabs__nitro__4271
OffchainLabs/nitro
4,271
defect
f21a9292b6ae92797627426e6a43e7c137e09835
b806332605a56cf32d8149ed7f6f86b8283f0f69
Configurable event filterer
Fixes NIT-4250 and NIT-4251 In this PR: - Added event filter module with filter rules engine\ - Configuration for event filter rules - Event filter invoked in sequencer's postTxFilter and
diff --git a/arbos/eventfilter/filterevents.go b/arbos/eventfilter/filterevents.go new file mode 100644 index 00000000000..782fa2d1e5b --- /dev/null +++ b/arbos/eventfilter/filterevents.go @@ -0,0 +1,176 @@ +// Copyright 2026, Offchain Labs, Inc. +// For license information, see https://github.com/OffchainLabs/nitro/bl...
5
5
2
[{"id": "G0", "claim": "The event signature supplied in the config should be parsed with abi.ParseSelector and converted to canonical form instead of hashing the string as entered, and operators should also enter the 4-byte selector as a separate config field as a sanity check, because a non-canonical or mistyped signa...
null
OffchainLabs__nitro__4294
OffchainLabs/nitro
4,294
defect
d6bcdc78ae5e97f2db37e51adb86fe0aeb44aac8
04ecb8ad0ee25ea062b2b66a2e67848184e99475
Sequencer calls cmd/transaction-filterer
Resolves NIT-4252 Sequencer calls cmd/transaction-filterer to filter delayed transaction. Attention to the base branch.
diff --git a/arbnode/delayed_seq_reorg_test.go b/arbnode/delayed_seq_reorg_test.go index d205892a04e..2fa3877677d 100644 --- a/arbnode/delayed_seq_reorg_test.go +++ b/arbnode/delayed_seq_reorg_test.go @@ -25,7 +25,8 @@ func TestSequencerReorgFromDelayed(t *testing.T) { err = streamer.Start(ctx) Require(t, err) - ...
14
10
5
[{"id": "G0", "claim": "The new TransactionFiltererRPCClient never explicitly stops its StopWaiter or closes the client, so add a StopAndWait to do so (ConsensusRPCClient has the same issue).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Injecting ...
null
OffchainLabs__nitro__4311
OffchainLabs/nitro
4,311
defect
3ee79a8447f3f79d1550c65298de1b09ba18311c
0723e7b2711b06285175f5d9bbf1767d7501a031
Add S3 custom endpoint support for MinIO/localstack compatibility
This enables local testing of S3-dependent features with MinIO or other S3-compatible services by adding an endpoint configuration option. Introduces a base s3client.Config struct with common S3 connection fields (AccessKey, SecretKey, Region, Endpoint, Bucket) and helper functions. The s3syncer, anytrust, and timeb...
diff --git a/addressfilter/service_test.go b/addressfilter/service_test.go index 0e84d600fd9..23e801af7f9 100644 --- a/addressfilter/service_test.go +++ b/addressfilter/service_test.go @@ -13,6 +13,7 @@ import ( "github.com/ethereum/go-ethereum/common" + "github.com/offchainlabs/nitro/util/s3client" "github.com...
2
2
1
[{"id": "G0", "claim": "The changelog should list the new CLI configs created here under a `### Configuration` section, specifically the `endpoint` config.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Embedding s3client.Config without a struct t...
null
OffchainLabs__nitro__4340
OffchainLabs/nitro
4,340
defect
68e4e17da0119cd908c71d8cc55d634073711b37
925624b5aadd474c6506d017c40b942c908bf479
Add benchmarks to L2-Pricing model
The benchmarks can be run with: go test -bench=. -run=^$ ./arbos/l2pricing Here are the results running in my machine: goos: darwin goarch: arm64 pkg: github.com/offchainlabs/nitro/arbos/l2pricing cpu: Apple M3 Pro BenchmarkUpdatePricing_Legacy-12 1363144 ...
diff --git a/arbos/l2pricing/model_test.go b/arbos/l2pricing/model_test.go index 5c96e5a9fc8..165f082fcea 100644 --- a/arbos/l2pricing/model_test.go +++ b/arbos/l2pricing/model_test.go @@ -12,6 +12,8 @@ import ( "github.com/ethereum/go-ethereum/arbitrum/multigas" "github.com/ethereum/go-ethereum/params" + "github...
2
2
1
[{"id": "G0", "claim": "The duplicated resource-weight loop in the benchmark functions could be refactored into a helper, e.g. allResourceWeights.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In case of error the benchmark setup would continue...
null
OffchainLabs__nitro__4360
OffchainLabs/nitro
4,360
defect
8ad11cfcbb2768baba718cb5bc22982dbb1ef8d7
7af8d5bfa7efdd6eb3e814310e963c1dd33e2be7
Handle roll backs in MELValidator and BlockValidator
This PR adds required code to handle the rollbacks in MEL and Block validators during a reorg (L1 or L2 or both). Whenever a reorg is detected MELValidator (if) is rollbacked first and then the BlockValidator (if). Resolves NIT-4480
diff --git a/arbnode/mel/runner/fsm.go b/arbnode/mel/runner/fsm.go index 2d5825b7ca8..f8d99d49ab0 100644 --- a/arbnode/mel/runner/fsm.go +++ b/arbnode/mel/runner/fsm.go @@ -47,7 +47,8 @@ type backToStart struct{} // An action that transitions the FSM to the processing next block state. type processNextBlock struct ...
2
1
1
[{"id": "G0", "claim": "The reviewer asks for confirmation that the parentChainBlockNumber parameter of the new Rewind method is the parent-chain block number to rewind to.", "category": "documentation", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Having ReorgTo call the MEL v...
null
OffchainLabs__nitro__4424
OffchainLabs/nitro
4,424
defect
02a590530cffa9a1f79ab8f692d66582b2ec4371
c94fac8e4049a93f0fb7ad4a8942761163592910
[MEL] - Add MEL Metrics and L3 System Test Support
Resolves NIT-4537 This PR checks that message extraction works properly on L3s using the L3 simple system test, and it also enables MEL in the Nitro testnode submodule by default Depends on #4421
diff --git a/arbnode/mel/runner/database.go b/arbnode/mel/runner/database.go index 82858e01587..b4df3900f68 100644 --- a/arbnode/mel/runner/database.go +++ b/arbnode/mel/runner/database.go @@ -52,6 +52,7 @@ func (d *Database) setMelState(batch ethdb.KeyValueWriter, parentChainBlockNumbe if err != nil { return err ...
8
8
3
[{"id": "G0", "claim": "Prometheus counters should carry the \"_total\" suffix to differentiate them from gauges, and the new counters in this PR should use it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting --log-extraction-status-frequ...
null
OffchainLabs__nitro__4428
OffchainLabs/nitro
4,428
defect
26d4dc21f9597fcc345c5ff1eb3355eb7444cae4
9869061db6e4acf8aaeae5b19a0608fc842df653
Replace TransactionFiltererAPI mutex with a channel
Fixes NIT-4499 Address https://github.com/OffchainLabs/nitro/pull/4294#discussion_r2785389508
diff --git a/changelog/mrogachev-nit-4499.md b/changelog/mrogachev-nit-4499.md new file mode 100644 index 00000000000..345b7c2877b --- /dev/null +++ b/changelog/mrogachev-nit-4499.md @@ -0,0 +1,2 @@ +### Internal +- Replace TransactionFiltererAPI mutex with a channel diff --git a/cmd/transaction-filterer/api/api.go b/c...
7
7
3
[{"id": "G0", "claim": "The blocking send in SetSequencerClient should also select on ctx.Done so it can be canceled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A closure enqueued by Filter can still execute later after the caller's context is c...
null
OffchainLabs__nitro__4434
OffchainLabs/nitro
4,434
defect
0dc060571a1b450a24b04688908f18ba28826584
ef89caa6364756faed2de08272397c75ea36d45e
Coordinate the Block and MEL Validators
This PR adds the required wiring for MEL validator to be started and used by node and block-validator. It also makes it that block validator sets the target block number for MEL validator up to which the MEL validator will validate message extraction. [Pending adding a system test with reorg handling by validators] ...
diff --git a/arbnode/mel/runner/mel.go b/arbnode/mel/runner/mel.go index 245e3db8ebf..68d8acb5ddf 100644 --- a/arbnode/mel/runner/mel.go +++ b/arbnode/mel/runner/mel.go @@ -4,6 +4,7 @@ package melrunner import ( "context" + "errors" "fmt" "math/big" "strings" @@ -364,6 +365,20 @@ func (m *MessageExtractor) G...
7
7
0
[{"id": "G0", "claim": "Rename `ValidateMsgExtractionTill` to `UpdateValidationTargetPosition`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The duplicated put(lastGlobalStateValidatedInfo)/lastValidGS assignment branches in writeLastValidated...
null
OffchainLabs__nitro__4438
OffchainLabs/nitro
4,438
defect
783ccce818f2959c90bb7f64f9820c9163b8e174
ff45de81d6a5a8cee928226916fe0882b53dd748
Refactor ArbOSVersionGetter interface
To follow the same pattern of other Execution interface behaviors: - Removed `ArbOSVersionGetter` from `ExecutionClient` - Renamed `ArbOSVersionGetter` interface to `ExecutionBatchPoster` - Added `ExecutionBatchPoster` to `FullExecutionClient` closes NIT-4523
diff --git a/arbnode/batch_poster.go b/arbnode/batch_poster.go index d09344e0ddc..b10d5d10ae8 100644 --- a/arbnode/batch_poster.go +++ b/arbnode/batch_poster.go @@ -101,25 +101,25 @@ type batchPosterPosition struct { type BatchPoster struct { stopwaiter.StopWaiter - l1Reader *headerreader.HeaderReader - ...
1
1
1
[{"id": "G0", "claim": "CreateConsensusNodeConnectedWithSimpleExecutionClient should not have its parameter type changed from execution.ExecutionClient to execution.FullExecutionClient.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__nitro__4449
OffchainLabs/nitro
4,449
defect
bb6dd040cec77fda29b201b915c99e2c84db84ca
dac330c8402f0ae9af53bdb8a60dbe643df86508
[MEL] - Prevent MEL node startup if have non-MEL entries in ConsensusDB
This PR makes it that If the inbox tracker / reader have DB values (meaning a node was started in non-MEL mode), we should error on startup if we enable the MEL flag. Resolves NIT-4571
diff --git a/arbnode/node.go b/arbnode/node.go index 36e78d4c308..f0de31a460f 100644 --- a/arbnode/node.go +++ b/arbnode/node.go @@ -26,6 +26,7 @@ import ( "github.com/offchainlabs/nitro/arbnode/dataposter" "github.com/offchainlabs/nitro/arbnode/dataposter/storage" + "github.com/offchainlabs/nitro/arbnode/db/read...
3
3
1
[{"id": "G0", "claim": "The error message should be fixed: typo s/alredy/already/.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The two identical error messages should be distinguishable in logs: this one should mention it found a stale Delaye...
null
OffchainLabs__nitro__4455
OffchainLabs/nitro
4,455
defect
b9b386421ed68367ca3c083037503d474f61323b
85a4d4c77549504071a5032446d9b0b42d0315ac
Block validator: retry on timeout errors instead of crashing
## Changes - Add centralized timeout detection (`validator.IsTimeoutError`) that uses typed error checks (context deadline, RPC error code, net timeout) with string-matching fallback for Redis-serialized errors - Change the retry wrapper to retry timeout errors indefinitely without counting them against the retr...
diff --git a/changelog/pmikolajczyk-nit-3341.md b/changelog/pmikolajczyk-nit-3341.md new file mode 100644 index 00000000000..0adc38dac37 --- /dev/null +++ b/changelog/pmikolajczyk-nit-3341.md @@ -0,0 +1,2 @@ +### Fixed + - Block validator no longer crashes on timeout errors during validation. Timeout errors are now ret...
2
2
1
[{"id": "G0", "claim": "The retry wrapper should have a separate counter for timeout errors (e.g. a new allowedTimeouts parameter defaulting to a reasonable number like 3) because a chronic condition could cause endless timeouts that go undetected while the system retries permanently.", "category": "correctness", "verd...
null
OffchainLabs__nitro__4464
OffchainLabs/nitro
4,464
defect
f9004e96676464cf64b2aa8f842e90157a231f6d
577c6c475863d32cf4756fca8ed8c047949abcc7
MEL fix number of batch posting reports check bug
This PR fixes the bug where we previously compared the number of batch posting reports to number of batches for equality and that is not the case! As they need not be equal. [Uses claude code for a unit test] Resolves NIT-4540
diff --git a/arbnode/mel/extraction/message_extraction_function.go b/arbnode/mel/extraction/message_extraction_function.go index cbc92f5c680..7a9e803880c 100644 --- a/arbnode/mel/extraction/message_extraction_function.go +++ b/arbnode/mel/extraction/message_extraction_function.go @@ -5,7 +5,6 @@ package melextraction ...
2
2
2
[{"id": "G0", "claim": "There is no test covering the core bugfix scenario of multiple batches where only a subset have matching reports, so the continue path is never exercised in a success scenario and the existing mismatched-hash test passes only by accident.", "category": "testing", "verdict": "supported", "priorit...
null
OffchainLabs__nitro__4477
OffchainLabs/nitro
4,477
defect
da2ada0b56b7c3bccd513fcc9b4b5b657ab64f8b
cb6f66214805d1eeea03f3b246dec11f3397916a
System test for block validation with Rust server
Adding a system test that proves full compatibility between the Go node and Rust server with an end-to-end block validation flow. --- closes NIT-4622
diff --git a/changelog/pmikolajczyk-nit-4622.md b/changelog/pmikolajczyk-nit-4622.md new file mode 100644 index 00000000000..1bc66549fbc --- /dev/null +++ b/changelog/pmikolajczyk-nit-4622.md @@ -0,0 +1,2 @@ +### Ignored + - System test for block validation flow between nitro client and Rust server \ No newline at end ...
3
3
1
[{"id": "G0", "claim": "Choosing a port by opening a listener on localhost:0, closing it and passing the number to the validator could race with another parallel test binding the same port (TOCTOU); pass port 0 to the validator and read the assigned port from its output instead.", "category": "correctness", "verdict": ...
null
OffchainLabs__nitro__4484
OffchainLabs/nitro
4,484
defect
18d1bf115d078ce20709d617b903b5925fe096b1
d35aefabcc939eaa8938cdbe932f0ac13d128afa
Move express lane service and tracker from gethexec to timeboost package
# Summary The `expres...
diff --git a/arbos/arbostypes/incomingmessage.go b/arbos/arbostypes/incomingmessage.go index ddfa74c5c8c..34fca07a51a 100644 --- a/arbos/arbostypes/incomingmessage.go +++ b/arbos/arbostypes/incomingmessage.go @@ -36,6 +36,18 @@ const ( const MaxL2MessageSize = 256 * 1024 +func ValidateMaxTxDataSize(maxTxDataSize u...
2
1
1
[{"id": "G0", "claim": "The reviewer is unsure about the new name WithTimeoutOrCancel, since a context with a timeout also has a cancel function, and the old name made more sense to them.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "GetRoundTimi...
null
OffchainLabs__nitro__4485
OffchainLabs/nitro
4,485
defect
99279065cc33e9d32260ee26c96c2818ab72a371
dea6394194a8d51c7e5c339561a10f5a17b8d0f7
Fix MEL feature flag bugs from PR #4402
- Return ErrDelayedMessageNotYetFinalized instead of (nil, _, nil) when MEL database doesn't have the parent chain block indexed yet, preventing nil message dereference in delayed sequencer - Remove incorrect waitingForFinalizedBlock assignment that stored a message position where a parent chain block number was ...
diff --git a/arbnode/delayed_sequencer.go b/arbnode/delayed_sequencer.go index 30f12d7e7a4..f4609e3a1a1 100644 --- a/arbnode/delayed_sequencer.go +++ b/arbnode/delayed_sequencer.go @@ -228,9 +228,10 @@ func (d *DelayedSequencer) sequenceWithoutLockout(ctx context.Context, lastBlock for pos < dbDelayedCount { msg, ...
2
2
2
[{"id": "G0", "claim": "Config should not forbid BatchPoster with MEL: batch posting works with message extraction except for missing delay-proof support, so the validation error should be thrown only when delay proof is enabled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
OffchainLabs__nitro__4488
OffchainLabs/nitro
4,488
defect
a2d5bc9441c4aee13b4b6fef37ef25b8b3cce18b
afb3396e42323c97a3ce4e1278780900a101c6e0
Block sequencing until address filter rules are loaded
Fixes NIT-4621 Block sequencing until address filter scheme is loaded
diff --git a/changelog/mrogachev-nit-4621.md b/changelog/mrogachev-nit-4621.md new file mode 100644 index 00000000000..9e53104ac41 --- /dev/null +++ b/changelog/mrogachev-nit-4621.md @@ -0,0 +1,2 @@ +### Internal +- Block sequencing until address filter rules are loaded diff --git a/execution/gethexec/node.go b/executi...
3
3
0
[{"id": "G0", "claim": "SetAddressFilterServiceForTesting should follow the repo's pattern for test-only helpers and take a dummy *testing.T argument (as in cmd/transaction-filterer/api) instead of relying on the ForTesting name alone.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
OffchainLabs__nitro__4495
OffchainLabs/nitro
4,495
defect
99279065cc33e9d32260ee26c96c2818ab72a371
2c51141c038c23fd3d25ac92da01e500aef732c4
Add liveness and readiness endpoints to transaction-filterer
Fixes NIT-4582 Adds /liveness and /readiness endpoints to the transaction-filterer using the existing geth HTTP server
diff --git a/changelog/mrogachev-nit-4582.md b/changelog/mrogachev-nit-4582.md new file mode 100644 index 00000000000..d1c18b7957d --- /dev/null +++ b/changelog/mrogachev-nit-4582.md @@ -0,0 +1,2 @@ +### Added +- Add `/liveness` and `/readiness` HTTP health check endpoints to the transaction-filterer service. Readiness...
1
1
0
[{"id": "G0", "claim": "Acquiring apiMutex on every /readiness probe is needless complexity (arbFilteredTransactionsManager is never nil in production and /readiness is only used in production anyway), so the endpoint should always return 200 instead of gating on IsReady.", "category": "design", "verdict": "supported",...
null
OffchainLabs__nitro__4498
OffchainLabs/nitro
4,498
defect
e89bc08cab1b2b77e8914473061522fcc12dac90
99b010e33a01862302f8406f6f08fb60c43554eb
Fix multi-gas refunds in retryables (ArbOS60)
# Context When a retryable transaction fails, it can be retried by calling the method `redeem()` from the ArbRetryableTx precompile. When doing so, the user sends extra gas that will be donated to the manual retryable attempt. There is an issue where the donated gas is refunded twice, allowing a malicious user to d...
diff --git a/arbos/l2pricing/model.go b/arbos/l2pricing/model.go index 5fb5eb241d8..82f8240844a 100644 --- a/arbos/l2pricing/model.go +++ b/arbos/l2pricing/model.go @@ -306,6 +306,11 @@ func (ps *L2PricingState) CalcMultiGasConstraintsExponents() ([multigas.NumResou } for _, kind := range usedResources { + ...
1
1
0
[{"id": "G0", "claim": "Remove SingleDim from the l2pricing simulator's default multi-gas constraints, since the model silently ignores it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__nitro__4551
OffchainLabs/nitro
4,551
defect
82cff30e9625236d3e8ab9a9fae7b34ba946c004
a82196994bff7b1122995c9f98c4649e3214600c
Fix bug in extracting L2 msgs from batch and enable skipped system_tests
This PR enables those system_tests which were skipped previously because of pending bugs resolution in MEL and it also solves an issue where L2 message extraction from batch segment didn't match the flow currently seen in `inboxMultiplexer` used by inbox-tracker code. Now only the system_tests relating to validation...
diff --git a/arbnode/mel/extraction/messages_in_batch.go b/arbnode/mel/extraction/messages_in_batch.go index 9092ee66ed6..0384fea83a1 100644 --- a/arbnode/mel/extraction/messages_in_batch.go +++ b/arbnode/mel/extraction/messages_in_batch.go @@ -33,7 +33,11 @@ func messagesFromBatchSegments( messages := make([]*arbost...
4
2
0
[{"id": "G0", "claim": "The added account parameter on AdvanceBlocks is unnecessary: every call site still passes \"Faucet\", and if you are just advancing blocks it should not matter which account sends the transaction, so the parameter should be dropped.", "category": "design", "verdict": "supported", "priority": "P2...
null
OffchainLabs__nitro__4556
OffchainLabs/nitro
4,556
defect
82cff30e9625236d3e8ab9a9fae7b34ba946c004
fde4f23a8a76edeb11809c87941a9b85ba7b26d0
ArbOwner-configurable gas charge for Stylus activation
Adds a chain-owner-settable constant gas charge that is burned at the start of every Stylus contract activation, before any compilation work begins: - Default: 0 — no behaviour change for existing chains. ...
diff --git a/arbos/programs/params.go b/arbos/programs/params.go index 5835747b20d..f2af07e1a6e 100644 --- a/arbos/programs/params.go +++ b/arbos/programs/params.go @@ -62,6 +62,7 @@ type StylusParams struct { BlockCacheSize uint16 MaxWasmSize uint32 MaxFragmentCount uint8 + ActivationGas uint64 } /...
4
3
2
[{"id": "G0", "claim": "It may be worth adding a check that the 2 alignment-padding bytes consumed before ActivationGas are zero.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ArbWasm.ActivationGas precompile appears to be used only in test...
null
OffchainLabs__nitro__4591
OffchainLabs/nitro
4,591
defect
21e0cea6cb5a86b0fb4ddc83997ecc10df9c22bd
8f346ce7e1a31b8018ce24a2c5cfe98a4988d20a
Add flag to disable ArbOwner outside on-chain execution
- Add `--execution.disable-offchain-arbowner` node config flag (default `false`) - When enabled, `OwnerPrecompile.Call` panics if the run context is not `IsExecutedOnChain()` (blocks ethcall and gas estimation modes) - The flag is an `atomic.Bool` field on the `OwnerPrecompile` st...
diff --git a/changelog/bragaigor-nit-4744.md b/changelog/bragaigor-nit-4744.md new file mode 100644 index 00000000000..5a2b421e736 --- /dev/null +++ b/changelog/bragaigor-nit-4744.md @@ -0,0 +1,2 @@ +### Configuration +- Add `--execution.disable-offchain-arbowner` flag to disable ArbOwner precompile calls outside on-ch...
6
6
1
[{"id": "G0", "claim": "Precompiles() does not need the second *OwnerPrecompile return value; the map it returns can be used to retrieve the OwnerPrecompile via ArbOwnerImpl.Address as the key.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The disableOf...
null
OffchainLabs__nitro__4606
OffchainLabs/nitro
4,606
defect
4676f43af2c8babe0b837a6c4db55e22fed103ab
2364559f96928bfc2c1af3613e879f747e220a97
Add cmd/filtering-report binary with liveness/readiness endpoints - NIT-4766
Closes NIT-4766. - New `cmd/filtering-report` binary scaffolded similarly to `cmd/transaction-filterer` - Includes `/liveness` and `/readiness` HTTP health check endpoints
diff --git a/Dockerfile b/Dockerfile index a82e47d32a2..a757fa4d37b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -301,6 +301,7 @@ COPY --from=node-builder /workspace/target/bin/anytrusttool /usr/local/bin/ RUN ln -s /usr/local/bin/anytrusttool /usr/local/bin/datool COPY --from=node-builder /workspace/target/bin/g...
2
2
1
[{"id": "G0", "claim": "NewStack likely need not return the empty *FilteringReportAPI and should match the cmd/transaction-filterer pattern instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The client should not be implemented in this PR; following...
null
OffchainLabs__nitro__4617
OffchainLabs/nitro
4,617
defect
976ea4550aba074ef70f595b4cc5cb05dc1fd4fd
449353b733052b9716ccc36b41d4adc680d6a7d0
Check if Stake Token Supports Auto-Deposit Before Calling
Fixes NIT-3697 This PR checks if the staker in bold has a stake token that supports auto-deposits before it attempts to do so
diff --git a/bold/protocol/sol/assertion_chain.go b/bold/protocol/sol/assertion_chain.go index 8f3e79446fc..9a4719c777f 100644 --- a/bold/protocol/sol/assertion_chain.go +++ b/bold/protocol/sol/assertion_chain.go @@ -7,6 +7,7 @@ package sol import ( + "bytes" "context" "flag" "fmt" @@ -112,6 +113,7 @@ type As...
1
1
1
[{"id": "G0", "claim": "The pull request's new non-WETH auto-deposit behaviour should be covered by a test (\"Is it possible to test this?\").", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__prysm__13629
OffchainLabs/prysm
13,629
defect
04dd60d1bf3e365ecfcb82a51b7c54fdcea73c83
6f2bb9b1a0b47205878d288981aea8af2820faef
Slasher: Reduce surrounding/surrounded attestations processing time
Please read commit by commit. **What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** This PR reduces the processing time needed by the slasher to check surrounded/surrounding attestations. Without this PR, the time needed to process attestations during 1 slot (12 seconds) is higher ...
diff --git a/beacon-chain/db/slasherkv/BUILD.bazel b/beacon-chain/db/slasherkv/BUILD.bazel index 8d095fe7eff8..03d3a5105588 100644 --- a/beacon-chain/db/slasherkv/BUILD.bazel +++ b/beacon-chain/db/slasherkv/BUILD.bazel @@ -48,7 +48,6 @@ go_test( "//consensus-types/primitives:go_default_library", "//en...
3
3
0
[{"id": "G0", "claim": "The batch-size constant 10_000 that controls how attestations are saved in batches is hard to find when searching for how it is controlled; it should get an explanatory comment or a more meaningful name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
OffchainLabs__prysm__14820
OffchainLabs/prysm
14,820
defect
2845ab9365af6aefe2c5535f635de83b9370562d
12517d485114b7ce2c42f0567cd37e17e9452876
Do not verify block signature on block processing
Verifying the block signature adds a batch and performs a full hash of the block unnecessarily.
diff --git a/beacon-chain/blockchain/process_block_test.go b/beacon-chain/blockchain/process_block_test.go index a416ee296eb7..85747798715f 100644 --- a/beacon-chain/blockchain/process_block_test.go +++ b/beacon-chain/blockchain/process_block_test.go @@ -651,24 +651,6 @@ func TestOnBlock_NilBlock(t *testing.T) { requ...
1
1
1
[{"id": "G0", "claim": "If broadcast_validation: consensus is specified on the Beacon API publish block v2 endpoint, the block signature must be verified before broadcasting; add a separate check in the handlers.go validateConsensus path.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
OffchainLabs__prysm__15234
OffchainLabs/prysm
15,234
defect
a6a41a875551a6d172a3f661e1c93e125cb901ad
63b31321315f87f603214aeb6f591247a2ae1631
Peerdas fix get blobs v2
**Please read commit by commit.** Fix ![image](https://github.com/user-attachments/assets/0704766a-dbc7-470d-83cb-044c4873f28d)
diff --git a/beacon-chain/execution/engine_client.go b/beacon-chain/execution/engine_client.go index d3f03ee7f835..c04c51780a75 100644 --- a/beacon-chain/execution/engine_client.go +++ b/beacon-chain/execution/engine_client.go @@ -655,8 +655,16 @@ func (s *Service) ReconstructBlobSidecars(ctx context.Context, block int...
2
1
0
[{"id": "G0", "claim": "Returning (nil, nil) when the EL returns no blobs for engine_getBlobsV2 is not right, because by the spec the EL can return null when any requested versioned hash is missing, so the early-return behavior should be reconsidered.", "category": "correctness", "verdict": "opposed", "priority": "P1",...
null
OffchainLabs__prysm__15248
OffchainLabs/prysm
15,248
defect
204302a821da57632ec4e2d89126a21f00bd2817
5556a6728b3b75881c6d2d7db45da4cf3c434541
Fix cyclical dependency
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/beacon-chain/blockchain/kzg/BUILD.bazel b/beacon-chain/blockchain/kzg/BUILD.bazel index 0dcecc80992a..ca2a969debed 100644 --- a/beacon-chain/blockchain/kzg/BUILD.bazel +++ b/beacon-chain/blockchain/kzg/BUILD.bazel @@ -29,8 +29,8 @@ go_test( embed = [":go_default_library"], deps = [ "//co...
5
5
1
[{"id": "G0", "claim": "The CI failed and the pull request needs to run gazelle (`bazel run /:gazelle -- fix`) to regenerate the BUILD files, as the documentation states.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The new package `fieldutils` sh...
null
OffchainLabs__prysm__15295
OffchainLabs/prysm
15,295
defect
2737ace5a882fa5a8dbae4f3160a1db56a017a6c
c40d29ef8591588b2c67d66bc4265cda905fc675
Add Light Client Mainnet Spec Tests
**What type of PR is this?** Other **What does this PR do? Why is it needed?** This PR adds support for the Mainnet spec tests for light_client. **Which issues(s) does this PR fix?** Part of #12991 **Other notes for review** Will add Minimal in the next PR.
diff --git a/changelog/bastin_add-lc-spec-test-mainnet.md b/changelog/bastin_add-lc-spec-test-mainnet.md new file mode 100644 index 000000000000..6ad7eae2418d --- /dev/null +++ b/changelog/bastin_add-lc-spec-test-mainnet.md @@ -0,0 +1,3 @@ +### Added + +- Add light client mainnet spec test. \ No newline at end of file ...
4
3
1
[{"id": "G0", "claim": "The error branch after hex-decoding the leaf is unnecessary because the require.NoError two lines below already fails on any error.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should handle the case where test...
null
OffchainLabs__prysm__15310
OffchainLabs/prysm
15,310
defect
b20821dd8ef25d6ea43e5e76449308a45566b98b
7ae7b1809d3a6936a0c7d05c0513b2a0d6b8f5df
PeerDAS: Implement the validation pipeline for data column sidecars received via gossip
**What type of PR is this?** Feature **Depending on** - https://github.com/OffchainLabs/prysm/pull/15309 **Acknowledgements** - [x] I have read [CONTRIBUTING.md](https://github.com/prysmaticlabs/prysm/blob/develop/CONTRIBUTING.md). - [x] I have included a uniquely named [changelog fragment file](https://git...
diff --git a/beacon-chain/core/peerdas/BUILD.bazel b/beacon-chain/core/peerdas/BUILD.bazel index 8d431c3b9126..5d8e472b8ec8 100644 --- a/beacon-chain/core/peerdas/BUILD.bazel +++ b/beacon-chain/core/peerdas/BUILD.bazel @@ -8,8 +8,8 @@ go_library( "metrics.go", "p2p_interface.go", "reconstruct...
3
3
0
[{"id": "G0", "claim": "The data column histogram buckets should be retuned: add 25 and 50, and remove 1500 and 16000 (100 is too high as the first bucket and 16000 can be ignored).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The startTime computation...
null
OffchainLabs__prysm__15403
OffchainLabs/prysm
15,403
defect
6087875da526ac5e20df09881ad082048443db42
2276f6dcd84b2841b3287ca2aebd7e62916af65b
remove usages of params from proto packages
**What type of PR is this?** Other **What does this PR do? Why is it needed?** The `proto` package tree should minimally import other packages to reduce the likelihood that we will need to jump through hoops to access the generated types. This PR replaces all imports of params through a combination of 1) repla...
diff --git a/beacon-chain/blockchain/process_attestation.go b/beacon-chain/blockchain/process_attestation.go index 793fd47fd11d..41071f2831fe 100644 --- a/beacon-chain/blockchain/process_attestation.go +++ b/beacon-chain/blockchain/process_attestation.go @@ -5,6 +5,7 @@ import ( "time" "github.com/OffchainLabs/pr...
2
2
0
[{"id": "G0", "claim": "The three same-typed uint64 limit parameters of GetDecodedExecutionRequests make it easy for callers to pass them in the wrong order, so a struct should be used to pass them.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The adde...
null
OffchainLabs__prysm__15486
OffchainLabs/prysm
15,486
defect
02f8726e460332232598a2e8eaf3cb4f1f772502
096fe42d1dc35a06d79f0ca831c2738a468677fd
Implement fulu mev-boost change for blinded block submission
**Description:** Implement the post-Fulu changes where MEV-boost relays only return HTTP status codes instead of execution payloads for blinded blocks. **Changes include:** **New API Methods** - Add `SubmitBlindedBlockPostFulu()` to builder client interface and implementation - Post-Fulu method onl...
diff --git a/api/client/builder/client.go b/api/client/builder/client.go index 5324ce5ba744..6a7beff86794 100644 --- a/api/client/builder/client.go +++ b/api/client/builder/client.go @@ -102,6 +102,7 @@ type BuilderClient interface { GetHeader(ctx context.Context, slot primitives.Slot, parentHash [32]byte, pubkey [48...
4
4
3
[{"id": "G0", "claim": "Post-Fulu relay submissions return 202 Accepted, so the method should not claim (and must not require) a 200 success status.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The success-path tests should use http.StatusAccepted...
null
OffchainLabs__prysm__15604
OffchainLabs/prysm
15,604
defect
07738dd9a484d52f92b82e4fbc0751b328aaa8f3
60f2c4e50f9dc99457e491707fafd21e9fe024a3
enforce schedule alignment when next_fork_epoch matches
**What type of PR is this?** Other **What does this PR do? Why is it needed?** This PR changes the behavior of connection filtering where the fork schedule of incoming peers is compared to our own. ### Current behavior: we refuse connections when there is a mismatch in current_fork_digest if there is a mi...
diff --git a/beacon-chain/p2p/discovery_test.go b/beacon-chain/p2p/discovery_test.go index 3d95a97e202c..8ee1b434800c 100644 --- a/beacon-chain/p2p/discovery_test.go +++ b/beacon-chain/p2p/discovery_test.go @@ -89,7 +89,7 @@ func createTestNodeWithID(t *testing.T, id string) *enode.LocalNode { localNode.SetStaticIP(n...
5
3
0
[{"id": "G0", "claim": "The comment in compareForkENR spells \"disconnects\" with a triple n (\"disconnnects\") and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Removing the ETH2Key field from the network config may require ...
null
OffchainLabs__prysm__15643
OffchainLabs/prysm
15,643
defect
d339e095097dd65eb87b8fc3d607bdc0aaa0b2f6
3f7232ecacdd3059db8ace8f82e188e9a3b81f94
deprecate /prysm/v1/beacon/blobs
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/beacon-chain/rpc/endpoints.go b/beacon-chain/rpc/endpoints.go index 63d85491876f..7c70698d38de 100644 --- a/beacon-chain/rpc/endpoints.go +++ b/beacon-chain/rpc/endpoints.go @@ -1230,6 +1230,7 @@ func (s *Service) prysmBeaconEndpoints( methods: []string{http.MethodGet}, }, { + // Deprecated: p...
2
2
1
[{"id": "G0", "claim": "The endpoint should still support pre-fulu blocks even when the current time is post-fulu, so the new guard should check whether the blob itself is a pre- or post-fulu blob instead of checking the current time.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
OffchainLabs__prysm__15688
OffchainLabs/prysm
15,688
defect
d681232fe650e13b98792b6f261dbe854242f374
39791b3147001f9faccdfb545a94531c17b84d01
Change insertchain
InsertChain uses `ROBlock` since #14571, this allows it to insert the last block of the chain as well. We change the semantics of InsertChain to include all blocks and take them in increasing order.
diff --git a/beacon-chain/blockchain/process_block.go b/beacon-chain/blockchain/process_block.go index e760649ad777..507476e76b8c 100644 --- a/beacon-chain/blockchain/process_block.go +++ b/beacon-chain/blockchain/process_block.go @@ -247,7 +247,7 @@ func (s *Service) onBlockBatch(ctx context.Context, blks []consensusb...
1
1
0
[{"id": "G0", "claim": "The hand-rolled loops that build a reversed copy of the chain should be replaced with slices.Reverse, reversing the slice in place (zero-copy), in buildForkchoiceChain and, per the same note, in the other places such as fillInForkChoiceMissingBlocks.", "category": "maintainability", "verdict": "...
null
OffchainLabs__prysm__15701
OffchainLabs/prysm
15,701
defect
88af3f90a579dbeeb786193ab4e9f1b4f2c50be4
b36c823842300d6b909f25df5f16421b1c3bc424
Debug data columns API endpoint
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/api/server/structs/endpoints_debug.go b/api/server/structs/endpoints_debug.go index 16e5b7980965..c2a632316c44 100644 --- a/api/server/structs/endpoints_debug.go +++ b/api/server/structs/endpoints_debug.go @@ -56,3 +56,19 @@ type ForkChoiceNodeExtraData struct { TimeStamp string `json:"tim...
10
6
0
[{"id": "G0", "claim": "The variable `cellsAndProofs` should be spelled `cellsAndProogs` to match the naming used in the original code.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The handler casts the string blockId to []byte directly instea...
null
OffchainLabs__prysm__15725
OffchainLabs/prysm
15,725
defect
ba5f7361ad05c9e024b357c0ca77131ee234b5e2
0bd3489956f52b8738896dfbc0de4e60198d9459
SSZ-QL: Support nested `List` type
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** In one sentence, this PR supports to parse `ExecutionPayload.transactions` field, which is: ```python Transaction = ByteList[MAX_BYTES_PER_TRANSACTION] class ExecutionPayload(Container): # ... transactions: List[T...
diff --git a/changelog/syjn99_ssz-ql-nested-list.md b/changelog/syjn99_ssz-ql-nested-list.md new file mode 100644 index 000000000000..86ab064a9e1d --- /dev/null +++ b/changelog/syjn99_ssz-ql-nested-list.md @@ -0,0 +1,3 @@ +### Fix + +- SSZ-QL: Support nested `List` type (e.g., `ExecutionPayload.Transactions`) diff --gi...
3
3
0
[{"id": "G0", "claim": "The comment on the elementSize field should read \"caches each element's byte size\" instead of the ungrammatical \"caches the each element's byte size\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The field elementSize...
null
OffchainLabs__prysm__15748
OffchainLabs/prysm
15,748
defect
8fa956036acd9bf0c0c634f841afe0a6ad43dab7
b72487763a29daa200365a8e7e480371ac2031e3
Aggregate logs when broadcasting data column sidecars
**What type of PR is this?** Other **What does this PR do? Why is it needed?** All is in the title. Example when broadcasting data column sidecars when proposing a local block: ``` [2025-09-25 12:13:48.22] DEBUG p2p: Broadcasted data column sidecars count=128 indices=0-127 root=0x3f4f67694ca53fd489e63d0fee4ce...
diff --git a/beacon-chain/blockchain/setup_test.go b/beacon-chain/blockchain/setup_test.go index eab5df0f9e2b..875ff8aab457 100644 --- a/beacon-chain/blockchain/setup_test.go +++ b/beacon-chain/blockchain/setup_test.go @@ -89,7 +89,7 @@ func (mb *mockBroadcaster) BroadcastLightClientFinalityUpdate(_ context.Context, ...
3
2
0
[{"id": "G0", "claim": "The PR dropped the tracing span that used to wrap the data column sidecar broadcast, and the reviewer questions whether that trace is no longer needed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The root parameter of broadcast...
null
OffchainLabs__prysm__15767
OffchainLabs/prysm
15,767
defect
10f8d8c26e6372d775e6da8bd35acf4d3d0828db
af567d122ae782fb7b23c4056d9e20fc4c207e72
SSZ-QL: Access n-th element in `List`/`Vector`.
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** This PR adds `Index` member on `PathElement`, which provides users to query `n`-th element of given `List` or `Vector`. This would widely used in the case of querying validator in `BeaconState`: `.validators[42]`. **Which issue...
diff --git a/changelog/syjn99_ssz-ql-index-accessing.md b/changelog/syjn99_ssz-ql-index-accessing.md new file mode 100644 index 000000000000..1ebefa496522 --- /dev/null +++ b/changelog/syjn99_ssz-ql-index-accessing.md @@ -0,0 +1,3 @@ +### Added + +- SSZ-QL: Access n-th element in `List`/`Vector`. diff --git a/encoding/...
3
3
0
[{"id": "G0", "claim": "The default-case error message should read \"field %s of type %s does not support index access\" instead of \"field %s type %s cannot apply index\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The List out-of-bounds er...
null
OffchainLabs__prysm__15776
OffchainLabs/prysm
15,776
defect
18efd620dc09ad1d82e05b8b147a4672a6cc1b7c
504ea5541e0828cb5f41698de70d56857b15e4fa
add delay before broadcasting lc objects
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** As per [spec](https://github.com/ethereum/consensus-specs/blob/master/specs/altair/light-client/p2p-interface.md#sync-committee), light client p2p messages should be broadcasted with a delay of ~4 seconds after the slot start time. Th...
diff --git a/beacon-chain/light-client/store.go b/beacon-chain/light-client/store.go index 6e9efa7a0bda..2cf9af381b51 100644 --- a/beacon-chain/light-client/store.go +++ b/beacon-chain/light-client/store.go @@ -263,9 +263,11 @@ func (s *Store) SetLastFinalityUpdate(update interfaces.LightClientFinalityUpdat func (s ...
6
6
0
[{"id": "G0", "claim": "Instead of sleeping a full second in the light-client store test to let the broadcast goroutine finish, overwrite the config (e.g. set SyncMessageDueBPS = 0) so the long wait is unnecessary.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
OffchainLabs__prysm__15777
OffchainLabs/prysm
15,777
defect
18efd620dc09ad1d82e05b8b147a4672a6cc1b7c
d00c46c78346b89879829801b88d25ef65add60f
properly skipping ommitted values for /eth/v1/config/spec
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/beacon-chain/rpc/eth/config/handlers.go b/beacon-chain/rpc/eth/config/handlers.go index 56f1f44fa642..46f09b80710f 100644 --- a/beacon-chain/rpc/eth/config/handlers.go +++ b/beacon-chain/rpc/eth/config/handlers.go @@ -124,11 +124,27 @@ func convertValueForJSON(v reflect.Value, tag string) interface{} { ...
2
2
0
[{"id": "G0", "claim": "The hasOmitEmpty check needlessly re-joins the JSON tag parts before searching for \"omitempty\"; it could search jsonTag directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment \"// skip fields with json:\\\...
null
OffchainLabs__prysm__15779
OffchainLabs/prysm
15,779
defect
18efd620dc09ad1d82e05b8b147a4672a6cc1b7c
df41186c4cb23086da1017dd744bbacbac05baea
make registerSubscribers idempotent
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** This is an attempt to make a simple fix to the double topic registration that occurs when the node exits initial-sync, by adding a basic map with a mutex to hold digests of calls to `registerSubscribers` and early exit if the meth...
diff --git a/beacon-chain/sync/fork_watcher.go b/beacon-chain/sync/fork_watcher.go index 7b6663dd703f..291da6069d8d 100644 --- a/beacon-chain/sync/fork_watcher.go +++ b/beacon-chain/sync/fork_watcher.go @@ -40,18 +40,16 @@ func (s *Service) forkWatcher() { // registerForUpcomingFork registers appropriate gossip and RP...
7
4
0
[{"id": "G0", "claim": "The `digests` map only grows in size (an assumed, harmless memory leak) and a comment should document this.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release-callback mechanism is unnecessary: a plain locked map, o...
null
OffchainLabs__prysm__15783
OffchainLabs/prysm
15,783
defect
023287f7df2bb82f14d69ee45f60fdeb0b05b71f
c8e4ca085c71336f125d787228d43bdc4943d140
Change LC p2p validation rules
**What type of PR is this?** Other **What does this PR do? Why is it needed?** This PR changes the light client gossipsub validation/subscription rules in this way: - It compares the received updates with the locally computed ones. if they match, messages are forwarded. otherwise ignore messages. - It adds an ea...
diff --git a/beacon-chain/sync/BUILD.bazel b/beacon-chain/sync/BUILD.bazel index 6665c5b83f23..44112d8e4f3b 100644 --- a/beacon-chain/sync/BUILD.bazel +++ b/beacon-chain/sync/BUILD.bazel @@ -45,7 +45,6 @@ go_library( "subscriber_bls_to_execution_change.go", "subscriber_data_column_sidecar.go", ...
2
1
0
[{"id": "G0", "claim": "The debug logs emitted when an incoming optimistic or finality update is ignored should not call it \"Invalid\" - a merely different update is not invalid - and should instead say the received update is different from the local one.", "category": "documentation", "verdict": "supported", "priorit...
null
OffchainLabs__prysm__15791
OffchainLabs/prysm
15,791
defect
cc2565a422f7db0784f63883d561f9b606995911
01a989950d834723222fdceacf7523a1a5938360
Process pending on block
This PR clears the pending attestation queue right after processing a beacon block. This is needed due to deterioring aggregation caused to having defaulted to attest-timely. h/t to @terencechain to recalling this issue. This PR also changes the cache size to 32K since we can now get most attestations on the pend...
diff --git a/beacon-chain/sync/pending_attestations_queue.go b/beacon-chain/sync/pending_attestations_queue.go index 39545c8b96cf..c8c4e63573ab 100644 --- a/beacon-chain/sync/pending_attestations_queue.go +++ b/beacon-chain/sync/pending_attestations_queue.go @@ -4,9 +4,8 @@ import ( "bytes" "context" "encoding/he...
1
1
0
[{"id": "G0", "claim": "Skip the debug log and do not even enter processAttestations when there are no pending attestations (len(attestations)==0) for the block root.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__15793
OffchainLabs/prysm
15,793
defect
d20ec4c7a1b780cc10abd4fa842a7bd4cc767ad6
427f1f025cdb572a40e2fd3a86f3754aaa38c25c
perf(auth): optimize auth token handling #15763
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/changelog/sahil-4555-pr-15763.md b/changelog/sahil-4555-pr-15763.md new file mode 100644 index 000000000000..4049065424a4 --- /dev/null +++ b/changelog/sahil-4555-pr-15763.md @@ -0,0 +1,3 @@ +### Fixed +- Auth token handling: use prefix slicing instead of Split +- Added early length check before constant-t...
4
4
3
[{"id": "G0", "claim": "The new `md[\"authorization\"][0]` indexing in authorize can panic when the authorization metadata key is missing or empty, which the old `authHeader, ok := md[\"authorization\"]` check guarded against.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
OffchainLabs__prysm__15801
OffchainLabs/prysm
15,801
defect
bf1095c7820993be44d725d605d6967c74ac56a9
3f1a90698ed8dd863b96de66af655affa946c061
Optimize pending attestation processing by adding batching
Optimized pending queue attestation processing, reducing per-attestation time from ~50-100ms to significantly lower overall queue processing time. Previously, processing 100 attestations could take up to 10s, even though most attestation data is identical except for attester index, committee index, and signature. We no...
diff --git a/beacon-chain/sync/BUILD.bazel b/beacon-chain/sync/BUILD.bazel index 44112d8e4f3b..384a29a689be 100644 --- a/beacon-chain/sync/BUILD.bazel +++ b/beacon-chain/sync/BUILD.bazel @@ -172,6 +172,7 @@ go_test( "error_test.go", "fork_watcher_test.go", "kzg_batch_verifier_test.go", + ...
13
7
1
[{"id": "G0", "claim": "bucketAttestationsByData should just return the bucket map instead of copying it into a slice that is then iterated.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The forkchoice-check failure log should include the beacon block r...
null
OffchainLabs__prysm__15805
OffchainLabs/prysm
15,805
defect
2a861329948889558a1fa11102d09c1460b8b18d
4c536cd6ded6afa0da3b09b9158cf5007fa494e1
SSZ-QL: use FastSSZ-generated HashTreeRoot through SSZObject in sszInfo
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/changelog/fernantho_ssz-ql-use-fastssz-generated-functions.md b/changelog/fernantho_ssz-ql-use-fastssz-generated-functions.md new file mode 100644 index 000000000000..05198ec56f49 --- /dev/null +++ b/changelog/fernantho_ssz-ql-use-fastssz-generated-functions.md @@ -0,0 +1,3 @@ +### Added + +- Delegate sszI...
12
11
1
[{"id": "G0", "claim": "The unchecked type assertion obj.(SSZIface) in AnalyzeObject can fail at runtime if the argument does not implement the interface; the reviewer asks to either use the two-value form with a check or change the signature to take an SSZIface so misuse is caught at compile time.", "category": "corre...
null
OffchainLabs__prysm__15880
OffchainLabs/prysm
15,880
defect
cd429dc253392ddb7f972c4eb75431b735722198
430351b13ea854bcd3e8d4de697b0b4a628e2a6a
Correctly advertise (in ENR and Metadata) attestation subnets when using `--subscribe-all-subnets`.
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** Before this PR, using the `--subscribe-all-subnets` flags does effectively subscribe to all (attestations and sync committee) subnets, but does **not** advertise these subscriptions on ENR and Metadata. This PR fixes this. **Not...
diff --git a/beacon-chain/p2p/subnets.go b/beacon-chain/p2p/subnets.go index 3742b36ae91d..9ba953017c80 100644 --- a/beacon-chain/p2p/subnets.go +++ b/beacon-chain/p2p/subnets.go @@ -514,17 +514,26 @@ func initializePersistentSubnets(id enode.ID, epoch primitives.Epoch) error { // // return [compute_subscribed_subnet...
3
1
0
[{"id": "G0", "claim": "The removal of the SubscribeToAllSubnets special case from persistentAndAggregatorSubnetIndices needs justification (why remove it?).", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It is unexplained how the new subscribe-all pa...
null
OffchainLabs__prysm__15884
OffchainLabs/prysm
15,884
defect
cd429dc253392ddb7f972c4eb75431b735722198
e646ee2dcba6d60dd39c1eeeaa64e059f8ee8b6a
Allow custom headers in validator client HTTP requests
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** Adds a new `--beacon-rest-api-headers` flag that allows to specify custom HTTP headers that will be sent to the beacon node with each validator client request. This feature is supported in grpc through the `--grpc-headers` flag. ...
diff --git a/api/client/BUILD.bazel b/api/client/BUILD.bazel index f5ddc9bb6c81..131d74c4f11a 100644 --- a/api/client/BUILD.bazel +++ b/api/client/BUILD.bazel @@ -6,6 +6,7 @@ go_library( "client.go", "errors.go", "options.go", + "transport.go", ], importpath = "github.com/Off...
4
2
0
[{"id": "G0", "claim": "For parameters like the API headers and beacon API timeout, NewNodeConnection should use functional options instead of positional parameters.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added for the parseBeacon...
null
OffchainLabs__prysm__15904
OffchainLabs/prysm
15,904
defect
426fbcc3b05c82ebce5c72ee263a6e6079b76825
1739a5593cdd0408d2568ea058bd0b1366b0a23c
default new blob storage layouts to by-epoch
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** There are many reported issues with the "flat" blob storage layout. This is not our preferred layout anymore and should not be the default. This PR makes the `by-epoch` layout default unless there is an existing flat layout on dis...
diff --git a/beacon-chain/db/filesystem/iteration.go b/beacon-chain/db/filesystem/iteration.go index fed8f187e6e2..3cadf8d8aecb 100644 --- a/beacon-chain/db/filesystem/iteration.go +++ b/beacon-chain/db/filesystem/iteration.go @@ -212,7 +212,8 @@ func filterNoop(_ string) bool { return true } -func isRootDir(p str...
3
3
2
[{"id": "G0", "claim": "Add a code comment explaining the rationale behind the magic number 16 passed to base.Readdirnames in detectLayout.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The flat-layout warning should print the flag with a leadi...
null
OffchainLabs__prysm__15905
OffchainLabs/prysm
15,905
defect
0486631d731eae4fcf7872752e6981c8f97d50c1
6b7c6c29d9498c3b8855712f0af7001a9cfb263d
Fix proposer to use advanced state for sync committee position calculation
Fixes a bug in #15608 At sync committee boundary we see: ``` could not process block: process_sync_aggregate failed: could not verify sync committee signature: invalid sync committee signature ``` Instead of using head state, I think it should use head state advanced to the proposal slot
diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go index ad326a8af1c7..0d97b31afa10 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/proposer.go @@ -229,7 +229,7 @@ func (vs *Server)...
1
1
0
[{"id": "G0", "claim": "A regression test should be added that sets the head at the pre-epoch state and checks that the sync committee would be the wrong one.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__15917
OffchainLabs/prysm
15,917
defect
2f090c52d9220bbf6cb91f7eeb192dcfe88a3bc0
44bbb1e7072bc752571d402d24fb5d9b2a6c3a7b
Use `SlotTicker` instead of `time.Ticker` for attestation pool pruning
prune Interval is 12s and we use `slots.NewSlotTicker(s.genesisTime, params.BeaconConfig().SecondsPerSlot)` so it runs deterministically at the start of the slot instead of a random time in the middle which would interfere with metric updates i cant remove `pruneInterval` from config as its' still used in `pruneExpi...
diff --git a/beacon-chain/operations/attestations/prune_expired.go b/beacon-chain/operations/attestations/prune_expired.go index 30200c26b47a..8a41c9751627 100644 --- a/beacon-chain/operations/attestations/prune_expired.go +++ b/beacon-chain/operations/attestations/prune_expired.go @@ -10,11 +10,11 @@ import ( // pr...
1
1
1
[{"id": "G0", "claim": "The pruning should perhaps be performed at second zero of the slot (the slot boundary) instead of firing on every slot tick as written.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__prysm__15933
OffchainLabs/prysm
15,933
defect
3ecb5d0b676651119c2f57d02bbb88cc68b4f5cf
0b2fc1f8fdc4f415673d8bac88cadbcc80c99812
Do not serve sidecars if corresponding block is not available in the database
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** Do not serve sidecars if corresponding block is not available in the database. **Other notes for review** Please read commit by commit, with commit messages. **Acknowledgements** - [x] I have read [CONTRIBUTING.md](https://git...
diff --git a/beacon-chain/blockchain/testing/mock.go b/beacon-chain/blockchain/testing/mock.go index 61066ce9f0c5..433a8dc759a8 100644 --- a/beacon-chain/blockchain/testing/mock.go +++ b/beacon-chain/blockchain/testing/mock.go @@ -472,6 +472,36 @@ func (s *ChainService) HasBlock(ctx context.Context, rt [32]byte) bool {...
2
1
1
[{"id": "G0", "claim": "The `panic(err)` added in the new `AvailableBlocks` method seems unnecessary (\"super strange to need this\") and the reviewer questions why it is needed.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR unintentionally renames...
null
OffchainLabs__prysm__15935
OffchainLabs/prysm
15,935
defect
10a2f0687b67987ff0fae746015fe773ddd1a4f2
e043cc31a7c159d4f0fc1b1cba251ee51cec7a34
SSZ-QL: update "path parsing" data types
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/changelog/fernantho_ssz-ql-update-path-processing.md b/changelog/fernantho_ssz-ql-update-path-processing.md new file mode 100644 index 000000000000..6ae76487d1be --- /dev/null +++ b/changelog/fernantho_ssz-ql-update-path-processing.md @@ -0,0 +1,3 @@ +## Added +- Introduced Path type for SSZ-QL queries and...
5
5
0
[{"id": "G0", "claim": "Documentation should be added for the newly introduced Path struct in encoding/ssz/query/path.go.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment contains a typo (\"o¡found\") and should read \"If we have found a...
null
OffchainLabs__prysm__15954
OffchainLabs/prysm
15,954
defect
5a1a5b5ae5749cbc5c4ea1886f9a9c4724b1fea2
49175cbc2d577ead9de129f849ae1b3ea0c55afe
`RODataColumnsVerifier.ValidProposerSignature`: Ensure the expensive signature verification is only performed once for concurrent requests for the same signature data.
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** `RODataColumnsVerifier.ValidProposerSignature`: Ensure the expensive signature verification is only performed once for concurrent requests for the same signature data. Please read commit by commit, with commit messages. Before t...
diff --git a/beacon-chain/verification/BUILD.bazel b/beacon-chain/verification/BUILD.bazel index fc48a5f9bb28..d2d6621da679 100644 --- a/beacon-chain/verification/BUILD.bazel +++ b/beacon-chain/verification/BUILD.bazel @@ -44,6 +44,7 @@ go_library( "@com_github_prometheus_client_golang//prometheus/promauto:go_...
4
2
0
[{"id": "G0", "claim": "Could the new singleflight dependency be avoided by using sync.OnceValues instead?", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Building the dedup key with fmt.Sprintf would be an order of magnitude slower than plain concatenation...
null
OffchainLabs__prysm__15972
OffchainLabs/prysm
15,972
defect
d0f5253b8d22357e6cbba477fbd9f94cde51c0e6
2b2aad9a200107a0bc82c67befdd524dcdd0021e
Use head for block validation when possible
When validating blocks for pubsub, we always copy a state and advance when we simply need to get a read only beacon state without a copy in most cases since the head state normally works.
diff --git a/beacon-chain/core/blocks/payload.go b/beacon-chain/core/blocks/payload.go index 02dfa0ffb7aa..0d647025f89f 100644 --- a/beacon-chain/core/blocks/payload.go +++ b/beacon-chain/core/blocks/payload.go @@ -86,7 +86,7 @@ func IsExecutionBlock(body interfaces.ReadOnlyBeaconBlockBody) (bool, error) { // def is_e...
2
1
1
[{"id": "G0", "claim": "Errors returned from the new validating code should be wrapped with context before being returned, because unwrapped errors are painful to debug.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The case where the block's epo...
null
OffchainLabs__prysm__15975
OffchainLabs/prysm
15,975
defect
7df60e8c9b75314dc39f19aedaac890e39298ea8
26ded244cb6c6729c5d0ecd46f8a8aac0e2979ab
Add support for fulu fork epoch and bpo schedule
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/WORKSPACE b/WORKSPACE index 651d8177c375..3a92534930f2 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -253,16 +253,16 @@ filegroup( url = "https://github.com/ethereum/EIPs/archive/5480440fe51742ed23342b68cf106cefd427e39d.tar.gz", ) -consensus_spec_version = "v1.6.0-beta.2" +consensus_spec_version = "v1....
4
3
0
[{"id": "G0", "claim": "Using maxBlobs no longer works for this test after adding the blob schedule, and the author asks whether looking up MaxBlobsPerBlock for the specific slot is the proper way to fix the test.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", ...
null
OffchainLabs__prysm__15977
OffchainLabs/prysm
15,977
defect
7df60e8c9b75314dc39f19aedaac890e39298ea8
b714a73f2e95d969044abcfa88250c48a9f2cd92
Use Head to validate sidecars when possible
Do not grab a copy of the parent state when using the head state read only would suffice.
diff --git a/beacon-chain/execution/BUILD.bazel b/beacon-chain/execution/BUILD.bazel index c2445712c896..caf3825cd0da 100644 --- a/beacon-chain/execution/BUILD.bazel +++ b/beacon-chain/execution/BUILD.bazel @@ -100,6 +100,7 @@ go_test( deps = [ "//async/event:go_default_library", "//beacon-chain/...
3
2
1
[{"id": "G0", "claim": "In getVerifyingState, the fixed-size [32]byte roots parentRoot and headRoot should be compared directly (parentRoot == headRoot) instead of via bytes.Equal on their slices, which is more readable and marginally faster.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "s...
null
OffchainLabs__prysm__16033
OffchainLabs/prysm
16,033
defect
2f067c4164ea04ab61be71909dc9f77d0b21edd3
4dc14e570b58e2f6247fe517b800d694ad76b688
Integrate state-diff into `State()`
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** This PR integrates the state diff path into the `State()` function from `db/kv`, which allows reading of states using the state diff db, when the `EnableStateDiff` flag is enabled. **Notes for reviewers:** Files `kv/state_diff_tes...
diff --git a/beacon-chain/db/kv/state.go b/beacon-chain/db/kv/state.go index a84890fcf616..52b2d9b2468a 100644 --- a/beacon-chain/db/kv/state.go +++ b/beacon-chain/db/kv/state.go @@ -28,6 +28,17 @@ func (s *Store) State(ctx context.Context, blockRoot [32]byte) (state.BeaconStat ctx, span := trace.StartSpan(ctx, "Beac...
2
1
0
[{"id": "G0", "claim": "When the state-diff lookup fails with a state-not-found error, State() could fall back to the original implementation, because operators who enabled state diff on a fully or partially synced node may still have states stored in the other bucket.", "category": "correctness", "verdict": "opposed",...
null
OffchainLabs__prysm__16106
OffchainLabs/prysm
16,106
defect
2a23dc7f4a5c8facf5afbf1827dbc395357f5a34
85b508a9e5a1c236776a8457961505dea09133f4
Set logging verbosity per writer hook instead of globally
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** This PR sets the logging verbosity level per writer hook (per output: terminal, log file, etc) rather than setting a global logrus level which limits customizing each output. it set the terminal and log file output to be the same ...
diff --git a/.github/workflows/check-logs.yml b/.github/workflows/check-logs.yml new file mode 100644 index 000000000000..adb1c999771e --- /dev/null +++ b/.github/workflows/check-logs.yml @@ -0,0 +1,23 @@ +name: Check log.go files +on: [ pull_request ] + +jobs: + check-logs: + runs-on: ubuntu-4 + + steps: + ...
1
1
0
[{"id": "G0", "claim": "In cmd/beacon-chain/main.go and cmd/validator/main.go, the error returned by logrus.ParseLevel(verbosity) should be wrapped with context instead of returned bare.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16167
OffchainLabs/prysm
16,167
defect
2ac30f5ce62a094135e95d02a65c3414130e1ede
a4bcbb7da601713dd9d72fa8dbb0338ed2aca9bc
changing isHealthy to isReady
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/changelog/james-prysm_is-ready.md b/changelog/james-prysm_is-ready.md new file mode 100644 index 000000000000..e33181146091 --- /dev/null +++ b/changelog/james-prysm_is-ready.md @@ -0,0 +1,3 @@ +### Changed + +- changed IsHealthy check to IsReady for validator client's interpretation from /eth/v1/node/heal...
1
1
0
[{"id": "G0", "claim": "The health-check request logic should be kept inside the rest handler rather than built inline in IsReady, e.g. by creating a HealthResponse type and passing it to Get.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16169
OffchainLabs/prysm
16,169
defect
7418c00ad6163430c591b6dd5d0d0733dfa65cbc
6c071dd2ce7ee0b4ed75a55dfd8d9ca75d94bb57
feat(primitives): add BuilderIndex SSZ type
This pr adds primitives.BuilderIndex for builder registry indexing in Gloas
diff --git a/changelog/builder-index.md b/changelog/builder-index.md new file mode 100644 index 000000000000..32dfa896a3b9 --- /dev/null +++ b/changelog/builder-index.md @@ -0,0 +1,3 @@ +### Added + +- `primitives.BuilderIndex`: SSZ `uint64` wrapper for builder registry indices. \ No newline at end of file diff --git a...
1
1
0
[{"id": "G0", "claim": "The `t.Parallel()` calls in the top-level test functions are unnecessary since the subtests already call `t.Parallel()`.", "category": "testing", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OffchainLabs__prysm__16183
OffchainLabs/prysm
16,183
defect
9da36a5de61bde42c9deeecc75c61975fd150d7a
97381be9c0e49f38f691ea3c5491c1c5bd2772b8
p2p: batch publish data column sidecars
**What type of PR is this?** Feature What does this PR do? Why is it needed? This PR takes @MarcoPolo 's PR at https://github.com/OffchainLabs/prysm/pull/16130 to completion with tests. The description on his PR: """ a relatively small change to optimize network send order. Without this, network writ...
diff --git a/beacon-chain/p2p/broadcaster.go b/beacon-chain/p2p/broadcaster.go index 6e638071eec5..a40d617689a8 100644 --- a/beacon-chain/p2p/broadcaster.go +++ b/beacon-chain/p2p/broadcaster.go @@ -22,6 +22,7 @@ import ( "github.com/OffchainLabs/prysm/v7/monitoring/tracing/trace" ethpb "github.com/OffchainLabs/pry...
8
7
3
[{"id": "G0", "claim": "Add a test case asserting that each peer is given each expected message, since the current round-robin assertions would miss a bug like publishing each message to only one peer.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In t...
null
OffchainLabs__prysm__16203
OffchainLabs/prysm
16,203
defect
07d1d6bdf9d6615e03f0b814cab473c9fa15ea17
68ff47db10cd8ea84da4fa9d5b0ef430abb097d2
Hdiff start database
Initialize state-diff database on new node startup When starting a node with --enable-state-diff feature flag, the database is now initialized appropriately based on the startup scenario: - New database + checkpoint sync: Set offset to checkpoint state slot, save checkpoint state as full snapshot - New database...
diff --git a/beacon-chain/db/iface/interface.go b/beacon-chain/db/iface/interface.go index d895057f9e9e..a4efe9a9ca7e 100644 --- a/beacon-chain/db/iface/interface.go +++ b/beacon-chain/db/iface/interface.go @@ -89,6 +89,7 @@ type NoHeadAccessDatabase interface { SaveBlocks(ctx context.Context, blocks []interfaces.Rea...
7
6
2
[{"id": "G0", "claim": "The lvl == -1 sentinel returned by SlotInDiffTree is unclear here; the reviewer expected a slot not in the diff tree to surface as an error like the error path above.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When the databas...
null
OffchainLabs__prysm__16268
OffchainLabs/prysm
16,268
defect
055c6eb78486e9548e7251dc540c2a1d6e5e530e
0d9e4aaaab711c357070d682063a2333c6dca276
adding in mid epoch timeout for e2e head synced evaluator
**What type of PR is this?** tests **What does this PR do? Why is it needed?** reduce e2e flakes by adding a mid epoch check for headslot sync **Which issues(s) does this PR fix?** Fixes # **Other notes for review** **Acknowledgements** - [x] I have read [CONTRIBUTING.md](https://github.com/prys...
diff --git a/changelog/james-prysm_longer-e2e-sync-evaluator.md b/changelog/james-prysm_longer-e2e-sync-evaluator.md new file mode 100644 index 000000000000..be45ffa6c09c --- /dev/null +++ b/changelog/james-prysm_longer-e2e-sync-evaluator.md @@ -0,0 +1,3 @@ +### Ignored + +- adding a optimistic check for e2e evlauator ...
1
1
0
[{"id": "G0", "claim": "A DiffSlot method giving the geometric (absolute) difference should be defined on primitives.Slot, so that code like this uses it instead of raw subtraction with defensive underflow checks (and possibly a static analyzer enforcing this).", "category": "maintainability", "verdict": "supported", "...
null
OffchainLabs__prysm__16272
OffchainLabs/prysm
16,272
defect
e336f7fe5939e5439e678896eaf6b9283b57bca3
18d900c4dd2b5b1251ec3303d3ebf672e51d875a
logging: per package verbosity
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** This PR adds a `--log.vmodule` flag to the beacon-chain and validator apps, that allows setting a different verbosity for every* package. *: not every package, but most packages. (all packages that define their logger variable with...
diff --git a/changelog/bastin_per-package-verbosity.md b/changelog/bastin_per-package-verbosity.md new file mode 100644 index 000000000000..801790c7d129 --- /dev/null +++ b/changelog/bastin_per-package-verbosity.md @@ -0,0 +1,3 @@ +### Added + +- Flag `--log.vmodule` to set per-package verbosity levels for logging. \ N...
3
1
1
[{"id": "G0", "claim": "The error message 'must be an absolute package path' is confusing because the validation rejects leading slashes, and should be reworded to something like 'must be a valid package path (no leading or trailing slashes)'.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "sc...
null
OffchainLabs__prysm__16276
OffchainLabs/prysm
16,276
defect
e31f59e04e216fa80a68bc59dbe9e3149351d36d
112eb3b71bfc897fd39d2dd3b6c336e610fdb4ae
Gloas API state structs
**What does this PR do? Why is it needed?** Adds Gloas API structs, and conversion functions (`BeaconStateGloasFromConsensus()`)
diff --git a/api/server/structs/BUILD.bazel b/api/server/structs/BUILD.bazel index cbc20211836e..e624ad2b460d 100644 --- a/api/server/structs/BUILD.bazel +++ b/api/server/structs/BUILD.bazel @@ -9,6 +9,7 @@ go_library( "conversions_blob.go", "conversions_block.go", "conversions_block_executio...
8
3
1
[{"id": "G0", "claim": "The new getters_gloas_test.go should not use require.DeepEqual on a []*ethpb.BuilderPendingWithdrawal slice, since it is documented as unreliable for protobuf messages; compare length and per-element fields instead.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "int...
null
OffchainLabs__prysm__16279
OffchainLabs/prysm
16,279
defect
6a9bcbab3ae24cde8b49a30b419cd264b94e0552
d4073871934add8183ff33bf0b13e9b7dbba7014
removing duplicate logic in /eth/v1/beacon/blocks/{block_id}/root by using blocker lookup
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/beacon-chain/rpc/eth/beacon/handlers.go b/beacon-chain/rpc/eth/beacon/handlers.go index 1b17045cb929..1ff3933040d7 100644 --- a/beacon-chain/rpc/eth/beacon/handlers.go +++ b/beacon-chain/rpc/eth/beacon/handlers.go @@ -8,7 +8,6 @@ import ( "io" "net/http" "strconv" - "strings" "time" "github.com...
3
3
0
[{"id": "G0", "claim": "The `<block root>` bullet in the BlockRoot doc comment duplicates the previous hex-encoded-root bullet and should be removed from it (and the same line removed from the Block method).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
OffchainLabs__prysm__16303
OffchainLabs/prysm
16,303
defect
a7fdd11777464b38e8f4377cdaeb5918ea5dc970
ae6600fe2dbf81b9f3da8bae136701c69160f655
implementing /eth/v2/validator/duties/proposer/{epoch}
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** implements https://github.com/ethereum/beacon-APIs/pull/563 note: similar changes should be done on gRPC probably **Which issues(s) does this PR fix?** Fixes # **Other notes for review** **Acknowledgements** - [x] I ...
diff --git a/beacon-chain/rpc/endpoints.go b/beacon-chain/rpc/endpoints.go index 4b953a1b0726..ce2ff8169844 100644 --- a/beacon-chain/rpc/endpoints.go +++ b/beacon-chain/rpc/endpoints.go @@ -329,6 +329,16 @@ func (s *Service) validatorEndpoints( handler: server.GetProposerDuties, methods: []string{http.MethodGe...
1
1
0
[{"id": "G0", "claim": "Asks whether returning proposerDutiesInfo (carrying the st field) keeps another copy of the beacon state alive, or whether the object goes out of scope quickly.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16339
OffchainLabs/prysm
16,339
defect
14f01bbc6cd9c63851fccd3ee802d96822b0cdad
9dd1370b97aa262059b0105d0acd7350f91764e4
gloas: add read only wrapper for payload envelope
This PR adds read only wrapper for execution payload envelope
diff --git a/changelog/tt_ro-payload-envelope.md b/changelog/tt_ro-payload-envelope.md new file mode 100644 index 000000000000..bc70976aa6bb --- /dev/null +++ b/changelog/tt_ro-payload-envelope.md @@ -0,0 +1,3 @@ +### Added + +- Add read only wrapper for execution payload envelope for gloas diff --git a/consensus-types...
2
1
1
[{"id": "G0", "claim": "The signed envelope's IsNil should also check the state root (validate it as it validates other message fields) before treating the envelope as non-nil.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ROExecutionPayloadEnv...
null
OffchainLabs__prysm__16347
OffchainLabs/prysm
16,347
defect
bb0f70ad60aca8b8a5d3b146b896f1a24dd07e18
3b0f34a79ff1f5c86ed80b9e37b6988d46a05507
GetVersionV2 endpoint
**What does this PR do? Why is it needed?** This PR adds the implementation for `GetVersionV2` based on [ethereum/beacon-APIs#568](https://github.com/ethereum/beacon-APIs/pull/568). Q: is there anything to be done for deprecating `GetVersionV1`?
diff --git a/api/server/structs/endpoints_node.go b/api/server/structs/endpoints_node.go index 58b00fdf3f6c..64a6aed95771 100644 --- a/api/server/structs/endpoints_node.go +++ b/api/server/structs/endpoints_node.go @@ -63,6 +63,19 @@ type PeerCount struct { Connected string `json:"connected"` Disconnecting stri...
7
7
4
[{"id": "G0", "claim": "GetVersionV1 should be marked for deprecation in the comments.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The execution_client field needs omitempty so an absent value is omitted rather than serialized as null, contra...
null
OffchainLabs__prysm__16368
OffchainLabs/prysm
16,368
defect
8ee28394ab9b060557a3e41fc25ce560cd654efd
f2488fb5b270e7a704d70ace57103f8c3953de06
Add gloas block gossip changes
This updates beacon-block gossip validation for Gloas to use the signed execution payload bid instead of the execution payload. It removes execution‑payload‑based checks and introduces bid‑based checks, plus stubs for parent‑payload checks pending blockchain package support Reference: https://github.com/ethereum/con...
diff --git a/beacon-chain/sync/BUILD.bazel b/beacon-chain/sync/BUILD.bazel index 42b84ad1f757..dc01ca025a1d 100644 --- a/beacon-chain/sync/BUILD.bazel +++ b/beacon-chain/sync/BUILD.bazel @@ -54,6 +54,7 @@ go_library( "validate_aggregate_proof.go", "validate_attester_slashing.go", "validate_be...
5
1
1
[{"id": "G0", "claim": "Asks whether, with the Gloas skips added to the Deneb and Bellatrix validators, validateBeaconBlock will now only validate phase 0 block content for Gloas blocks and whether other validation needs to be added.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
OffchainLabs__prysm__16395
OffchainLabs/prysm
16,395
defect
c9a2a0dd86486fa28c8085b6c862088a47f54650
5c256b7ffc5c434eaed434bff2cd69246738771d
Fix our flakiest unit tests
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** This PR fixes the flakiest unit tests in Prysm which are `TestFilterSubnetPeers` and `TestService_BroadcastAttestationWithDiscoveryAttempts`. It also refactors `TestStartDiscV5_DiscoverAllPeers` to use a require.Eventually to ...
diff --git a/beacon-chain/p2p/BUILD.bazel b/beacon-chain/p2p/BUILD.bazel index 06b5a2f42136..a647565d9ab7 100644 --- a/beacon-chain/p2p/BUILD.bazel +++ b/beacon-chain/p2p/BUILD.bazel @@ -200,6 +200,7 @@ go_test( "@com_github_libp2p_go_libp2p//core/peer:go_default_library", "@com_github_libp2p_go_libp2...
8
7
0
[{"id": "G0", "claim": "The rewritten godoc of filterNeededPeers drops the notion of attestation subnets even though the function still only deals with attestations, so the comment no longer states its scope.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
OffchainLabs__prysm__16398
OffchainLabs/prysm
16,398
defect
fdd04a5466e51e8c666c7ea70f2c7f644fc63762
2d8bb20af1598b94e0fcc5a8ba675380a15bebb0
sync: remove unnecessary SignatureBatch.Copy() in batch verifier
**What type of PR is this?** Other **What does this PR do? Why is it needed?** This copy is unnecessary. There is no code path which mutates or would mutate the signature set. Some local profiling indicates this would reduce GC pressure somewhat. It was about 8.5% of the allocations on my mainnet node. **Which issu...
diff --git a/beacon-chain/sync/batch_verifier.go b/beacon-chain/sync/batch_verifier.go index 021a1eb5d2eb..311c0433801f 100644 --- a/beacon-chain/sync/batch_verifier.go +++ b/beacon-chain/sync/batch_verifier.go @@ -58,7 +58,7 @@ func (s *Service) validateWithBatchVerifier(ctx context.Context, message string, defer sp...
2
1
1
[{"id": "G0", "claim": "Add a regression test asserting the caller-provided SignatureBatch set is not mutated by the batch verification path (e.g. lengths/contents unchanged even when performBatchAggregation removes duplicates/aggregates), now that the incoming batch is no longer deep-copied.", "category": "testing", "...
null
OffchainLabs__prysm__16418
OffchainLabs/prysm
16,418
defect
6d8445d4405b97ae53c550fde681ae0c2e0f9b3a
73ce7c8b05e156bc574411fae56dfa5e7f1d92bf
Gloas/request parent payload
This PR adds sync paths to request by RPC the parent Payload in the event that we know the incoming block is based on full and we do not have the payload. It also adds an invalid payload cache and keeps track of some invalid ones that we have seen on the blockchain package.
diff --git a/beacon-chain/blockchain/chain_info.go b/beacon-chain/blockchain/chain_info.go index 695e5add6cd5..85ea26a35d36 100644 --- a/beacon-chain/blockchain/chain_info.go +++ b/beacon-chain/blockchain/chain_info.go @@ -18,6 +18,7 @@ import ( "github.com/OffchainLabs/prysm/v7/encoding/bytesutil" "github.com/Offc...
8
6
3
[{"id": "G0", "claim": "It is confusing that requestPayloadEnvelope processes every envelope a peer returns; the response should be verified (only zero or one envelope expected) instead of blindly feeding all of them through ReceiveExecutionPayloadEnvelope.", "category": "correctness", "verdict": "supported", "priority...
null
OffchainLabs__prysm__16430
OffchainLabs/prysm
16,430
defect
e31f59e04e216fa80a68bc59dbe9e3149351d36d
2c341aaf10c2bcac9f601f7f9ebeeb56ecec9a15
Update consensus node weight to return both empty and full
This PR separates two different weight semantics that were previously conflated in `Weight` `Weight(root)` now consistently returns payload-node weight `ConsensusNodeWeight(root)` is added for consensus-node weight (includes empty + full payload effects in Gloas). The "Head block is not the received block" log path ...
diff --git a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go index 9a5215b1bbdf..528ccf44a04c 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go @@ -624,13 +624,14 @@ fun...
1
1
1
[{"id": "G0", "claim": "Changing Weight to return the consensus node weight leaves one method serving two logging call sites that mean different things, and the method should be renamed (e.g. to PendingNodeWeight or similar) to align with the spec.", "category": "design", "verdict": "supported", "priority": "P1", "scop...
null
OffchainLabs__prysm__16458
OffchainLabs/prysm
16,458
defect
d46621eea352619c2bd1729b33c0af6bfa47d258
23c20d1f1250fc0b279ffa6d62b945d7b705bdea
Evict finalized states in checkpoint states cache
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** This PR evicts finalized states in checkpoint states cache. States are efficiently stored in caches, especially thanks to multi value slices. If 1 state takes 300 MB and 2 states that are really similar are stored in a cache, then ...
diff --git a/beacon-chain/blockchain/service.go b/beacon-chain/blockchain/service.go index ae457480e992..e83c1b48fc22 100644 --- a/beacon-chain/blockchain/service.go +++ b/beacon-chain/blockchain/service.go @@ -212,9 +212,30 @@ func (s *Service) Start() { log.Fatal(err) } s.spawnProcessAttestationsRoutine() + s....
1
1
0
[{"id": "G0", "claim": "The periodic cache-eviction background routine is unnecessary; eviction should instead be hooked onto executePostFinalizationTasks or a similar existing finalization hook.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16460
OffchainLabs/prysm
16,460
defect
d46621eea352619c2bd1729b33c0af6bfa47d258
a3f61f130baaa384d513f131f08bbe3949444af4
Handle missing Payloads
In the event of a late missing Payload, we add a helper that updates the beacon block post state in the NSC as well as handling the boundary caches and calling FCU if we are proposing next slot.
diff --git a/.ethspecify.yml b/.ethspecify.yml index 561cb74e1491..a33e7b576f6f 100644 --- a/.ethspecify.yml +++ b/.ethspecify.yml @@ -73,7 +73,6 @@ exceptions: - GLOAS_FORK_EPOCH#gloas - GLOAS_FORK_VERSION#gloas - MIN_BUILDER_WITHDRAWABILITY_DELAY#gloas - - PAYLOAD_ATTESTATION_DUE_BPS#gloas - SY...
4
3
1
[{"id": "G0", "claim": "If a payload arrives in between these lines, the code may send notifyForkchoiceUpdateGloas twice based on two different results.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The FCU call here uses s.ctx while lateBlockTask us...
null
OffchainLabs__prysm__16461
OffchainLabs/prysm
16,461
defect
7e4a039a7fddfaba13b8a0584f6d65eaaba2c6fc
f5135fe709717bd3e3eda1199d6518f2ff159fa2
Gloas/pending payload dependent root
Only verify the envelope's signature before putting in the queue if non-self-building or the proposer is in the lookahead. Otherwise just ignore. This still can cause a false rejection in a very edgy case of a builder that is chosen exactly after being active and we are syncing from afar.
diff --git a/beacon-chain/sync/pending_payload_envelope_test.go b/beacon-chain/sync/pending_payload_envelope_test.go index d68ed6e9d038..273ebb1f4d39 100644 --- a/beacon-chain/sync/pending_payload_envelope_test.go +++ b/beacon-chain/sync/pending_payload_envelope_test.go @@ -242,6 +242,50 @@ func TestPrunePendingPayload...
1
1
1
[{"id": "G0", "claim": "Please add a unit test for the new self-build-outside-lookahead signature-skip behaviour at line 162 of validate_execution_payload_envelope.go.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__prysm__16468
OffchainLabs/prysm
16,468
defect
bf2485eb711c251c789a14781435a09861782e2a
2821fea5d7e69058c78b0aac664601788f6897d3
Do not request blocks that are being synced
When adding a payload to the pending queue, do not send a batch request if the block is already in forkchoice or being synced. Similar when processing pending attestations.
diff --git a/beacon-chain/blockchain/testing/mock.go b/beacon-chain/blockchain/testing/mock.go index 056b0f447197..11ed206a63f9 100644 --- a/beacon-chain/blockchain/testing/mock.go +++ b/beacon-chain/blockchain/testing/mock.go @@ -78,6 +78,7 @@ type ChainService struct { TargetRoot [32]byte MockHea...
1
1
1
[{"id": "G0", "claim": "The new request condition should also skip requesting a block that is already in the pending queue, not just blocks being synced or in forkchoice.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
OffchainLabs__prysm__16479
OffchainLabs/prysm
16,479
defect
7a652d7ec6e1acb29738bd76d0ba845cd811567a
7c05229f46e5625653beb415cc4280e4bb8368dc
adding the duties stores for validator duties processing
**What type of PR is this?** Other **What does this PR do? Why is it needed?** This PR refactors the way we store different validator duties into a duties store for easier splitting of tasks and in a future pr processing duties for split endpoints. This PR will reduce the number of changes when we start callin...
diff --git a/changelog/james-prysm_duties-store.md b/changelog/james-prysm_duties-store.md new file mode 100644 index 000000000000..05a1f8ab42fd --- /dev/null +++ b/changelog/james-prysm_duties-store.md @@ -0,0 +1,3 @@ +### Ignored + +- refactored validator duties processing to store duties in the duties store which wi...
5
4
1
[{"id": "G0", "claim": "currDependentRoot is read outside the duties lock while UpdateDuties can concurrently rewrite it, so the value used for the current-dependent-root comparison could be stale, whereas previously it was read while holding the lock.", "category": "correctness", "verdict": "supported", "priority": "P...
null
OffchainLabs__prysm__16482
OffchainLabs/prysm
16,482
defect
c620f29aab320ee141ded39197fdbe131d98cff2
aa5fac09c6d42e11ffa4ed96ba5ffef0666b9f05
Fix replay blocks
This PR fixes any `StateByRoot` possible acess to return correctly the CL post-state if a block root is asked for and the EL post-state if a block hash is asked for. ⚠️ This fix includes logical changes on stategen's behavior for example on `replayBlocks`. `replayBlocks` also added in the end a process slots call ...
diff --git a/beacon-chain/blockchain/process_block.go b/beacon-chain/blockchain/process_block.go index c1ca0aa72052..7c9518f168aa 100644 --- a/beacon-chain/blockchain/process_block.go +++ b/beacon-chain/blockchain/process_block.go @@ -145,6 +145,43 @@ func getStateVersionAndPayload(st state.BeaconState) (int, interface...
9
4
1
[{"id": "G0", "claim": "Since replayBlocks no longer performs a processSlots after the change, slots should probably be processed on this path (though the author believes it would be a no-op here).", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
OffchainLabs__prysm__16532
OffchainLabs/prysm
16,532
defect
8680f3f8bbe31d880120078865171849cb7dbbf9
f93de935f1e63af64ffbe6e1a34c65d8d3324ac9
Check pending deposits before applying builder deposits
Add `IsPendingValidator` check to `processDepositRequest` so that deposit requests with builder credentials are routed to the validator pending queue when a pending deposit with a valid signature already exists for the same pubkey Also updated spec test to alpha3 so we can merge this with green CI/CD
diff --git a/.ethspecify.yml b/.ethspecify.yml index a33e7b576f6f..44356a1e2e63 100644 --- a/.ethspecify.yml +++ b/.ethspecify.yml @@ -1,4 +1,4 @@ -version: v1.7.0-alpha.2 +version: v1.7.0-alpha.3 style: full specrefs: @@ -49,6 +49,8 @@ exceptions: - RANDOM_CHALLENGE_KZG_CELL_BATCH_DOMAIN#fulu # fulu ...
4
4
0
[{"id": "G0", "claim": "The pull request's two changelog files should be merged into a single changelog file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "IsPendingValidator should not silently swallow the deposit-signature verification error;...
null
OffchainLabs__prysm__16534
OffchainLabs/prysm
16,534
defect
ff3c54761d7a0ff674da57440e2e9050fe798fc9
a67870dd618cb8ce472b61fa9045e7886ff64fc1
Hdiff fixes 2
In 3 places, in order to see if db has a state, we're directly reading from the `stateBucket` in a bolt tx. This would cause problems when using state diffs. So this PR moves those checks outside of the tx and calls the `HasState()` function which already accounts for everything. due to a bug where these `HasState...
diff --git a/beacon-chain/db/kv/blocks.go b/beacon-chain/db/kv/blocks.go index 0bf417574eb4..c14834c6afbf 100644 --- a/beacon-chain/db/kv/blocks.go +++ b/beacon-chain/db/kv/blocks.go @@ -680,8 +680,8 @@ func (s *Store) SaveHeadBlockRoot(ctx context.Context, blockRoot [32]byte) error ctx, span := trace.StartSpan(ctx, ...
1
1
0
[{"id": "G0", "claim": "Move the `if !(hasStateInDB || hasStateSummary)` early-return check outside the bolt write transaction in SaveHeadBlockRoot, so the failed-validation path does not open a write transaction.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16548
OffchainLabs/prysm
16,548
defect
605ab1c7ace5f7dc6b016c6239ca762fd1aacb35
c63a1d6b7eb2f30684b2fb394a6d01e1cb0ad294
gloas validator client proposer preferences
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** adds validator client call to proposer preferences. adds todo comments for when we fully replace prepare beacon proposer endpoint with proposer preferences. **Which issues(s) does this PR fix?** partially addresses https://gi...
diff --git a/.ethspecify.yml b/.ethspecify.yml index cb13964a6154..728fb97b4e25 100644 --- a/.ethspecify.yml +++ b/.ethspecify.yml @@ -61,7 +61,6 @@ exceptions: - ATTESTATION_TIMELINESS_INDEX#gloas - BUILDER_INDEX_FLAG#gloas - BUILDER_INDEX_SELF_BUILD#gloas - - DOMAIN_PROPOSER_PREFERENCES#gloas -...
4
3
1
[{"id": "G0", "claim": "The proposer preferences verifier should sign with DomainProposerPreferences instead of DomainBeaconProposer — the author asks to confirm the added line is right.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new SignReq...
null
OffchainLabs__prysm__16556
OffchainLabs/prysm
16,556
defect
a6e669d8bcc849e4aad32101d45502d1ce72c4c8
78c0a9de84dc9c0db5b5da5a75647d4c22ef7e15
Fix forkchoice safe/finalized hash for reorged payloads
In ePBS, a checkpoint finalizes a beacon block root, not a payload. We should be using parent payload hash for the given block root as a checkpoint finalizes a beacon block root, not a payload This was observed repeatedly on the ePBS devnet (prysm-geth-3) **Timeline (episode 3, block 92173):** - `16:46:2...
diff --git a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go index 2c30252134d8..5a0bb4e05401 100644 --- a/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go +++ b/beacon-chain/forkchoice/doubly-linked-tree/forkchoice.go @@ -563,17 +563,17 @@ fun...
1
1
1
[{"id": "G0", "claim": "Returning the parent payload hash for a checkpoint root unconditionally will give the wrong result pre-Gloas, where a checkpoint finalizes the block's own payload.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
OffchainLabs__prysm__16557
OffchainLabs/prysm
16,557
defect
605ab1c7ace5f7dc6b016c6239ca762fd1aacb35
a2f62d7509f1b2493bdd831b11ba58ba18280d1d
fix: add missing ePBS values to /eth/v1/config/spec
Add PTC_SIZE, MAX_PAYLOAD_ATTESTATIONS, BUILDER_REGISTRY_LIMIT, and BUILDER_PENDING_WITHDRAWALS_LIMIT as fieldparams-derived constants exposed via the config spec endpoint. Also add DOMAIN_PROPOSER_PREFERENCE (0x0d000000) to the BeaconChainConfig struct and mainnet config. <!-- Thanks for sending a PR! Before subm...
diff --git a/beacon-chain/blockchain/execution_engine.go b/beacon-chain/blockchain/execution_engine.go index 6c87c0ca8b6d..a824ec8bb60c 100644 --- a/beacon-chain/blockchain/execution_engine.go +++ b/beacon-chain/blockchain/execution_engine.go @@ -271,7 +271,7 @@ func (s *Service) notifyNewPayload(ctx context.Context, s...
3
2
1
[{"id": "G0", "claim": "The new changelog entry should probably be under an `Added` heading rather than `Fixed`, since the PR adds values to /eth/v1/config/spec.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The author needs to run `bazel run //:...
null
OffchainLabs__prysm__16564
OffchainLabs/prysm
16,564
defect
a6e669d8bcc849e4aad32101d45502d1ce72c4c8
67e2a2085ce960ca32551aa6c75f0c83b8cc8309
adding proposer duties to duties v2
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** proposer lookahead was introduced in fulu but we didn't use it for our get duties endpoint. proposer preferences explicitly needs to know the proposers in the next epoch, so this pr will add the required duties used for propo...
diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/duties_v2.go b/beacon-chain/rpc/prysm/v1alpha1/validator/duties_v2.go index 8419b68ac3d5..c22137215b3f 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/duties_v2.go +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/duties_v2.go @@ -8,6 +8,7 @@ import ( "githu...
1
1
0
[{"id": "G0", "claim": "Fix the casing of GLOAS to Gloas in the comment about next epoch proposer duties.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
OffchainLabs__prysm__16566
OffchainLabs/prysm
16,566
defect
259f526c8d0701d9b5990e28f15c08183e8b8873
efd4af514243b66ced580c68fce91e5ae7372cc2
Fix payload attributes to use expected withdrawals from state when empty
- When the parent block is empty in Gloas, `process_withdrawals` returns early and does not update `payload_expected_withdrawals` in the beacon state. However, the proposer and FCU attribute builders were always computing fresh withdrawals via `ExpectedWithdrawals()`, causing a mismatch when the execution payload env...
diff --git a/beacon-chain/blockchain/execution_engine.go b/beacon-chain/blockchain/execution_engine.go index 6c87c0ca8b6d..b207b1c6e7a7 100644 --- a/beacon-chain/blockchain/execution_engine.go +++ b/beacon-chain/blockchain/execution_engine.go @@ -372,6 +372,28 @@ func (s *Service) getPayloadAttribute(ctx context.Contex...
2
2
0
[{"id": "G0", "claim": "getPayloadAttribute has become too complicated; its per-fork branches should be split into helpers, and support for proposing capella/bellatrix etc. should possibly be dropped.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ne...
null
OffchainLabs__prysm__16576
OffchainLabs/prysm
16,576
defect
bfbca75862d3eb7e144e15734513623d8bfe6ee4
c438b9d6edcbe613c2c2ec1e3a7c32533d3c573c
adding fallback to origin block root on previous dependent root is empty
**What type of PR is this?** Bug fix **What does this PR do? Why is it needed?** Adding fall back to the previous dependent root when it's equal to empty. This fixes an issue for certain validator client architecture comparing attester dependent root to head event for reorg purposes. tested against prysm and l...
diff --git a/beacon-chain/blockchain/head.go b/beacon-chain/blockchain/head.go index 7518d5231c63..5e18d8ad5cea 100644 --- a/beacon-chain/blockchain/head.go +++ b/beacon-chain/blockchain/head.go @@ -358,6 +358,9 @@ func (s *Service) notifyNewHeadEvent( if err != nil { return errors.Wrap(err, "could not get duty ...
1
1
0
[{"id": "G0", "claim": "Just a nit: the copy in line 355 (`previousDutyDependentRoot := currentDutyDependentRoot`) can be removed and the zero-hash fallback assignment moved outside of the `currEpoch > 0` block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16577
OffchainLabs/prysm
16,577
defect
101dd5571009e12f64f7012b62f2408199b17c7d
b667154a594b0e9b11ad1b05002430ba56d77608
Use highest bid cache to select P2P bid over self-build in proposer
- Share the `HighestExecutionPayloadBidCache` between the sync and proposer layers. The cache is now created in node.go and injected into both the sync service and the validator RPC server. - When building a Gloas block, compare the highest P2P bid value against the local EL block value and use the highest with re...
diff --git a/beacon-chain/node/node.go b/beacon-chain/node/node.go index 56ccedb32e3f..c203313d2a55 100644 --- a/beacon-chain/node/node.go +++ b/beacon-chain/node/node.go @@ -88,51 +88,52 @@ type serviceFlagOpts struct { // full PoS node. It handles the lifecycle of the entire system and registers // services to a se...
4
4
0
[{"id": "G0", "claim": "The nil guard around re-initializing highestExecutionPayloadBidCache in initCaches is unnecessary given how the field is used.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new isSelfBuild local should just reuse the...
null
OffchainLabs__prysm__16579
OffchainLabs/prysm
16,579
defect
1f72a1428cda7638a2859a884a78e49619653b32
25f1dd669f59ccc3271c54ed3ad3f9932b30965c
Ignore blocks and data columns based on old blocks.
This PR ignores blocks and data column sidecars that are built on top of parents which are both canonical and before our justified checkpoint. There are a number of extra conditions that are added to make this feature bullet proof: - Only ignore blocks/sidecars that are for the current epoch. This means that these a...
diff --git a/beacon-chain/blockchain/chain_info.go b/beacon-chain/blockchain/chain_info.go index 13dd8da45902..e6e657618d96 100644 --- a/beacon-chain/blockchain/chain_info.go +++ b/beacon-chain/blockchain/chain_info.go @@ -59,6 +59,7 @@ type ForkchoiceFetcher interface { IsCanonical(ctx context.Context, blockRoot [32...
2
1
0
[{"id": "G0", "claim": "ShouldIgnoreData swallows every error from ForkChoiceStore.Slot; it should filter out only ErrNilNode errors or, more simply, return the error and let the caller decide what to do.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A co...
null
OffchainLabs__prysm__16591
OffchainLabs/prysm
16,591
defect
445487b4a73031463eebc8f8812ec8f8d31fc164
b8caeff0da7c0aac1990e64dd60947ec60e34049
Re-add next-epoch lookahead for PTC duties
**What type of PR is this?** Feature **What does this PR do? Why is it needed?** Add current and next epoch lookahead as per https://github.com/ethereum/beacon-APIs/pull/592 **Which issues(s) does this PR fix?** Fixes # **Other notes for review** **Acknowledgements** - [ ] I have read [CONTRIBUT...
diff --git a/beacon-chain/rpc/eth/validator/handlers.go b/beacon-chain/rpc/eth/validator/handlers.go index 872a25d490e5..5b913555b120 100644 --- a/beacon-chain/rpc/eth/validator/handlers.go +++ b/beacon-chain/rpc/eth/validator/handlers.go @@ -1146,18 +1146,18 @@ type ptcDuty struct { slot primitives.Slot }...
1
1
0
[{"id": "G0", "claim": "Use the .Add(1) helper instead of raw +1 arithmetic for the new next-epoch epoch computations in dutiesv2 and GetPTCDuties.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
OffchainLabs__prysm__16600
OffchainLabs/prysm
16,600
defect
d8150ac20ccab3e366692211d9243ef018953326
cac686e6eb8f3a3815f4da98b1117f95b5be02db
Refactor gloas process_execution_payload into distinct entry points
## Summary - Decompose `process_execution_payload` into four explicit entry points, one per caller - Extract shared helpers: `cacheLatestBlockHeaderStateRoot`, `setLatestBlockHeaderStateRoot`, `validatePayloadConsistency`, `verifyPostStateRoot` - Unexport package-internal functions: `applyExecutionPayloadS...
diff --git a/beacon-chain/blockchain/process_block.go b/beacon-chain/blockchain/process_block.go index 7e502ad0c307..3f70fe225e66 100644 --- a/beacon-chain/blockchain/process_block.go +++ b/beacon-chain/blockchain/process_block.go @@ -186,7 +186,7 @@ func (s *Service) applyPayloadIfNeeded(ctx context.Context, b interfa...
5
2
1
[{"id": "G0", "claim": "VerifyExecutionPayloadEnvelopeSignature may need to be used in other places, so it should not be made an internal (unexported) function.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "When the envelope is invalid, the state's latest...
null
OffchainLabs__prysm__16614
OffchainLabs/prysm
16,614
defect
67cc68c3bb949b4675dac3bbf73a5f01e8cda078
a8b911208de26020e01ddf6839d9c373dda09764
Add gRPC endpoint to submit signed execution payload bids
## Summary - Adds `SubmitSignedExecutionPayloadBid` RPC to the `BeaconNodeValidator` gRPC service - Broadcasts the signed bid to the P2P gossip network - Updates all interface implementations (gRPC client, beacon-API client), and mocks
diff --git a/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel b/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel index 2f3f6650ebbf..8a11fa5835f3 100644 --- a/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel +++ b/beacon-chain/rpc/prysm/v1alpha1/validator/BUILD.bazel @@ -32,6 +32,7 @@ go_library( ...
2
1
1
[{"id": "G0", "claim": "Consider having SubmitSignedExecutionPayloadBid call (c *HighestExecutionPayloadBidCache).SetIfHigher so that, in a node holding multiple keys where one is a builder and another becomes the proposer in the same slot, the cached highest bid is available to the node's own proposer.", "category": "...
null
OffchainLabs__prysm__16615
OffchainLabs/prysm
16,615
defect
68c4c36e65a3a418a15225224c162bfafb1ac590
5e0b55e790c9304685cd57ff02605a656f44541c
return 404 for requests that ask for pre checkpoint sync state
<!-- Thanks for sending a PR! Before submitting: 1. If this is your first PR, check out our contribution guide here https://docs.prylabs.network/docs/contribute/contribution-guidelines You will then need to sign our Contributor License Agreement (CLA), which will show up as a comment from a bot in this pull requ...
diff --git a/beacon-chain/rpc/eth/shared/BUILD.bazel b/beacon-chain/rpc/eth/shared/BUILD.bazel index a80fdddd6b27..9f55ca427c11 100644 --- a/beacon-chain/rpc/eth/shared/BUILD.bazel +++ b/beacon-chain/rpc/eth/shared/BUILD.bazel @@ -12,6 +12,7 @@ go_library( "//api/server/structs:go_default_library", "/...
1
1
0
[{"id": "G0", "claim": "WriteStateFetchError should fold the stategen.ErrNoDataForSlot check into the existing stateNotFoundError errors.As condition (per the applied suggestion) instead of using a separate preceding errors.Is block that duplicates the same 404 handling.", "category": "maintainability", "verdict": "sup...
null