File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
indexer_client/src/models
transact/src/transactions Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import type { ObjectModelMetadata } from '@algorandfoundation/algokit-common'
2- import { bigIntCodec , ObjectModelCodec } from '@algorandfoundation/algokit-common'
2+ import { numberCodec , ObjectModelCodec } from '@algorandfoundation/algokit-common'
33import type { IndexerStateProofMessage } from './indexer-state-proof-message'
44import { IndexerStateProofMessageMeta } from './indexer-state-proof-message'
55import type { StateProofFields } from './state-proof-fields'
@@ -15,7 +15,7 @@ export type TransactionStateProof = {
1515 /**
1616 * \[sptype\] Type of the state proof. Integer representing an entry defined in protocol/stateproof.go
1717 */
18- stateProofType ?: bigint
18+ stateProofType ?: number
1919 stateProof ?: StateProofFields
2020 message ?: IndexerStateProofMessage
2121}
@@ -28,7 +28,7 @@ export const TransactionStateProofMeta: ObjectModelMetadata<TransactionStateProo
2828 name : 'stateProofType' ,
2929 wireKey : 'state-proof-type' ,
3030 optional : true ,
31- codec : bigIntCodec ,
31+ codec : numberCodec ,
3232 } ,
3333 {
3434 name : 'stateProof' ,
Original file line number Diff line number Diff line change 33 */
44export type StateProofTransactionFields = {
55 /** State proof type */
6- stateProofType ? : number
6+ stateProofType : number
77
88 /** State proof */
99 stateProof ?: StateProof
You can’t perform that action at this time.
0 commit comments