@@ -243,7 +243,7 @@ export const GITxn: typeof op.GITxn = {
243
243
lastLog : function ( t : StubUint64Compat ) : bytes {
244
244
return getApplicationCallInnerTxn ( t ) . lastLog
245
245
} ,
246
- stateProofPk : function ( t : StubUint64Compat ) : bytes {
246
+ stateProofPk : function ( t : StubUint64Compat ) : bytes < 64 > {
247
247
return getKeyRegistrationInnerTxn ( t ) . stateProofKey
248
248
} ,
249
249
approvalProgramPages : function ( t : StubUint64Compat , a : StubUint64Compat ) : bytes {
@@ -258,6 +258,9 @@ export const GITxn: typeof op.GITxn = {
258
258
numClearStateProgramPages : function ( t : StubUint64Compat ) : uint64 {
259
259
return getApplicationCallInnerTxn ( t ) . numClearStateProgramPages
260
260
} ,
261
+ rejectVersion : function ( t : StubUint64Compat ) : uint64 {
262
+ return getApplicationCallInnerTxn ( t ) . rejectVersion
263
+ } ,
261
264
}
262
265
/** @internal */
263
266
export const ITxn : typeof op . ITxn = {
@@ -643,7 +646,7 @@ export const ITxn: typeof op.ITxn = {
643
646
/**
644
647
* 64 byte state proof public key
645
648
*/
646
- get stateProofPk ( ) : bytes {
649
+ get stateProofPk ( ) : bytes < 64 > {
647
650
return lazyContext . activeGroup . getItxnGroup ( ) . getKeyRegistrationInnerTxn ( ) . stateProofKey
648
651
} ,
649
652
/**
@@ -670,6 +673,9 @@ export const ITxn: typeof op.ITxn = {
670
673
get numClearStateProgramPages ( ) : uint64 {
671
674
return lazyContext . activeGroup . getItxnGroup ( ) . getApplicationCallInnerTxn ( ) . numClearStateProgramPages
672
675
} ,
676
+ get rejectVersion ( ) : uint64 {
677
+ return lazyContext . activeGroup . getItxnGroup ( ) . getApplicationCallInnerTxn ( ) . rejectVersion
678
+ } ,
673
679
}
674
680
675
681
const setConstructingItxnField = ( fields : Partial < InnerTxnFields > ) : void => {
@@ -862,6 +868,9 @@ export const ITxnCreate: typeof op.ITxnCreate = {
862
868
pages . push ( asBytes ( a ) )
863
869
setConstructingItxnField ( { clearStateProgram : pages } )
864
870
} ,
871
+ setRejectVersion : function ( a : StubUint64Compat ) : void {
872
+ setConstructingItxnField ( { rejectVersion : asUint64 ( a ) } )
873
+ } ,
865
874
next : function ( ) : void {
866
875
lazyContext . activeGroup . appendInnerTransactionGroup ( )
867
876
} ,
0 commit comments