File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/_algopy_testing/models Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ class _ContractMeta(type):
36
36
_name : str
37
37
_scratch_slots : typing .Any
38
38
_state_totals : StateTotals | None
39
+ _avm_version : int
39
40
40
41
def __init__ (cls , * args : typing .Any , ** kwargs : typing .Any ) -> None :
41
42
super ().__init__ (* args , ** kwargs )
@@ -93,10 +94,12 @@ def __init_subclass__(
93
94
algopy .urange | tuple [int | algopy .urange , ...] | list [int | algopy .urange ] | None
94
95
) = None ,
95
96
state_totals : StateTotals | None = None ,
97
+ avm_version : int = 10 ,
96
98
):
97
99
cls ._name = name or cls .__name__
98
100
cls ._scratch_slots = scratch_slots
99
101
cls ._state_totals = state_totals
102
+ cls ._avm_version = avm_version
100
103
101
104
def approval_program (self ) -> algopy .UInt64 | bool :
102
105
raise NotImplementedError ("`approval_program` is not implemented." )
You can’t perform that action at this time.
0 commit comments