mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 14:28:37 +00:00
Rename eip4844 to deneb (#4129)
* rename 4844 to deneb * rename 4844 to deneb * move excess data gas field * get EF tests working * fix ef tests lint * fix the blob identifier ef test * fix accessed files ef test script * get beacon chain tests passing
This commit is contained in:
@@ -287,7 +287,7 @@ impl<T: BeaconChainTypes> Worker<T> {
|
||||
Err(BeaconChainError::NoKzgCommitmentsFieldOnBlock) => {
|
||||
debug!(
|
||||
self.log,
|
||||
"Peer requested blobs for a pre-eip4844 block";
|
||||
"Peer requested blobs for a pre-deneb block";
|
||||
"peer" => %peer_id,
|
||||
"block_root" => ?root,
|
||||
);
|
||||
@@ -707,11 +707,11 @@ impl<T: BeaconChainTypes> Worker<T> {
|
||||
let data_availability_boundary = match self.chain.data_availability_boundary() {
|
||||
Some(boundary) => boundary,
|
||||
None => {
|
||||
debug!(self.log, "Eip4844 fork is disabled");
|
||||
debug!(self.log, "Deneb fork is disabled");
|
||||
self.send_error_response(
|
||||
peer_id,
|
||||
RPCResponseErrorCode::ServerError,
|
||||
"Eip4844 fork is disabled".into(),
|
||||
"Deneb fork is disabled".into(),
|
||||
request_id,
|
||||
);
|
||||
return;
|
||||
|
||||
@@ -382,7 +382,7 @@ fn test_parent_lookup_rpc_failure() {
|
||||
&mut cx,
|
||||
RPCError::ErrorResponse(
|
||||
RPCResponseErrorCode::ResourceUnavailable,
|
||||
"older than eip4844".into(),
|
||||
"older than deneb".into(),
|
||||
),
|
||||
);
|
||||
let id2 = rig.expect_parent_request();
|
||||
@@ -424,7 +424,7 @@ fn test_parent_lookup_too_many_attempts() {
|
||||
&mut cx,
|
||||
RPCError::ErrorResponse(
|
||||
RPCResponseErrorCode::ResourceUnavailable,
|
||||
"older than eip4844".into(),
|
||||
"older than deneb".into(),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -467,7 +467,7 @@ fn test_parent_lookup_too_many_download_attempts_no_blacklist() {
|
||||
&mut cx,
|
||||
RPCError::ErrorResponse(
|
||||
RPCResponseErrorCode::ResourceUnavailable,
|
||||
"older than eip4844".into(),
|
||||
"older than deneb".into(),
|
||||
),
|
||||
);
|
||||
} else {
|
||||
@@ -509,7 +509,7 @@ fn test_parent_lookup_too_many_processing_attempts_must_blacklist() {
|
||||
&mut cx,
|
||||
RPCError::ErrorResponse(
|
||||
RPCResponseErrorCode::ResourceUnavailable,
|
||||
"older than eip4844".into(),
|
||||
"older than deneb".into(),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -151,10 +151,10 @@ impl<T: EthSpec, B: BatchConfig> BatchInfo<T, B> {
|
||||
/// ... | 30 | 31 | 32 | 33 | 34 | ... | 61 | 62 | 63 | 64 | 65 |
|
||||
/// Batch 1 | Batch 2 | Batch 3
|
||||
///
|
||||
/// NOTE: Removed the shift by one for eip4844 because otherwise the last batch before the blob
|
||||
/// NOTE: Removed the shift by one for deneb because otherwise the last batch before the blob
|
||||
/// fork boundary will be of mixed type (all blocks and one last blockblob), and I don't want to
|
||||
/// deal with this for now.
|
||||
/// This means finalization might be slower in eip4844
|
||||
/// This means finalization might be slower in deneb
|
||||
pub fn new(start_epoch: &Epoch, num_of_epochs: u64, batch_type: ByRangeRequestType) -> Self {
|
||||
let start_slot = start_epoch.start_slot(T::slots_per_epoch());
|
||||
let end_slot = start_slot + num_of_epochs * T::slots_per_epoch();
|
||||
|
||||
Reference in New Issue
Block a user