Add option to forward eth_getStorageAt calls. #221

Merged
telackey merged 7 commits from telackey/pxy_get_storage_at into v4 2023-01-10 23:39:21 +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")
}