@@ -108,7 +108,7 @@ func TestEpochClusters(t *testing.T) {
108
108
})
109
109
110
110
// create new user accounts, mint tokens for them, and register them for staking
111
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
111
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
112
112
ids , _ , _ := generateNodeIDs (numEpochAccounts )
113
113
_ , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
114
114
registerNodesForStaking (t , b , env ,
@@ -290,7 +290,7 @@ func TestEpochPhaseMetadataChange(t *testing.T) {
290
290
})
291
291
292
292
// create new user accounts, mint tokens for them, and register them for staking
293
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
293
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
294
294
ids , _ , _ := generateNodeIDs (numEpochAccounts )
295
295
_ , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
296
296
registerNodesForStaking (t , b , env ,
@@ -412,7 +412,7 @@ func TestEpochAdvance(t *testing.T) {
412
412
})
413
413
414
414
// create new user accounts, mint tokens for them, and register them for staking
415
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
415
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
416
416
ids , _ , dkgIDs := generateNodeIDs (numEpochAccounts )
417
417
_ , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
418
418
registerNodesForStaking (t , b , env ,
@@ -552,7 +552,7 @@ func TestEpochQCDKGNodeRegistration(t *testing.T) {
552
552
rewardIncreaseFactor )
553
553
554
554
// create new user accounts, mint tokens for them, and register them for staking
555
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
555
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
556
556
ids , _ , _ := generateNodeIDs (numEpochAccounts )
557
557
_ , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
558
558
registerNodesForStaking (t , b , env ,
@@ -644,7 +644,7 @@ func TestEpochFullNodeRegistration(t *testing.T) {
644
644
rewardIncreaseFactor )
645
645
646
646
// create new user accounts, mint tokens for them, and register them for staking
647
- addresses , publicKeys , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
647
+ addresses , publicKeys , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
648
648
ids , _ , _ := generateNodeIDs (numEpochAccounts )
649
649
_ , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
650
650
registerNodesForEpochs (t , b , env ,
@@ -676,7 +676,7 @@ func TestEpochQCDKG(t *testing.T) {
676
676
rewardIncreaseFactor )
677
677
678
678
// create new user accounts, mint tokens for them, and register them for staking
679
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
679
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
680
680
ids , _ , _ := generateNodeIDs (numEpochAccounts )
681
681
stakingPrivateKeys , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
682
682
registerNodesForStaking (t , b , env ,
@@ -979,7 +979,7 @@ func TestEpochQCDKG(t *testing.T) {
979
979
980
980
t .Run ("Can set the rewards with high fee amount, which should not increase the supply at all" , func (t * testing.T ) {
981
981
982
- mintTokensForAccount (t , b , idTableAddress , "6572144.3875" )
982
+ mintTokensForAccount (t , b , env , idTableAddress , "6572144.3875" )
983
983
984
984
tx = createTxWithTemplateAndAuthorizer (b , templates .GenerateDepositFeesScript (env ), idTableAddress )
985
985
@@ -1052,7 +1052,7 @@ func TestEpochReset(t *testing.T) {
1052
1052
rewardIncreaseFactor )
1053
1053
1054
1054
// create new user accounts, mint tokens for them, and register them for staking
1055
- addresses , _ , signers := registerAndMintManyAccounts (t , b , accountKeys , numEpochAccounts )
1055
+ addresses , _ , signers := registerAndMintManyAccounts (t , b , env , accountKeys , numEpochAccounts )
1056
1056
ids , _ , _ := generateNodeIDs (numEpochAccounts )
1057
1057
stakingPrivateKeys , stakingPublicKeys , _ , networkingPublicKeys := generateManyNodeKeys (t , numEpochAccounts )
1058
1058
registerNodesForStaking (t , b , env ,
0 commit comments