Skip to content

Commit dd19b66

Browse files
authored
Merge pull request #6216 from PixelPil0t1/main
Fix regex pattern for bigint parameter validation
2 parents f208510 + bdd4a8b commit dd19b66

File tree

1 file changed

+1
-1
lines changed
  • docs/src/content/ignition/docs/guides

1 file changed

+1
-1
lines changed

docs/src/content/ignition/docs/guides/deploy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ npx hardhat ignition deploy ignition/modules/Apollo.js --parameters ignition/par
7070

7171
::::
7272

73-
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:
73+
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:
7474

7575
```json
7676
{

0 commit comments

Comments
 (0)