From af73a17a4fffe828a62ddbe295e680cca1cff21f Mon Sep 17 00:00:00 2001 From: Geoff Stuart Date: Thu, 14 Apr 2022 12:07:29 -0400 Subject: [PATCH] Remove StateLookupRobustAddress from gateway --- api/api_gateway.go | 1 - api/proxy_gen.go | 13 ------------- 2 files changed, 14 deletions(-) diff --git a/api/api_gateway.go b/api/api_gateway.go index b3d04e7997d..be4b3b83cb4 100644 --- a/api/api_gateway.go +++ b/api/api_gateway.go @@ -54,7 +54,6 @@ type Gateway interface { StateReadState(ctx context.Context, actor address.Address, tsk types.TipSetKey) (*ActorState, error) //perm:read StateListMiners(ctx context.Context, tsk types.TipSetKey) ([]address.Address, error) StateLookupID(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error) - StateLookupRobustAddress(ctx context.Context, addr address.Address, tsk types.TipSetKey) (address.Address, error) StateMarketBalance(ctx context.Context, addr address.Address, tsk types.TipSetKey) (MarketBalance, error) StateMarketStorageDeal(ctx context.Context, dealId abi.DealID, tsk types.TipSetKey) (*MarketDeal, error) StateMinerInfo(ctx context.Context, actor address.Address, tsk types.TipSetKey) (miner.MinerInfo, error) diff --git a/api/proxy_gen.go b/api/proxy_gen.go index 6e87043131b..b5bc36ade2d 100644 --- a/api/proxy_gen.go +++ b/api/proxy_gen.go @@ -532,8 +532,6 @@ type GatewayStruct struct { StateLookupID func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `` - StateLookupRobustAddress func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) `` - StateMarketBalance func(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error) `` StateMarketStorageDeal func(p0 context.Context, p1 abi.DealID, p2 types.TipSetKey) (*MarketDeal, error) `` @@ -3401,17 +3399,6 @@ func (s *GatewayStub) StateLookupID(p0 context.Context, p1 address.Address, p2 t return *new(address.Address), ErrNotSupported } -func (s *GatewayStruct) StateLookupRobustAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) { - if s.Internal.StateLookupRobustAddress == nil { - return *new(address.Address), ErrNotSupported - } - return s.Internal.StateLookupRobustAddress(p0, p1, p2) -} - -func (s *GatewayStub) StateLookupRobustAddress(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (address.Address, error) { - return *new(address.Address), ErrNotSupported -} - func (s *GatewayStruct) StateMarketBalance(p0 context.Context, p1 address.Address, p2 types.TipSetKey) (MarketBalance, error) { if s.Internal.StateMarketBalance == nil { return *new(MarketBalance), ErrNotSupported