documentation icon indicating copy to clipboard operation
documentation copied to clipboard

[Bug]: Cannot successfully compile Operator.sol

Open hyc0812 opened this issue 11 months ago • 3 comments

Describe the bug

Hello, I can't successfully compile the Operator.sol with the link you provide:

Fulfilling request: https://docs.chain.link/chainlink-nodes/v1/fulfilling-requests#overview

Set up your Operator contract -> Deploy your own operator contract -> step 1: Go to Remix and open the Operator.sol Step 2: compile: Can't successfully compile the Operator.sol

To Reproduce

  1. Go to 'https://docs.chain.link/chainlink-nodes/v1/fulfilling-requests#deploy-your-own-operator-contract'
  2. Click on 'step 1: Go to Remix and open the Operator.sol'
  3. See error in Remix IDE

URLs

  • https://docs.chain.link/chainlink-nodes/v1/fulfilling-requests#deploy-your-own-operator-contract
  • ...

Expected behavior

No response

Additional context

No response

hyc0812 avatar Mar 27 '24 17:03 hyc0812

Hi @hyc0812

I'm sorry that you are experiencing this issue.
We are currently working to fix it (cf. this PR)

Right now, you have two options:

  • Use Hardhat or Foundry to compile and deploy the contract. You will not have any issues
  • If you want to test locally and prefer to use Remix then as a temporary solution, open this contract in RemixIDE

aelmanaa avatar Apr 04 '24 14:04 aelmanaa

Hi @aelmanaa,

Thank you for providing me with this temporary solution. Please also update when the Operator contract is ready for Remix use on testnet.

hyc0812 avatar Apr 08 '24 16:04 hyc0812

Hi @hyc0812

Sorry for the delay. Can you check again, please? It should work now

aelmanaa avatar May 13 '24 13:05 aelmanaa

Closing this for now. Please open it again if you still run into an issue

aelmanaa avatar Jun 04 '24 06:06 aelmanaa