@@ -243,7 +243,7 @@ export const GITxn: typeof op.GITxn = {
243243 lastLog : function ( t : StubUint64Compat ) : bytes {
244244 return getApplicationCallInnerTxn ( t ) . lastLog
245245 } ,
246- stateProofPk : function ( t : StubUint64Compat ) : bytes {
246+ stateProofPk : function ( t : StubUint64Compat ) : bytes < 64 > {
247247 return getKeyRegistrationInnerTxn ( t ) . stateProofKey
248248 } ,
249249 approvalProgramPages : function ( t : StubUint64Compat , a : StubUint64Compat ) : bytes {
@@ -258,6 +258,9 @@ export const GITxn: typeof op.GITxn = {
258258 numClearStateProgramPages : function ( t : StubUint64Compat ) : uint64 {
259259 return getApplicationCallInnerTxn ( t ) . numClearStateProgramPages
260260 } ,
261+ rejectVersion : function ( t : StubUint64Compat ) : uint64 {
262+ return getApplicationCallInnerTxn ( t ) . rejectVersion
263+ } ,
261264}
262265/** @internal */
263266export const ITxn : typeof op . ITxn = {
@@ -643,7 +646,7 @@ export const ITxn: typeof op.ITxn = {
643646 /**
644647 * 64 byte state proof public key
645648 */
646- get stateProofPk ( ) : bytes {
649+ get stateProofPk ( ) : bytes < 64 > {
647650 return lazyContext . activeGroup . getItxnGroup ( ) . getKeyRegistrationInnerTxn ( ) . stateProofKey
648651 } ,
649652 /**
@@ -670,6 +673,9 @@ export const ITxn: typeof op.ITxn = {
670673 get numClearStateProgramPages ( ) : uint64 {
671674 return lazyContext . activeGroup . getItxnGroup ( ) . getApplicationCallInnerTxn ( ) . numClearStateProgramPages
672675 } ,
676+ get rejectVersion ( ) : uint64 {
677+ return lazyContext . activeGroup . getItxnGroup ( ) . getApplicationCallInnerTxn ( ) . rejectVersion
678+ } ,
673679}
674680
675681const setConstructingItxnField = ( fields : Partial < InnerTxnFields > ) : void => {
@@ -862,6 +868,9 @@ export const ITxnCreate: typeof op.ITxnCreate = {
862868 pages . push ( asBytes ( a ) )
863869 setConstructingItxnField ( { clearStateProgram : pages } )
864870 } ,
871+ setRejectVersion : function ( a : StubUint64Compat ) : void {
872+ setConstructingItxnField ( { rejectVersion : asUint64 ( a ) } )
873+ } ,
865874 next : function ( ) : void {
866875 lazyContext . activeGroup . appendInnerTransactionGroup ( )
867876 } ,
0 commit comments