From f5b5b89ad054cee81da83ce42b0fd9364324a2d4 Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Mon, 13 May 2024 15:07:27 +0200 Subject: [PATCH] fix fulfilling requests --- public/samples/APIRequests/ATestnetConsumer.sol | 2 +- public/samples/ChainlinkNodes/Operator.sol | 2 +- src/content/chainlink-nodes/v1/fulfilling-requests.mdx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/samples/APIRequests/ATestnetConsumer.sol b/public/samples/APIRequests/ATestnetConsumer.sol index 4dd8e218e92..e50f35b58ad 100644 --- a/public/samples/APIRequests/ATestnetConsumer.sol +++ b/public/samples/APIRequests/ATestnetConsumer.sol @@ -1,5 +1,5 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.7; +pragma solidity 0.8.19; import {Chainlink, ChainlinkClient} from "@chainlink/contracts/src/v0.8/ChainlinkClient.sol"; import {ConfirmedOwner} from "@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.sol"; diff --git a/public/samples/ChainlinkNodes/Operator.sol b/public/samples/ChainlinkNodes/Operator.sol index 5fcc794ec14..d952f031891 100644 --- a/public/samples/ChainlinkNodes/Operator.sol +++ b/public/samples/ChainlinkNodes/Operator.sol @@ -1,3 +1,3 @@ // SPDX-License-Identifier: MIT -pragma solidity ^0.8.19; +pragma solidity 0.8.19; import "@chainlink/contracts/src/v0.8/operatorforwarder/dev/Operator.sol"; diff --git a/src/content/chainlink-nodes/v1/fulfilling-requests.mdx b/src/content/chainlink-nodes/v1/fulfilling-requests.mdx index 0875678f05a..eb47eaac08f 100644 --- a/src/content/chainlink-nodes/v1/fulfilling-requests.mdx +++ b/src/content/chainlink-nodes/v1/fulfilling-requests.mdx @@ -48,7 +48,7 @@ Your node works with several different types of addresses. Each address type has ### Deploy your own Operator contract -1. Go to Remix and open the [`Operator.sol` smart contract](https://remix.ethereum.org/#url=https://docs.chain.link/samples/ChainlinkNodes/Operator.sol). +1. Go to Remix and open the [`Operator.sol` smart contract](https://remix.ethereum.org/#url=https://docs.chain.link/samples/ChainlinkNodes/Operator.sol&autoCompile=true). 1. On the **Compile** tab, click the **Compile** button for `Operator.sol`. Remix automatically selects the compiler version and language from the `pragma` line unless you select a specific version manually. @@ -124,7 +124,7 @@ You will create a job that calls an OpenAPI , parses the response and then retur After you add jobs to your node, you can use the node to fulfill requests. This section shows what a requester does when they send requests to your node. It is also a way to test and make sure that your node is functioning correctly. -1. Open [ATestnetConsumer.sol in Remix](https://remix.ethereum.org/#url=https://docs.chain.link/samples/APIRequests/ATestnetConsumer.sol). +1. Open [ATestnetConsumer.sol in Remix](https://remix.ethereum.org/#url=https://docs.chain.link/samples/APIRequests/ATestnetConsumer.sol&autoCompile=true). 1. Note that `_setChainlinkToken(0x779877A7B0D9E8603169DdbD7836e478b4624789)` is configured for _Sepolia_.