mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
updated lib
This commit is contained in:
parent
f1ca526e33
commit
e72d2399da
@ -109,12 +109,12 @@ func (e *EngineImpl) ExecutePayloadV1(ctx context.Context, payload ExecutionPayl
|
||||
transactions[i] = ([]byte)(transaction)
|
||||
}
|
||||
res, err := e.api.EngineExecutePayloadV1(ctx, &types2.ExecutionPayload{
|
||||
ParentHash: gointerfaces.ConvertHashToH256(payload.ParentHash),
|
||||
BlockHash: gointerfaces.ConvertHashToH256(payload.BlockHash),
|
||||
StateRoot: gointerfaces.ConvertHashToH256(payload.StateRoot),
|
||||
Coinbase: gointerfaces.ConvertAddressToH160(payload.Coinbase),
|
||||
ReceiptRoot: gointerfaces.ConvertHashToH256(payload.ReceiptRoot),
|
||||
// LogsBloom: gointerfaces.ConvertBytesToH2048(([]byte)(payload.LogsBloom)),
|
||||
ParentHash: gointerfaces.ConvertHashToH256(payload.ParentHash),
|
||||
BlockHash: gointerfaces.ConvertHashToH256(payload.BlockHash),
|
||||
StateRoot: gointerfaces.ConvertHashToH256(payload.StateRoot),
|
||||
Coinbase: gointerfaces.ConvertAddressToH160(payload.Coinbase),
|
||||
ReceiptRoot: gointerfaces.ConvertHashToH256(payload.ReceiptRoot),
|
||||
LogsBloom: gointerfaces.ConvertBytesToH2048(([]byte)(payload.LogsBloom)),
|
||||
Random: gointerfaces.ConvertHashToH256(payload.Random),
|
||||
BlockNumber: (uint64)(payload.BlockNumber),
|
||||
GasLimit: (uint64)(payload.GasLimit),
|
||||
|
2
go.mod
2
go.mod
@ -35,7 +35,7 @@ require (
|
||||
github.com/json-iterator/go v1.1.12
|
||||
github.com/julienschmidt/httprouter v1.3.0
|
||||
github.com/kevinburke/go-bindata v3.21.0+incompatible
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211124065323-9b501d57799a
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211125064855-057925ba0887
|
||||
github.com/ledgerwatch/log/v3 v3.4.0
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0
|
||||
github.com/logrusorgru/aurora/v3 v3.0.0
|
||||
|
4
go.sum
4
go.sum
@ -596,8 +596,8 @@ github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3P
|
||||
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
|
||||
github.com/leanovate/gopter v0.2.9 h1:fQjYxZaynp97ozCzfOyOuAGOU4aU/z37zf/tOujFk7c=
|
||||
github.com/leanovate/gopter v0.2.9/go.mod h1:U2L/78B+KVFIx2VmW6onHJQzXtFb+p5y3y2Sh+Jxxv8=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211124065323-9b501d57799a h1:dml/Mwe0ReKdFy2rSu0OJ6KNFMOfXKMZUKU67dc5xuQ=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211124065323-9b501d57799a/go.mod h1:lyGP3i0x4CeabdKZ4beycD5xZfHWZwJsAX+70OfGj4Y=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211125064855-057925ba0887 h1:HchYy3tR+n6rV2TIZgxHKEE3sPxVO7k/Anm8dqtdR1g=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20211125064855-057925ba0887/go.mod h1:lyGP3i0x4CeabdKZ4beycD5xZfHWZwJsAX+70OfGj4Y=
|
||||
github.com/ledgerwatch/log/v3 v3.4.0 h1:SEIOcv5a2zkG3PmoT5jeTU9m/0nEUv0BJS5bzsjwKCI=
|
||||
github.com/ledgerwatch/log/v3 v3.4.0/go.mod h1:VXcz6Ssn6XEeU92dCMc39/g1F0OYAjw1Mt+dGP5DjXY=
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0 h1:Usvz87YoTG0uePIV8woOof5cQnLXGYa162rFf3YnwaQ=
|
||||
|
Loading…
Reference in New Issue
Block a user