fix(ef-tests): seal engine typo and deserialization (#4997)

This commit is contained in:
Roman Krasiuk
2023-10-12 16:30:13 +03:00
committed by GitHub
parent f7bffeef53
commit 422f38ac06

View File

@ -35,7 +35,7 @@ pub struct BlockchainTest {
pub network: ForkSpec,
#[serde(default)]
/// Engine spec.
pub self_engine: SealEngine,
pub seal_engine: SealEngine,
}
/// A block header in an Ethereum blockchain test.
@ -357,7 +357,6 @@ impl From<ForkSpec> for ChainSpec {
/// Possible seal engines.
#[derive(Debug, PartialEq, Eq, Default, Deserialize)]
#[serde(rename_all = "camelCase")]
pub enum SealEngine {
/// No consensus checks.
#[default]