mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
removed missingHash (#7973)
This commit is contained in:
parent
63ecbf88ba
commit
b4057da8e6
3
go.mod
3
go.mod
@ -3,7 +3,7 @@ module github.com/ledgerwatch/erigon
|
||||
go 1.19
|
||||
|
||||
require (
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230804205055-30dd40488128
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230806000623-e9a42e443c30
|
||||
github.com/ledgerwatch/erigon-snapshot v1.2.1-0.20230622075030-1d69651854c2
|
||||
github.com/ledgerwatch/log/v3 v3.8.0
|
||||
github.com/ledgerwatch/secp256k1 v1.0.0
|
||||
@ -34,7 +34,6 @@ require (
|
||||
github.com/dop251/goja v0.0.0-20220405120441-9037c2b61cbf
|
||||
github.com/edsrzf/mmap-go v1.1.0
|
||||
github.com/emicklei/dot v1.4.2
|
||||
github.com/emirpasic/gods v1.18.1
|
||||
github.com/fjl/gencodec v0.0.0-20220412091415-8bb9e558978c
|
||||
github.com/gballet/go-verkle v0.0.0-20221121182333-31427a1f2d35
|
||||
github.com/go-chi/chi/v5 v5.0.8
|
||||
|
6
go.sum
6
go.sum
@ -244,8 +244,6 @@ github.com/elastic/gosigar v0.14.2 h1:Dg80n8cr90OZ7x+bAax/QjoW/XqTI11RmA79ZwIm9/
|
||||
github.com/elastic/gosigar v0.14.2/go.mod h1:iXRIGg2tLnu7LBdpqzyQfGDEidKCfWcCMS0WKyPWoMs=
|
||||
github.com/emicklei/dot v1.4.2 h1:UbK6gX4yvrpHKlxuUQicwoAis4zl8Dzwit9SnbBAXWw=
|
||||
github.com/emicklei/dot v1.4.2/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s=
|
||||
github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=
|
||||
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
|
||||
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
|
||||
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
|
||||
@ -499,8 +497,8 @@ github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
|
||||
github.com/kylelemons/godebug v0.0.0-20170224010052-a616ab194758 h1:0D5M2HQSGD3PYPwICLl+/9oulQauOuETfgFvhBDffs0=
|
||||
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-20230804205055-30dd40488128 h1:gXt7ESufHni0J0kEQQxVtoYcPdRphhI6wqta981WzxQ=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230804205055-30dd40488128/go.mod h1:vboh8dAm+JffmhRVPe6ya8E5c2FGVjdTTfp3CdhZz2Y=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230806000623-e9a42e443c30 h1:FdZJ/lz6Uv936nQe/n7tTVc/VXcdXgipC5oPi31TEXk=
|
||||
github.com/ledgerwatch/erigon-lib v0.0.0-20230806000623-e9a42e443c30/go.mod h1:g8v1BUhWTrK1mDMLLzFYMmLfqmfrqQmXyCPxRiBJ7iA=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.2.1-0.20230622075030-1d69651854c2 h1:Ls2itRGHMOr2PbHRDA4g1HH8HQdwfJhRVfMPEaLQe94=
|
||||
github.com/ledgerwatch/erigon-snapshot v1.2.1-0.20230622075030-1d69651854c2/go.mod h1:3AuPxZc85jkehh/HA9h8gabv5MSi3kb/ddtzBsTVJFo=
|
||||
github.com/ledgerwatch/log/v3 v3.8.0 h1:gCpp7uGtIerEz1jKVPeDnbIopFPud9ZnCpBLlLBGqPU=
|
||||
|
@ -131,7 +131,6 @@ func (e *EthereumExecutionModule) ValidateChain(ctx context.Context, req *execut
|
||||
if header == nil || body == nil {
|
||||
return &execution.ValidationReceipt{
|
||||
LatestValidHash: gointerfaces.ConvertHashToH256(libcommon.Hash{}),
|
||||
MissingHash: req.Hash,
|
||||
ValidationStatus: execution.ExecutionStatus_MissingSegment,
|
||||
}, nil
|
||||
}
|
||||
@ -141,7 +140,6 @@ func (e *EthereumExecutionModule) ValidateChain(ctx context.Context, req *execut
|
||||
return &execution.ValidationReceipt{
|
||||
ValidationStatus: execution.ExecutionStatus_TooFarAway,
|
||||
LatestValidHash: gointerfaces.ConvertHashToH256(libcommon.Hash{}),
|
||||
MissingHash: gointerfaces.ConvertHashToH256(libcommon.Hash{}),
|
||||
}, tx.Commit()
|
||||
}
|
||||
|
||||
@ -173,7 +171,6 @@ func (e *EthereumExecutionModule) ValidateChain(ctx context.Context, req *execut
|
||||
return &execution.ValidationReceipt{
|
||||
ValidationStatus: validationStatus,
|
||||
LatestValidHash: gointerfaces.ConvertHashToH256(lvh),
|
||||
MissingHash: gointerfaces.ConvertHashToH256(libcommon.Hash{}), // TODO: implement
|
||||
}, tx.Commit()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user