From df405b411c13f273dc692d19676f780882856962 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:24:45 +0200 Subject: [PATCH 1/2] Update supersede_level.md --- client/scripts/docs/supersede_level.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/scripts/docs/supersede_level.md b/client/scripts/docs/supersede_level.md index 6414d3622..f562405be 100644 --- a/client/scripts/docs/supersede_level.md +++ b/client/scripts/docs/supersede_level.md @@ -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. @@ -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. From 3bbdef9722f24c9f2dc5f98eb515af17c11519e9 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Tue, 19 Nov 2024 17:28:45 +0200 Subject: [PATCH 2/2] Update dex2.md --- client/src/gamedata/en/descriptions/levels/dex2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/gamedata/en/descriptions/levels/dex2.md b/client/src/gamedata/en/descriptions/levels/dex2.md index 7a4a2a56d..0e9cddc3e 100644 --- a/client/src/gamedata/en/descriptions/levels/dex2.md +++ b/client/src/gamedata/en/descriptions/levels/dex2.md @@ -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.