Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marino39 committed Mar 20, 2024
1 parent cc7311a commit 5695af5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion rpc/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,16 @@ type walletServiceMock struct {
registeredSessions map[string]struct{}
}

func (w walletServiceMock) ProjectParentWalletStatus(ctx context.Context, projectID uint64) ([]*proto_wallet.ParentWalletStatus, error) {
//TODO implement me
panic("implement me")
}

func (w walletServiceMock) SessionAuthProof(ctx context.Context, intent *proto_wallet.Intent, proof *proto_wallet.SessionAuthProof) (*proto_wallet.IntentResponse, error) {
//TODO implement me
panic("implement me")
}

func newWalletServiceMock(registeredSessions []string) *walletServiceMock {
m := &walletServiceMock{
registeredSessions: make(map[string]struct{}),
Expand All @@ -600,7 +610,7 @@ func (w walletServiceMock) ProjectParentWallet(ctx context.Context, projectId ui
panic("implement me")
}

func (w walletServiceMock) DeployProjectParentWallet(ctx context.Context, projectId uint64, chainID uint64) (string, string, error) {
func (w walletServiceMock) DeployProjectParentWallet(ctx context.Context, projectId uint64, chainID string) (string, string, error) {
//TODO implement me
panic("implement me")
}
Expand Down

0 comments on commit 5695af5

Please sign in to comment.