Remove unused param from prepareForkedBlockReading (#5037)
This commit is contained in:
parent
d358aa67cb
commit
3bda24d4d1
|
@ -923,7 +923,7 @@ template unrecognizedFieldWarning =
|
||||||
|
|
||||||
## ForkedBeaconBlock
|
## ForkedBeaconBlock
|
||||||
template prepareForkedBlockReading(
|
template prepareForkedBlockReading(
|
||||||
reader: var JsonReader[RestJson], value: untyped,
|
reader: var JsonReader[RestJson],
|
||||||
version: var Option[ConsensusFork],
|
version: var Option[ConsensusFork],
|
||||||
data: var Option[JsonString],
|
data: var Option[JsonString],
|
||||||
blockTypeName: cstring) =
|
blockTypeName: cstring) =
|
||||||
|
@ -967,7 +967,7 @@ proc readValue*[BlockType: ForkedBeaconBlock](
|
||||||
version: Option[ConsensusFork]
|
version: Option[ConsensusFork]
|
||||||
data: Option[JsonString]
|
data: Option[JsonString]
|
||||||
|
|
||||||
prepareForkedBlockReading(reader, value, version, data, "ForkedBeaconBlock")
|
prepareForkedBlockReading(reader, version, data, "ForkedBeaconBlock")
|
||||||
|
|
||||||
case version.get():
|
case version.get():
|
||||||
of ConsensusFork.Phase0:
|
of ConsensusFork.Phase0:
|
||||||
|
@ -1039,7 +1039,7 @@ proc readValue*[BlockType: ForkedBlindedBeaconBlock](
|
||||||
version: Option[ConsensusFork]
|
version: Option[ConsensusFork]
|
||||||
data: Option[JsonString]
|
data: Option[JsonString]
|
||||||
|
|
||||||
prepareForkedBlockReading(reader, value, version, data,
|
prepareForkedBlockReading(reader, version, data,
|
||||||
"ForkedBlindedBeaconBlock")
|
"ForkedBlindedBeaconBlock")
|
||||||
|
|
||||||
case version.get():
|
case version.get():
|
||||||
|
@ -1111,7 +1111,7 @@ proc readValue*[BlockType: Web3SignerForkedBeaconBlock](
|
||||||
version: Option[ConsensusFork]
|
version: Option[ConsensusFork]
|
||||||
data: Option[JsonString]
|
data: Option[JsonString]
|
||||||
|
|
||||||
prepareForkedBlockReading(reader, value, version, data,
|
prepareForkedBlockReading(reader, version, data,
|
||||||
"Web3SignerForkedBeaconBlock")
|
"Web3SignerForkedBeaconBlock")
|
||||||
|
|
||||||
case version.get():
|
case version.get():
|
||||||
|
|
Loading…
Reference in New Issue