Skip to content

Commit

Permalink
Fixed 'TestInvokeFailedBalanceValidationV6' test.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickeskov committed Jun 14, 2022
1 parent a7c3735 commit ae5ad35
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/ride/tree_evaluation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,9 @@ var envDappFromDapp = &mockRideEnvironment{
blockV5ActivatedFunc: func() bool {
return true
},
rideV5ActivatedFunc: func() bool {
return true
},
rideV6ActivatedFunc: noRideV6,
validateInternalPaymentsFunc: func() bool {
return true
Expand All @@ -1112,6 +1115,9 @@ func tearDownDappFromDapp() {
addressCallable = proto.WavesAddress{}
addrPK = crypto.PublicKey{}
addressCallablePK = crypto.PublicKey{}
envDappFromDapp.rideV5ActivatedFunc = func() bool {
return true
}
envDappFromDapp.rideV6ActivatedFunc = noRideV6

thisAddress = proto.WavesAddress{}
Expand Down

0 comments on commit ae5ad35

Please sign in to comment.