chore: deps: update to go-jsonrpc 0.1.8

This commit is contained in:
Aayush
2022-09-27 15:34:01 +00:00
committed by Łukasz Magiera
parent 27880ece2b
commit 5d28eea968
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ func gasEstimateGasLimit(
return -1, xerrors.Errorf("CallWithGas failed: %w", err)
}
if res.MsgRct.ExitCode == exitcode.SysErrOutOfGas {
return -1, api.ErrOutOfGas{}
return -1, &api.ErrOutOfGas{}
}
if res.MsgRct.ExitCode != exitcode.Ok {
+1 -1
View File
@@ -484,7 +484,7 @@ func (m *StateModule) StateLookupID(ctx context.Context, addr address.Address, t
ret, err := m.StateManager.LookupID(ctx, addr, ts)
if err != nil && xerrors.Is(err, types.ErrActorNotFound) {
return address.Undef, api.ErrActorNotFound{}
return address.Undef, &api.ErrActorNotFound{}
}
return ret, err