Skip to content

Commit

Permalink
fix: typos in documentation files (#6124)
Browse files Browse the repository at this point in the history
* Update environment-variables.md

* Update artifacts.ts

* Update artifacts.ts
  • Loading branch information
kilavvy authored Jan 9, 2025
1 parent facb21b commit ff1682f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
Hardhat Ignition supports special environment variables that affects how deployment works:

- `HARDHAT_IGNITION_CONFIRM_DEPLOYMENT`: if set to `false`, Hardhat Ignition won't prompt the user asking for confirmation when deploying to a live network. This prompt is already not shown when running against the local Hardhat network (chainId: 31337), but you might want to set this variable if writing fully automated scripts that leverage Hardhat Ignition.
- `HARDHAT_IGNITION_CONFIRM_RESET`: if set to `false`, Hardhat Ignition won't prompt the user asking for confirmation when overwritting the previous deployment via the `--reset` flag on Hardhat Ignition's `deploy` task.
- `HARDHAT_IGNITION_CONFIRM_RESET`: if set to `false`, Hardhat Ignition won't prompt the user asking for confirmation when overwriting the previous deployment via the `--reset` flag on Hardhat Ignition's `deploy` task.
2 changes: 1 addition & 1 deletion packages/hardhat-truffle4/src/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class TruffleEnvironmentArtifacts {
if (library !== undefined) {
const firstLinkData = linksData[0];

// link data is exressed in bytes, but the bytecode is hex encoded, so we
// link data is expressed in bytes, but the bytecode is hex encoded, so we
// need to multiply everything by 2.
const linkPlaceholder = destinationArtifact.bytecode.substr(
firstLinkData.start * 2 + 2, // The + 2 is because of the 0x prefix
Expand Down
2 changes: 1 addition & 1 deletion packages/hardhat-truffle5/src/artifacts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class TruffleEnvironmentArtifacts {
if (library !== undefined) {
const firstLinkData = linksData[0];

// link data is exressed in bytes, but the bytecode is hex encoded, so we
// link data is expressed in bytes, but the bytecode is hex encoded, so we
// need to multiply everything by 2.
const linkPlaceholder = destinationArtifact.bytecode.substr(
firstLinkData.start * 2 + 2, // The + 2 is because of the 0x prefix
Expand Down

0 comments on commit ff1682f

Please sign in to comment.