From 4b879dfa426c820d96032c4472cb9a10112550cf Mon Sep 17 00:00:00 2001 From: Matthew Whitehead Date: Tue, 27 Sep 2022 13:31:59 +0100 Subject: [PATCH 1/2] Fix the example ff deploy command to specify ethereum Signed-off-by: Matthew Whitehead --- docs/tutorials/custom_contracts/ethereum.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/tutorials/custom_contracts/ethereum.md b/docs/tutorials/custom_contracts/ethereum.md index 77ff405d17..ba23f4f18b 100644 --- a/docs/tutorials/custom_contracts/ethereum.md +++ b/docs/tutorials/custom_contracts/ethereum.md @@ -85,14 +85,13 @@ If you take the smart contract source code in the example above, and save that t $ solc --combined-json abi,bin simple_storage.sol > simple_storage.json ``` -Next, we'll tell the FireFly to deploy the compiled contract to a running stack named `dev`. If your stack name is different, update the command accordingly: +Next, we'll tell the FireFly to deploy the compiled contract to a running stack named `dev` that is using an `ethereum` blockchain. If your stack name is different, update the command accordingly: ``` $ ff deploy dev simple_storage.json -reading stack config... done -deploying simple_storage.sol:SimpleStorage... done - -contract address: 0xa5ea5d0a6b2eaf194716f0cc73981939dca26da1 +{ + "address": "0xa5ea5d0a6b2eaf194716f0cc73981939dca26da1" +} ``` The FireFly CLI tells us that it has successfully deployed the contract with an address of `0xa5ea5d0a6b2eaf194716f0cc73981939dca26da1`. We will use this contract address for the rest of this guide. From 841efbafdb34c6a5d920554c0a3b2e5169ddaed9 Mon Sep 17 00:00:00 2001 From: Matt Whitehead Date: Wed, 12 Oct 2022 08:48:52 +0100 Subject: [PATCH 2/2] Update docs/tutorials/custom_contracts/ethereum.md so example command is correct Co-authored-by: Nicko Guyer Signed-off-by: Matt Whitehead --- docs/tutorials/custom_contracts/ethereum.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/custom_contracts/ethereum.md b/docs/tutorials/custom_contracts/ethereum.md index ba23f4f18b..de2c6e2f3b 100644 --- a/docs/tutorials/custom_contracts/ethereum.md +++ b/docs/tutorials/custom_contracts/ethereum.md @@ -88,7 +88,7 @@ $ solc --combined-json abi,bin simple_storage.sol > simple_storage.json Next, we'll tell the FireFly to deploy the compiled contract to a running stack named `dev` that is using an `ethereum` blockchain. If your stack name is different, update the command accordingly: ``` -$ ff deploy dev simple_storage.json +$ ff deploy ethereum dev simple_storage.json { "address": "0xa5ea5d0a6b2eaf194716f0cc73981939dca26da1" }