Restrict max code size to 23999 bytes for EIP-150 and after.
Former-commit-id: 379c1e17d6740be225ed99bad73732330bd9c10a
This commit is contained in:
@@ -85,6 +85,10 @@ pub struct EthashParams {
|
||||
/// See main EthashParams docs.
|
||||
#[serde(rename="eip161dTransition")]
|
||||
pub eip161d_transition: Option<Uint>,
|
||||
|
||||
/// See main EthashParams docs.
|
||||
#[serde(rename="maxCodeSize")]
|
||||
pub max_code_size: Option<Uint>,
|
||||
}
|
||||
|
||||
/// Ethash engine deserialization.
|
||||
|
||||
Reference in New Issue
Block a user