Skip to content

Commit

Permalink
Pre-commit... again?!
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Dec 6, 2024
1 parent 57c302d commit 1bf3ae1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lazer/contracts/evm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ $ forge snapshot

### Anvil

Anvil does not come with CreateX by default. It can be deployed or an RPC which has the contract can be forked. The below command forks an RPC with a functional CreateX contract.
Anvil does not come with CreateX by default. It can be deployed or an RPC which has the contract can be forked. The below command forks an RPC with a functional CreateX contract.

```shell
$ anvil --fork-url "https://eth-sepolia.public.blastapi.io"
$ anvil --fork-url "https://eth-sepolia.public.blastapi.io"
```

### Deploy
Expand All @@ -44,6 +45,7 @@ $ forge script script/PythLazerDeploy.s.sol --rpc-url <your_rpc_url> --private-k
```

### Upgrade

The UUPSUpgradeable feature adds functions to the cocntract which support upgrading through the use of an UUPS/ERC1967Proxy. A function can be defined to migrate state if needed. Be careful of changing storage slots when upgrading. See [Documentation](https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable) for more details.
In addition, the private key is necessary or contracts will be deployed to different addresses than expected.

Expand Down

0 comments on commit 1bf3ae1

Please sign in to comment.