Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
replace EngineGetBlobsBundleV1 with EngineGetPayloadWithBlobs
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-bayardo committed Apr 21, 2023
1 parent 2b48fa6 commit 6118d6e
Show file tree
Hide file tree
Showing 6 changed files with 562 additions and 629 deletions.
8 changes: 4 additions & 4 deletions direct/eth_backend_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ func NewEthBackendClientDirect(server remote.ETHBACKENDServer) *EthBackendClient
return &EthBackendClientDirect{server: server}
}

func (s *EthBackendClientDirect) EngineGetBlobsBundleV1(ctx context.Context, in *remote.EngineGetBlobsBundleRequest, opts ...grpc.CallOption) (*types.BlobsBundleV1, error) {
return s.server.EngineGetBlobsBundleV1(ctx, in)
}

func (s *EthBackendClientDirect) Etherbase(ctx context.Context, in *remote.EtherbaseRequest, opts ...grpc.CallOption) (*remote.EtherbaseReply, error) {
return s.server.Etherbase(ctx, in)
}
Expand All @@ -62,6 +58,10 @@ func (s *EthBackendClientDirect) EngineGetPayload(ctx context.Context, in *remot
return s.server.EngineGetPayload(ctx, in)
}

func (s *EthBackendClientDirect) EngineGetPayloadWithBlobs(ctx context.Context, in *remote.EngineGetPayloadRequest, opts ...grpc.CallOption) (*remote.EngineGetPayloadResponse, error) {
return s.server.EngineGetPayloadWithBlobs(ctx, in)
}

func (s *EthBackendClientDirect) EngineGetPayloadBodiesByHashV1(ctx context.Context, in *remote.EngineGetPayloadBodiesByHashV1Request, opts ...grpc.CallOption) (*remote.EngineGetPayloadBodiesV1Response, error) {
return s.server.EngineGetPayloadBodiesByHashV1(ctx, in)
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace github.com/ledgerwatch/interfaces => github.com/roberto-bayardo/interfaces v0.0.0-20230415160431-75e636779b49
replace github.com/ledgerwatch/interfaces => github.com/roberto-bayardo/interfaces v0.0.0-20230421213859-ef12b0b4e542
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,8 @@ github.com/protolambda/go-kzg v0.0.0-20221224134646-c91cee5e954e/go.mod h1:7EhkB
github.com/quasilyte/go-ruleguard/dsl v0.3.22 h1:wd8zkOhSNr+I+8Qeciml08ivDt1pSXe60+5DqOpCjPE=
github.com/quasilyte/go-ruleguard/dsl v0.3.22/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/roberto-bayardo/interfaces v0.0.0-20230415160431-75e636779b49 h1:RmyA3NHGT+2jWxYIw8T1ZCElWWE3kjwgn84GaMFSgo8=
github.com/roberto-bayardo/interfaces v0.0.0-20230415160431-75e636779b49/go.mod h1:ugQv1QllJzBny3cKZKxUrSnykkjkBgm27eQM6dnGAcc=
github.com/roberto-bayardo/interfaces v0.0.0-20230421213859-ef12b0b4e542 h1:s+SERIqBQMM3pHiffSMC9hGG6OOiWmhlRQJFw5gXdE8=
github.com/roberto-bayardo/interfaces v0.0.0-20230421213859-ef12b0b4e542/go.mod h1:ugQv1QllJzBny3cKZKxUrSnykkjkBgm27eQM6dnGAcc=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
Expand Down
Loading

0 comments on commit 6118d6e

Please sign in to comment.