File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ import {
3535 testV2Encoding ,
3636} from './test/utils.js' ;
3737
38+ import { protocolVersions } from '../../../bindings/crypto/constants.js' ;
3839import { Types } from '../../../bindings/mina-transaction/v1/types.js' ;
3940import { hashWithPrefix , packToFields } from '../../../lib/provable/crypto/poseidon.js' ;
4041
@@ -273,7 +274,7 @@ const v1AccountUpdate: TypesV1.AccountUpdate = {
273274 update : {
274275 appState : new Array ( ZkappConstants . MAX_ZKAPP_STATE_FIELDS ) . fill ( {
275276 isSome : new Bool ( true ) ,
276- value : new Field ( 8 ) ,
277+ value : new Field ( 32 ) ,
277278 } ) ,
278279 delegate : { isSome : new Bool ( true ) , value : publicKey } ,
279280 verificationKey : {
@@ -291,7 +292,7 @@ const v1AccountUpdate: TypesV1.AccountUpdate = {
291292 setPermissions : V1Auth . Proof ,
292293 setVerificationKey : {
293294 auth : V1Auth . Signature ,
294- txnVersion : new UInt32 ( 3 ) ,
295+ txnVersion : new UInt32 ( protocolVersions . txnVersion ) ,
295296 } ,
296297 setZkappUri : V1Auth . Signature ,
297298 editActionState : V1Auth . Proof ,
You can’t perform that action at this time.
0 commit comments