fixes after merge

This commit is contained in:
realbigsean
2023-07-17 09:50:32 -04:00
parent b96db45090
commit 0f514cbb36
5 changed files with 30 additions and 45 deletions

View File

@@ -450,7 +450,9 @@ impl<E: EthSpec> mev_rs::BlindedBlockProvider for MockBuilder<E> {
value: to_ssz_rs(&Uint256::from(DEFAULT_BUILDER_PAYLOAD_VALUE_WEI))?,
public_key: self.builder_sk.public_key(),
}),
ForkName::Base | ForkName::Altair | ForkName::Deneb => return Err(MevError::InvalidFork),
ForkName::Base | ForkName::Altair | ForkName::Deneb => {
return Err(MevError::InvalidFork)
}
};
*message.gas_limit_mut() = cached_data.gas_limit;