diff --git a/itests/issue_smart_asset_api_internal_test.go b/itests/issue_smart_asset_api_internal_test.go index 96e981413..22f9b8f36 100644 --- a/itests/issue_smart_asset_api_internal_test.go +++ b/itests/issue_smart_asset_api_internal_test.go @@ -13,7 +13,6 @@ import ( utl "github.com/wavesplatform/gowaves/itests/utilities" "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type IssueSmartAssetApiSuite struct { @@ -39,7 +38,7 @@ func (suite *IssueSmartAssetApiSuite) Test_IssueSmartAssetApiPositive() { } func (suite *IssueSmartAssetApiSuite) Test_IssueSmartAssetApiNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := issue.GetVersionsSmartAsset(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { diff --git a/itests/issue_smart_asset_internal_test.go b/itests/issue_smart_asset_internal_test.go index 5338e29e7..ba5959eb4 100644 --- a/itests/issue_smart_asset_internal_test.go +++ b/itests/issue_smart_asset_internal_test.go @@ -13,7 +13,6 @@ import ( utl "github.com/wavesplatform/gowaves/itests/utilities" "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type IssueSmartAssetSuite struct { @@ -39,7 +38,7 @@ func (suite *IssueSmartAssetSuite) Test_IssueSmartAssetPositive() { } func (suite *IssueSmartAssetSuite) Test_IssueSmartAssetNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := issue.GetVersionsSmartAsset(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { diff --git a/itests/issue_tx_api_internal_test.go b/itests/issue_tx_api_internal_test.go index f9b1d85f4..f5040a7ba 100644 --- a/itests/issue_tx_api_internal_test.go +++ b/itests/issue_tx_api_internal_test.go @@ -13,7 +13,6 @@ import ( utl "github.com/wavesplatform/gowaves/itests/utilities" "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type IssueTxApiSuite struct { @@ -58,7 +57,7 @@ func (suite *IssueTxApiSuite) Test_IssueTxApiWithSameDataPositive() { } func (suite *IssueTxApiSuite) Test_IssueTxApiNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := issue.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { diff --git a/itests/issue_tx_internal_test.go b/itests/issue_tx_internal_test.go index 35fc37ea7..b0b1e9dcd 100644 --- a/itests/issue_tx_internal_test.go +++ b/itests/issue_tx_internal_test.go @@ -13,7 +13,6 @@ import ( utl "github.com/wavesplatform/gowaves/itests/utilities" "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type IssueTxSuite struct { @@ -56,7 +55,7 @@ func (suite *IssueTxSuite) Test_IssueTxWithSameDataPositive() { } func (suite *IssueTxSuite) Test_IssueTxNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := issue.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { diff --git a/itests/set_asset_script_tx_api_internal_test.go b/itests/set_asset_script_tx_api_internal_test.go index 80e65bb1a..c82f59dae 100644 --- a/itests/set_asset_script_tx_api_internal_test.go +++ b/itests/set_asset_script_tx_api_internal_test.go @@ -14,7 +14,6 @@ import ( "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/itests/utilities/setassetscript" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type SetAssetScriptApiSuite struct { @@ -42,7 +41,7 @@ func (suite *SetAssetScriptApiSuite) Test_SetAssetScriptApiPositive() { } func (suite *SetAssetScriptApiSuite) Test_SetAssetScriptApiNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := setassetscript.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { @@ -67,7 +66,7 @@ func (suite *SetAssetScriptApiSuite) Test_SetAssetScriptApiNegative() { } func (suite *SetAssetScriptApiSuite) Test_SetScriptForNotScriptedAssetApiNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := setassetscript.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { diff --git a/itests/set_asset_script_tx_internal_test.go b/itests/set_asset_script_tx_internal_test.go index 687e30143..e64a24eef 100644 --- a/itests/set_asset_script_tx_internal_test.go +++ b/itests/set_asset_script_tx_internal_test.go @@ -14,7 +14,6 @@ import ( "github.com/wavesplatform/gowaves/itests/utilities/issue" "github.com/wavesplatform/gowaves/itests/utilities/setassetscript" "github.com/wavesplatform/gowaves/pkg/crypto" - "github.com/wavesplatform/gowaves/pkg/settings" ) type SetAssetScriptSuite struct { @@ -41,7 +40,7 @@ func (suite *SetAssetScriptSuite) Test_SetAssetScriptPositive() { } func (suite *SetAssetScriptSuite) Test_SetAssetScriptNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := setassetscript.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions { @@ -65,7 +64,7 @@ func (suite *SetAssetScriptSuite) Test_SetAssetScriptNegative() { } func (suite *SetAssetScriptSuite) Test_SetScriptForNotScriptedAssetNegative() { - utl.GetActivationOfFeatures(&suite.BaseSuite, settings.FeeSponsorship) + utl.WaitForHeight(&suite.BaseSuite, 3) versions := setassetscript.GetVersions(&suite.BaseSuite) txIds := make(map[string]*crypto.Digest) for _, v := range versions {