Update ProposeBeaconBlock Prysm RPC for Deneb (Non builder) (#12495)

This commit is contained in:
terencechain
2023-06-07 07:08:42 -07:00
committed by Preston Van Loon
parent 2dadf36fa9
commit 5b1634b335
8 changed files with 171 additions and 50 deletions

View File

@@ -108,6 +108,10 @@ func (e *ExecutionBlock) UnmarshalJSON(enc []byte) error {
edg, has := decoded["excessDataGas"]
if has && edg != nil {
e.Version = version.Deneb
e.ExcessDataGas, err = hexutil.DecodeUint64(edg.(string))
if err != nil {
return err
}
}
dgu, has := decoded["dataGasUsed"]
if has && dgu != nil {