Skip to content

Commit

Permalink
add warning and workaround for Remix error (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
GigaHierz authored Oct 30, 2024
1 parent 0873c72 commit 8dfc922
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: How To Build A Multi Signature Wallet Contract That Requires Multiple Approvals For Transactions On Celo
description: In this tutorial, we will walk through the process of building a multi-signature wallet contract using Solidity and remix ide
description: In this tutorial, we will walk through the process of building a multi-signature wallet contract using Solidity and Remix IDE
authors:
- name: ✍️ Jonathan Iheme
url: https://github.com/4undRaiser
Expand Down
20 changes: 17 additions & 3 deletions docs/developer/deploy/remix.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,29 @@ The [Remix IDE](https://remix-project.org/) is an open-source web and desktop ap

In this guide, you will learn to deploy a smart contract on Celo using [remix.ethereum.org](http://remix.ethereum.org).

:::warning
For Celo L1 Remix does not support Solidity compiler version `0.8.20` and above for EVM versions above **Paris**. If you try to deploy a smart contract with a higher version, you will receive this error message:


```bash
Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?

invalid opcode: opcode 0x5f not defined
The EVM version used by the selected environment is not compatible with the compiler EVM version.
```

A **workaround** is to go into the advanced settings for the compiler in Remix and choose Paris as the EVM version.

For Alfajores L2 everything should be working as on every other EVM compatible chain.
:::

:::tip

To learn more about the features available to you as a smart contract developer with Remix, visit the [Remix documentation](https://remix-ide.readthedocs.io/en/latest/).

:::

:::warning
Remix does not support Solidity compiler version `0.8.20` and above specifically for the Celo network. You can alternatively use [Atlas IDE](https://app.atlaszk.com/ide)
:::


## Create a Smart Contract

Expand Down
2 changes: 1 addition & 1 deletion docs/developer/sdks/celo-sdks.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ Because Celo is compitable with Ethereum any ethereum package can be used with C
- [viem](../viem/index.md)
- [ContractKit](../contractkit/index.md)
- [thirdweb SDK](../thirdweb-sdk/index.md)
- [Rainbowkit-Celo](../rainbowkit-celo/index.md)
- [Rainbowkit](../rainbowkit-celo/index.md)
- [web3](../web3/index.md)

0 comments on commit 8dfc922

Please sign in to comment.