mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(ef-tests): seal engine typo and deserialization (#4997)
This commit is contained in:
@ -35,7 +35,7 @@ pub struct BlockchainTest {
|
|||||||
pub network: ForkSpec,
|
pub network: ForkSpec,
|
||||||
#[serde(default)]
|
#[serde(default)]
|
||||||
/// Engine spec.
|
/// Engine spec.
|
||||||
pub self_engine: SealEngine,
|
pub seal_engine: SealEngine,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A block header in an Ethereum blockchain test.
|
/// A block header in an Ethereum blockchain test.
|
||||||
@ -357,7 +357,6 @@ impl From<ForkSpec> for ChainSpec {
|
|||||||
|
|
||||||
/// Possible seal engines.
|
/// Possible seal engines.
|
||||||
#[derive(Debug, PartialEq, Eq, Default, Deserialize)]
|
#[derive(Debug, PartialEq, Eq, Default, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
|
||||||
pub enum SealEngine {
|
pub enum SealEngine {
|
||||||
/// No consensus checks.
|
/// No consensus checks.
|
||||||
#[default]
|
#[default]
|
||||||
|
|||||||
Reference in New Issue
Block a user