Commit 8e64173c authored by Ori Pomerantz's avatar Ori Pomerantz

feat(docs/op-stack): Cosmetic updates

parent 37de9e5c
...@@ -57,20 +57,20 @@ We do this using the [Foundry](https://book.getfoundry.sh/) command `cast`. ...@@ -57,20 +57,20 @@ We do this using the [Foundry](https://book.getfoundry.sh/) command `cast`.
1. Change the implementation to the zero address 1. Change the implementation to the zero address
```sh ```sh
cast send --private-key $PRIVKEY $PROXY_ADMIN "upgrade(address,address)" $PROXY $ZERO_ADDR cast send --private-key $PRIVKEY $PROXY_ADMIN "upgrade(address,address)" $L1BLOCKNUM $ZERO_ADDR
``` ```
1. See that the implementation is address zero, and that calling it fails. 1. See that the implementation is address zero, and that calling it fails.
```sh ```sh
cast call $PROXY "implementation()" cast call $L1BLOCKNUM "implementation()"
cast call $PROXY 'number()' cast call $L1BLOCKNUM 'number()'
``` ```
1. Fix the predeploy by returning it to the previous implementation, and verify it works. 1. Fix the predeploy by returning it to the previous implementation, and verify it works.
```sh ```sh
cast send --private-key $PRIVKEY $PROXY_ADMIN "upgrade(address,address)" $PROXY $L1BLOCKNUM_IMPLEMENTATION cast send --private-key $PRIVKEY $PROXY_ADMIN "upgrade(address,address)" $L1BLOCKNUM $L1BLOCKNUM_IMPLEMENTATION
cast call $PROXY 'number()' | cast --to-dec cast call $L1BLOCKNUM 'number()' | cast --to-dec
``` ```
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment