Compare commits

..

3 Commits

Author SHA1 Message Date
b6d72df43a debug 2024-05-06 13:27:34 +08:00
a74854121b Use plugeth-utils tag 2024-04-23 18:51:37 +08:00
5c11ceee96 [wip] Update plugeth-utils for c-kzg-4844 patch 2024-04-03 14:02:51 +08:00
3 changed files with 9 additions and 3 deletions

View File

@ -1279,6 +1279,12 @@ func RPCMarshalBlock(block *types.Block, inclTx bool, fullTx bool, config *param
fields["uncles"] = uncleHashes
if block.Header().WithdrawalsHash != nil {
fields["withdrawals"] = block.Withdrawals()
log.Warn("block.Withdrawals: ", block.Withdrawals())
if block.Withdrawals() == nil {
log.Warn("block.Withdrawals is nil")
}
} else {
log.Warn("block.WithdrawalsHash not set")
}
return fields
}

View File

@ -114,5 +114,5 @@ require (
replace (
github.com/ethereum/go-ethereum => ../
github.com/openrelayxyz/plugeth-utils => git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-1
github.com/openrelayxyz/plugeth-utils => git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-0
)

View File

@ -1,6 +1,6 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-1 h1:WMdo9Pb5lAn0e2WC1CcD6/mRTWwU0r2KjFoEh0mh2rs=
git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-1/go.mod h1:Wf47tlE95PHZto1PMFRlmQAf98MBoNSRbwnQxeq0+Z0=
git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-0 h1:4GwCBbdLB8mCZINDzoUqpPq7aP4Ha5PPYCyG2h6ee6s=
git.vdb.to/cerc-io/plugeth-utils v1.5.0-cerc-0/go.mod h1:COwKAuTZIsCouCOrIDBhvHZqpbOO1Ojgdy5KTvL8mJg=
github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=