From 69fa3575203d4639d04591a8c2f6d18ba79d66de Mon Sep 17 00:00:00 2001 From: Eric Passmore Date: Mon, 23 Oct 2023 14:36:28 -0700 Subject: [PATCH 1/3] updated tutorial readme for Leap 5.0 --- tutorials/bios-boot-tutorial/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/bios-boot-tutorial/README.md b/tutorials/bios-boot-tutorial/README.md index 036a19401b..af9e769bb7 100644 --- a/tutorials/bios-boot-tutorial/README.md +++ b/tutorials/bios-boot-tutorial/README.md @@ -17,17 +17,17 @@ The `bios-boot-tutorial.py` script simulates the bios boot sequence. ## Steps -1. Install Leap 3.1 binaries by following the steps provided in the [Leap README](https://github.com/AntelopeIO/leap/tree/release/3.1#software-installation). +1. Install Leap 5.0 binaries by following the steps provided in the [Leap README](https://github.com/AntelopeIO/leap/tree/release/5.0#software-installation). -2. Install CDT 3.0 binaries by following the steps provided in the [CDT README](https://github.com/AntelopeIO/cdt/tree/release/3.0#binary-releases). +2. Install CDT 4.0 binaries by following the steps provided in the [CDT README](https://github.com/AntelopeIO/cdt/tree/release/4.0#binary-releases). -3. Compile EOS System Contracts 3.1: +3. Compile EOS System Contracts 3.2: ```bash $ cd ~ -$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts system-contracts-3.1 -$ cd ./system-contracts-3.1/ -$ git checkout release/3.1 +$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts system-contracts-3.2 +$ cd ./system-contracts-3.2/ +$ git checkout release/3.2 $ mkdir build $ cd ./build $ cmake -DCMAKE_BUILD_TYPE=Release .. From 4a8e0daca912aa0dd29339f959e43e4116157292 Mon Sep 17 00:00:00 2001 From: Eric Passmore Date: Tue, 24 Oct 2023 10:34:47 -0700 Subject: [PATCH 2/3] general instructions, no specific versions --- tutorials/bios-boot-tutorial/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tutorials/bios-boot-tutorial/README.md b/tutorials/bios-boot-tutorial/README.md index af9e769bb7..d4114201ed 100644 --- a/tutorials/bios-boot-tutorial/README.md +++ b/tutorials/bios-boot-tutorial/README.md @@ -17,17 +17,17 @@ The `bios-boot-tutorial.py` script simulates the bios boot sequence. ## Steps -1. Install Leap 5.0 binaries by following the steps provided in the [Leap README](https://github.com/AntelopeIO/leap/tree/release/5.0#software-installation). +1. Install the latest [Leap binaries](https://github.com/AntelopeIO/leap/releases) by following the steps provided in the README. -2. Install CDT 4.0 binaries by following the steps provided in the [CDT README](https://github.com/AntelopeIO/cdt/tree/release/4.0#binary-releases). +2. Install the latest [CDT binaries](https://github.com/AntelopeIO/cdt/releases) by following the steps provided in the README. -3. Compile EOS System Contracts 3.2: +3. Compile the latest [EOS System Contracts](https://github.com/eosnetworkfoundation/eos-system-contracts/releases). Replaces `release/*latest*` with the latest release branch. ```bash $ cd ~ -$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts system-contracts-3.2 -$ cd ./system-contracts-3.2/ -$ git checkout release/3.2 +$ git clone https://github.com/eosnetworkfoundation/eos-system-contracts +$ cd ./eos-system-contracts/ +$ git checkout release/*latest* $ mkdir build $ cd ./build $ cmake -DCMAKE_BUILD_TYPE=Release .. From 07a2376878822983095f91623460e262d2be3035 Mon Sep 17 00:00:00 2001 From: Eric Passmore Date: Tue, 24 Oct 2023 12:17:34 -0700 Subject: [PATCH 3/3] validated tutorial run from clean docker --- tutorials/bios-boot-tutorial/README.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tutorials/bios-boot-tutorial/README.md b/tutorials/bios-boot-tutorial/README.md index d4114201ed..428db4b742 100644 --- a/tutorials/bios-boot-tutorial/README.md +++ b/tutorials/bios-boot-tutorial/README.md @@ -7,13 +7,8 @@ The `bios-boot-tutorial.py` script simulates the bios boot sequence. 1. Python 3.x 2. CMake 3. git -4. g++ -5. build-essentials -6. pip3 -7. openssl -8. curl -9. jq -10. psmisc +4. curl +5. libcurl4-gnutls-dev ## Steps @@ -42,8 +37,9 @@ The last command in the previous step printed the contracts directory. Make note 5. Launch the `bios-boot-tutorial.py` script: ```bash +$ pip install numpy $ cd ~ -$ git clone https://github.com/AntelopeIO/leap +$ git clone -b release/*latest* https://github.com/AntelopeIO/leap $ cd ./leap/tutorials/bios-boot-tutorial/ $ python3 bios-boot-tutorial.py --cleos=cleos --nodeos=nodeos --keosd=keosd --contracts-dir="${CONTRACTS_DIRECTORY}" -w -a ```