Skip to content

Commit

Permalink
docs: add notes about evm version config to readme (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored Dec 12, 2023
1 parent 669fa22 commit 4b3c397
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,17 @@ solidity:
version: 0.8.14
```
### EVM Versioning
By default, `ape-solidity` will use whatever version of EVM rules are set as default in the compiler version that gets used.
Sometimes, you might want to use a different version, such as deploying on Arbitrum or Optimism where new opcodes are not supported yet.
If you want to require a different version of EVM rules to use in the configuration of the compiler, set it in your `ape-config.yaml` like this:

```yaml
solidity:
evm_version: paris
```

### Dependency Mapping

To configure import remapping, use your project's `ape-config.yaml` file:
Expand Down

0 comments on commit 4b3c397

Please sign in to comment.