File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/plugins/merkleMemberships/server Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ import * as NE from 'fp-ts/NonEmptyArray';
3333import * as S from 'fp-ts/Semigroup' ;
3434import { FpInterfaceType } from '@lib/plugin/fp/interfaceKind' ;
3535
36- const PoseidonHashSchema = z . bigint ( ) ;
36+ const PoseidonHashSchema = z . string ( ) ;
3737
3838const publicInputArgsSchema = z . array ( PoseidonHashSchema ) ;
3939
@@ -105,8 +105,8 @@ export class MerkleMembershipsPlugin
105105 const treeRoots = pipe (
106106 TE . fromOption ( ( ) => 'empty input list' ) ( NE . fromArray ( publicInputArgs ) ) ,
107107 TE . chain (
108- NE . traverse ( TE . ApplicativePar ) ( ( x : bigint ) =>
109- fromFailableIO ( ( ) => Field ( x ) )
108+ NE . traverse ( TE . ApplicativePar ) ( ( x : string ) =>
109+ fromFailableIO ( ( ) => Field . from ( x ) )
110110 )
111111 )
112112 ) ;
You can’t perform that action at this time.
0 commit comments