Skip to content

Commit

Permalink
Fix tests (which were already broken, fees seem to be tighter)
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Oct 17, 2023
1 parent fb2661f commit 34f1f57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestExtendFootprintTtl(t *testing.T) {

installContractOp := assembleInstallContractCodeOp(t, itest.Master().Address(), add_u64_contract)
preFlightOp, minFee := itest.PreflightHostFunctions(&sourceAccount, *installContractOp)
tx := itest.MustSubmitOperationsWithFee(&sourceAccount, itest.Master(), minFee, &preFlightOp)
tx := itest.MustSubmitOperationsWithFee(&sourceAccount, itest.Master(), minFee+txnbuild.MinBaseFee, &preFlightOp)

_, err = itest.Client().TransactionDetail(tx.Hash)
require.NoError(t, err)
Expand Down Expand Up @@ -58,7 +58,7 @@ func TestExtendFootprintTtl(t *testing.T) {
},
}
bumpFootPrint, minFee = itest.PreflightBumpFootprintExpiration(&sourceAccount, bumpFootPrint)
tx = itest.MustSubmitOperationsWithFee(&sourceAccount, itest.Master(), minFee, &bumpFootPrint)
tx = itest.MustSubmitOperationsWithFee(&sourceAccount, itest.Master(), minFee+txnbuild.MinBaseFee, &bumpFootPrint)

ops, err := itest.Client().Operations(horizonclient.OperationRequest{ForTransaction: tx.Hash})
require.NoError(t, err)
Expand Down

0 comments on commit 34f1f57

Please sign in to comment.