Skip to content

Commit

Permalink
comment on BigInt literals
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaversaccio committed Nov 3, 2021
1 parent 16f3b72 commit a242750
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const config: HardhatUserConfig = {
};
```
The parameters `constructorArgsPath` and `gasLimit` are _optional_. The `salt` parameter is a random value (32 byte string) used to create the contract address. If you have previously deployed the same contract with the identical `salt`, the contract creation transaction will fail due to [EIP-684](https://github.com/ethereum/EIPs/issues/684). For more details, see also [here](#a-note-on-selfdestruct).
> BigInt literals (e.g. `100000000000000000000n`) are available since this plugin targets `ES2020`. See also [here](https://github.com/pcaversaccio/xdeployer/blob/main/tsconfig.json).
_Example:_
```ts
Expand Down

0 comments on commit a242750

Please sign in to comment.