Skip to content

Commit e126ec7

Browse files
committed
Remove comments
1 parent 3a76f0a commit e126ec7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

internal/dependencymanager/dependencyinstaller_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ func TestDependencyInstallerAliasTracking(t *testing.T) {
331331
accountAliases: make(map[string]map[string]flowsdk.Address),
332332
}
333333

334-
// Add first contract - this should prompt for alias
335334
dep1 := config.Dependency{
336335
Name: "ContractOne",
337336
Source: config.Source{
@@ -342,7 +341,6 @@ func TestDependencyInstallerAliasTracking(t *testing.T) {
342341
}
343342
di.dependencies["mainnet://"+serviceAddress.String()+".ContractOne"] = dep1
344343

345-
// Simulate user providing an alias for the first contract
346344
aliasAddress := flowsdk.HexToAddress("0x1234567890abcdef")
347345
di.setAccountAlias(serviceAddress.String(), "testnet", aliasAddress)
348346

@@ -357,12 +355,10 @@ func TestDependencyInstallerAliasTracking(t *testing.T) {
357355
}
358356
di.dependencies["mainnet://"+serviceAddress.String()+".ContractTwo"] = dep2
359357

360-
// Verify that the alias is automatically applied
361358
existingAlias, exists := di.getAccountAlias(serviceAddress.String(), "testnet")
362359
assert.True(t, exists, "Alias should exist for the account")
363360
assert.Equal(t, aliasAddress, existingAlias, "Alias should match the stored value")
364361

365-
// Test that getCurrentContractAccountAddress works correctly
366362
accountAddr := di.getCurrentContractAccountAddress("ContractOne", "mainnet")
367363
assert.Equal(t, serviceAddress.String(), accountAddr, "Should return correct account address")
368364
})

0 commit comments

Comments
 (0)