Skip to content

Commit

Permalink
Merge pull request #6216 from PixelPil0t1/main
Browse files Browse the repository at this point in the history
Fix regex pattern for bigint parameter validation
  • Loading branch information
alcuadrado authored Feb 2, 2025
2 parents f208510 + bdd4a8b commit dd19b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/content/ignition/docs/guides/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ npx hardhat ignition deploy ignition/modules/Apollo.js --parameters ignition/par

::::

To pass a `bigint` as a Module parameter, you can encode it as a string. Any string parameter value that matches the regex `/d+n/` will be converted to a `bigint` before being passed to the module, for instance the `endowment` parameter in the following example:
To pass a `bigint` as a Module parameter, you can encode it as a string. Any string parameter value that matches the regex `/\d+n/` will be converted to a `bigint` before being passed to the module, for instance the `endowment` parameter in the following example:

```json
{
Expand Down

0 comments on commit dd19b66

Please sign in to comment.