Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
sklppy88 committed Jan 29, 2025
1 parent 6016aca commit 243c9be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yarn-project/foundation/src/abi/encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ArgumentEncoder {
} else if (typeof arg === 'bigint') {
this.flattened.push(new Fr(arg));
} else if (typeof arg === 'string') {
this.flattened.push(Fr.fromHexString(arg));
this.flattened.push(Fr.fromString(arg));
} else if (typeof arg === 'boolean') {
this.flattened.push(new Fr(arg ? 1n : 0n));
} else if (typeof arg === 'object') {
Expand Down

0 comments on commit 243c9be

Please sign in to comment.