tron driver removed

This commit is contained in:
Stephan D
2026-01-30 15:42:50 +01:00
parent 51f5b0804a
commit bc46eccbe0
25 changed files with 247 additions and 894 deletions

View File

@@ -8,6 +8,7 @@ import (
connectorv1 "github.com/tech/sendico/pkg/proto/connector/v1"
chainv1 "github.com/tech/sendico/pkg/proto/gateway/chain/v1"
"google.golang.org/grpc"
"google.golang.org/protobuf/types/known/wrapperspb"
)
type stubConnectorClient struct {
@@ -53,7 +54,7 @@ func TestListManagedWallets_ForwardsOrganizationRef(t *testing.T) {
_, err := client.ListManagedWallets(context.Background(), &chainv1.ListManagedWalletsRequest{
OrganizationRef: "org-1",
OwnerRef: "owner-1",
OwnerRefFilter: wrapperspb.String("owner-1"),
Asset: &chainv1.Asset{
Chain: chainv1.ChainNetwork_CHAIN_NETWORK_ETHEREUM_MAINNET,
TokenSymbol: "USDC",
@@ -62,6 +63,6 @@ func TestListManagedWallets_ForwardsOrganizationRef(t *testing.T) {
require.NoError(t, err)
require.NotNil(t, stub.listReq)
require.Equal(t, "org-1", stub.listReq.GetOrganizationRef())
require.Equal(t, "owner-1", stub.listReq.GetOwnerRef())
require.Equal(t, "owner-1", stub.listReq.GetOwnerRefFilter().GetValue())
require.Equal(t, connectorv1.AccountKind_CHAIN_MANAGED_WALLET, stub.listReq.GetKind())
}