Skip to content

Commit

Permalink
it's v11 now
Browse files Browse the repository at this point in the history
  • Loading branch information
jannotti committed Jan 9, 2024
1 parent de07ba9 commit 45e986e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ledger/apptxn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/e2e_subs/mining.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45e986e

Please sign in to comment.