Skip to content

Commit ae5ad35

Browse files
committed
Fixed 'TestInvokeFailedBalanceValidationV6' test.
1 parent a7c3735 commit ae5ad35

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/ride/tree_evaluation_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,9 @@ var envDappFromDapp = &mockRideEnvironment{
10901090
blockV5ActivatedFunc: func() bool {
10911091
return true
10921092
},
1093+
rideV5ActivatedFunc: func() bool {
1094+
return true
1095+
},
10931096
rideV6ActivatedFunc: noRideV6,
10941097
validateInternalPaymentsFunc: func() bool {
10951098
return true
@@ -1112,6 +1115,9 @@ func tearDownDappFromDapp() {
11121115
addressCallable = proto.WavesAddress{}
11131116
addrPK = crypto.PublicKey{}
11141117
addressCallablePK = crypto.PublicKey{}
1118+
envDappFromDapp.rideV5ActivatedFunc = func() bool {
1119+
return true
1120+
}
11151121
envDappFromDapp.rideV6ActivatedFunc = noRideV6
11161122

11171123
thisAddress = proto.WavesAddress{}

0 commit comments

Comments
 (0)