File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/settlement/transactions Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {
13
13
} from "o1js" ;
14
14
import {
15
15
ACTIONS_EMPTY_HASH ,
16
- MINA_EVENT_PREFIXES ,
16
+ MINA_PREFIXES ,
17
17
ReturnType ,
18
18
} from "@proto-kit/protocol" ;
19
19
import { match } from "ts-pattern" ;
@@ -301,10 +301,10 @@ export class MinaTransactionSimulator {
301
301
// populate the full array with the current value
302
302
const previousActionState =
303
303
account . zkapp . actionState . at ( 0 ) ?? ACTIONS_EMPTY_HASH ;
304
- const newActionsHash = hashWithPrefix (
305
- MINA_EVENT_PREFIXES . sequenceEvents ,
306
- [ previousActionState , actions . hash ]
307
- ) ;
304
+ const newActionsHash = hashWithPrefix ( MINA_PREFIXES . sequenceEvents , [
305
+ previousActionState ,
306
+ actions . hash ,
307
+ ] ) ;
308
308
account . zkapp . actionState = range ( 0 , 5 ) . map ( ( ) => newActionsHash ) ;
309
309
}
310
310
}
Original file line number Diff line number Diff line change 3
3
mapSequential ,
4
4
TypedClass ,
5
5
RollupMerkleTree ,
6
- sleep ,
7
6
} from "@proto-kit/common" ;
8
7
import { VanillaProtocolModules } from "@proto-kit/library" ;
9
8
import { Runtime } from "@proto-kit/module" ;
You can’t perform that action at this time.
0 commit comments