Remove problematic eth_writeStateDiffAt calls #223

Merged
telackey merged 9 commits from ian/no_writeStateDiffAt_forward into v4 2023-01-11 00:25:01 +00:00
Showing only changes of commit c57e8091b8 - Show all commits

View File

@ -71,7 +71,7 @@ type PublicEthAPI struct {
}
// NewPublicEthAPI creates a new PublicEthAPI with the provided underlying Backend
func NewPublicEthAPI(b *Backend, client *rpc.Client, supportsStateDiff, forwardEthCalls, forwardGetStorageAt, proxyOnError bool) (*P
func NewPublicEthAPI(b *Backend, client *rpc.Client, supportsStateDiff, forwardEthCalls, forwardGetStorageAt, proxyOnError bool) (*PublicEthAPI, error) {
if b == nil {
return nil, errors.New("ipld-eth-server must be configured with an ethereum backend")
}