Merge branch 'unstable' of https://github.com/sigp/lighthouse into merge-unstable-deneb-aug-24

This commit is contained in:
realbigsean
2023-08-24 14:34:32 -04:00
8 changed files with 19 additions and 19 deletions

View File

@@ -299,7 +299,8 @@ macro_rules! field {
}
fn update_pattern(spec: &ChainSpec) -> UpdatePattern {
$update_pattern(spec)
let update_pattern = $update_pattern;
update_pattern(spec)
}
fn get_value(
@@ -307,7 +308,8 @@ macro_rules! field {
vindex: u64,
spec: &ChainSpec,
) -> Result<Self::Value, ChunkError> {
$get_value(state, vindex, spec)
let get_value = $get_value;
get_value(state, vindex, spec)
}
fn is_fixed_length() -> bool {

View File

@@ -167,7 +167,7 @@ impl<E: EthSpec> KeyValueStore<E> for LevelDB<E> {
)
};
for (start_key, end_key) in vec![
for (start_key, end_key) in [
endpoints(DBColumn::BeaconStateTemporary),
endpoints(DBColumn::BeaconState),
] {