mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
Update ProposeBeaconBlock Prysm RPC for Deneb (Non builder) (#12495)
This commit is contained in:
committed by
Preston Van Loon
parent
2dadf36fa9
commit
5b1634b335
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user