Skip to content

Commit

Permalink
Merge pull request #761 from leopardracer/master
Browse files Browse the repository at this point in the history
fix: typos in documentation files
  • Loading branch information
GianfrancoBazzani authored Dec 3, 2024
2 parents 9a44c5e + 3bbdef9 commit 4539b21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/scripts/docs/supersede_level.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All this process is required in order to avoid to the users to resolve both vers

## **Usage**

### **Testnet (mainet for ethernaut XD)**
### **Testnet (mainnet for ethernaut XD)**

- Select the network in the [`constants.js`](https://github.com/OpenZeppelin/ethernaut/blob/client/src/constants.js) file by uncommenting the `ACTIVE_NETWORK` constant.

Expand All @@ -36,7 +36,7 @@ The tool will guide the operator through the process. Operator is the account th

The script contains a commented function `printEditedStorageSlots(oldAddress, newAddress)` that can be uncommented to prompt in the terminal all storage slots edited after the process.

Ethernaut contract will be halt during the operation, any call to `createLevelInstance(Level _level)` or `submitLevelInstance(address payable _instance)` will revet with `"Contract locked due maintenance operations"` string.
Ethernaut contract will be halt during the operation, any call to `createLevelInstance(Level _level)` or `submitLevelInstance(address payable _instance)` will revert with `"Contract locked due maintenance operations"` string.

Original statistics implementation is hardcoded in `downgradeStatisticsSupersederToStatisticsAndSaveDeployData()` function it is not needed to deploy a new instance, ensure that you hardcode the correct address.

Expand Down
2 changes: 1 addition & 1 deletion client/src/gamedata/en/descriptions/levels/dex2.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This level will ask you to break `DexTwo`, a subtlely modified `Dex` contract from the previous level, in a different way.
This level will ask you to break `DexTwo`, a subtly modified `Dex` contract from the previous level, in a different way.

You need to drain all balances of token1 and token2 from the `DexTwo` contract to succeed in this level.

Expand Down

0 comments on commit 4539b21

Please sign in to comment.