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:
realbigsean
2023-03-26 11:49:16 -04:00
committed by GitHub
parent d84117c0d0
commit a5addf661c
90 changed files with 572 additions and 549 deletions

View File

@@ -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(),
),
);
}

View File

@@ -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();