@@ -43,7 +43,6 @@ import (
4343 "github.com/status-im/status-go/services/typeddata"
4444 "github.com/status-im/status-go/services/wallet"
4545 walletservice "github.com/status-im/status-go/services/wallet"
46- "github.com/status-im/status-go/services/wallet/common"
4746 "github.com/status-im/status-go/signal"
4847 "github.com/status-im/status-go/t/helpers"
4948 "github.com/status-im/status-go/t/utils"
@@ -1258,14 +1257,7 @@ func TestWalletConfigOnLoginAccount(t *testing.T) {
12581257
12591258 poktToken := fakeToken ()
12601259 infuraToken := fakeToken ()
1261- alchemyEthereumMainnetToken := fakeToken ()
1262- alchemyEthereumSepoliaToken := fakeToken ()
1263- alchemyArbitrumMainnetToken := fakeToken ()
1264- alchemyArbitrumSepoliaToken := fakeToken ()
1265- alchemyOptimismMainnetToken := fakeToken ()
1266- alchemyOptimismSepoliaToken := fakeToken ()
1267- alchemyBaseMainnetToken := fakeToken ()
1268- alchemyBaseSepoliaToken := fakeToken ()
1260+ alchemyAPIKey := fakeToken ()
12691261 raribleMainnetAPIKey := fakeToken ()
12701262 raribleTestnetAPIKey := fakeToken ()
12711263
@@ -1295,18 +1287,11 @@ func TestWalletConfigOnLoginAccount(t *testing.T) {
12951287 KeyUID : newAccount .KeyUID ,
12961288 Password : testPassword ,
12971289 WalletSecretsConfig : requests.WalletSecretsConfig {
1298- PoktToken : poktToken ,
1299- InfuraToken : infuraToken ,
1300- AlchemyEthereumMainnetToken : alchemyEthereumMainnetToken ,
1301- AlchemyEthereumSepoliaToken : alchemyEthereumSepoliaToken ,
1302- AlchemyArbitrumMainnetToken : alchemyArbitrumMainnetToken ,
1303- AlchemyArbitrumSepoliaToken : alchemyArbitrumSepoliaToken ,
1304- AlchemyOptimismMainnetToken : alchemyOptimismMainnetToken ,
1305- AlchemyOptimismSepoliaToken : alchemyOptimismSepoliaToken ,
1306- AlchemyBaseMainnetToken : alchemyBaseMainnetToken ,
1307- AlchemyBaseSepoliaToken : alchemyBaseSepoliaToken ,
1308- RaribleMainnetAPIKey : raribleMainnetAPIKey ,
1309- RaribleTestnetAPIKey : raribleTestnetAPIKey ,
1290+ PoktToken : poktToken ,
1291+ InfuraToken : infuraToken ,
1292+ AlchemyAPIKey : alchemyAPIKey ,
1293+ RaribleMainnetAPIKey : raribleMainnetAPIKey ,
1294+ RaribleTestnetAPIKey : raribleTestnetAPIKey ,
13101295 },
13111296 }
13121297
@@ -1322,14 +1307,7 @@ func TestWalletConfigOnLoginAccount(t *testing.T) {
13221307
13231308 walletConfig := testContext .backend .config .WalletConfig
13241309 require .Equal (t , walletConfig .InfuraAPIKey , infuraToken )
1325- require .Equal (t , walletConfig .AlchemyAPIKeys [common .EthereumMainnet ], alchemyEthereumMainnetToken )
1326- require .Equal (t , walletConfig .AlchemyAPIKeys [common .EthereumSepolia ], alchemyEthereumSepoliaToken )
1327- require .Equal (t , walletConfig .AlchemyAPIKeys [common .ArbitrumMainnet ], alchemyArbitrumMainnetToken )
1328- require .Equal (t , walletConfig .AlchemyAPIKeys [common .ArbitrumSepolia ], alchemyArbitrumSepoliaToken )
1329- require .Equal (t , walletConfig .AlchemyAPIKeys [common .OptimismMainnet ], alchemyOptimismMainnetToken )
1330- require .Equal (t , walletConfig .AlchemyAPIKeys [common .OptimismSepolia ], alchemyOptimismSepoliaToken )
1331- require .Equal (t , walletConfig .AlchemyAPIKeys [common .BaseMainnet ], alchemyBaseMainnetToken )
1332- require .Equal (t , walletConfig .AlchemyAPIKeys [common .BaseSepolia ], alchemyBaseSepoliaToken )
1310+ require .Equal (t , walletConfig .AlchemyAPIKey , alchemyAPIKey )
13331311 require .Equal (t , walletConfig .RaribleMainnetAPIKey , raribleMainnetAPIKey )
13341312 require .Equal (t , walletConfig .RaribleTestnetAPIKey , raribleTestnetAPIKey )
13351313
0 commit comments