Skip to content

Commit

Permalink
README
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaversaccio committed Oct 29, 2021
1 parent 6cbb7ff commit 892063a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,23 +125,23 @@ networks: {
```

### Further Considerations
The constructor arguments file must have an _exportable_ field called `data`:
```js
exports.data = [
The constructor arguments file must have an _exportable_ field called `data` in case you are using TypeScript:
```ts
const data = [
"arg1",
"arg2",
...
];
export { data };
```

Or if you are using TypeScript:
```ts
const data = [
If you are using normal JavaScript:
```js
module.exports = [
"arg1",
"arg2",
...
];
export { data };
```

The `gasLimit` field is set to to **1'500'000** by default because the `CREATE2` operations are a complex sequence of opcode executions. Usually the providers do not manage to estimate the gasLimit for these calls, so a predefined value is set.
Expand Down

0 comments on commit 892063a

Please sign in to comment.