Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos in documentation files #761

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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