Skip to content

Commit

Permalink
FIx code snippet mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchatruc committed Dec 23, 2024
1 parent 0c05f2c commit 376773d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions claim_contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Put the new implementation in a file inside the `src` directory with an appropri

Under the `script` directory, create a new forge script (with the `.s.sol` extension) with a name like `UpgradeContract.s.sol`, with this code in it:

```solidity
```solidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;
Expand Down Expand Up @@ -199,9 +198,9 @@ After running this script, it will show a message like this:


```
Proxy Admin to call: 0xf447FD34D97317759777E242fF64cEAe9C58Bf9A
Calldata of the transaction:
0x9623609d0000000000000000000000000234947ce63d1a5e731e5700b911fb32ec54c3c3000000000000000000000000f7ac74dbc77e1afda093598c912a6b082dabc31a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000046c2eb35000000000000000000000000000000000000000000000000000000000
Proxy Admin to call: 0xf447FD34D97317759777E242fF64cEAe9C58Bf9A
Calldata of the transaction:
0x9623609d0000000000000000000000000234947ce63d1a5e731e5700b911fb32ec54c3c3000000000000000000000000f7ac74dbc77e1afda093598c912a6b082dabc31a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000046c2eb35000000000000000000000000000000000000000000000000000000000
```

Go into the foundation safe, create a new transaction calling the proxy admin address shown in the message with the message's calldata. Done.

0 comments on commit 376773d

Please sign in to comment.