From 45e986e73f91fec732f1663842055dd5f356f810 Mon Sep 17 00:00:00 2001 From: John Jannotti Date: Tue, 9 Jan 2024 14:30:46 -0500 Subject: [PATCH] it's v11 now --- ledger/apptxn_test.go | 4 ++-- test/scripts/e2e_subs/mining.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ledger/apptxn_test.go b/ledger/apptxn_test.go index b21833b08c..0e193e3eb2 100644 --- a/ledger/apptxn_test.go +++ b/ledger/apptxn_test.go @@ -89,7 +89,7 @@ func TestPayAction(t *testing.T) { dl.txns(&payout1) vb := dl.endBlock(proposer) // First MiningPct > 0 - if ver >= 39 { + if ver >= 40 { require.True(t, dl.generator.GenesisProto().EnableMining) require.EqualValues(t, proposer, vb.Block().BlockHeader.Proposer) require.EqualValues(t, 2000, vb.Block().BlockHeader.FeesCollected.Raw) @@ -110,7 +110,7 @@ func TestPayAction(t *testing.T) { postsink = micros(dl.t, dl.generator, genBalances.FeeSink) postprop = micros(dl.t, dl.generator, proposer) // First MiningPct > 0 - if ver >= 39 { + if ver >= 40 { require.EqualValues(t, 500, postsink-presink) // based on 75% in config/consensus.go require.EqualValues(t, 1500, postprop-preprop) } else { diff --git a/test/scripts/e2e_subs/mining.py b/test/scripts/e2e_subs/mining.py index 3777645073..216ecc93ef 100755 --- a/test/scripts/e2e_subs/mining.py +++ b/test/scripts/e2e_subs/mining.py @@ -23,7 +23,7 @@ assert not err, err get_proposer = """ -#pragma version 10 +#pragma version 11 txn ApplicationArgs 0; btoi block BlkProposer; global ZeroAddress; !=; assert