-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I have been using the Docker version of the Sawtooth test network for a few weeks now for uni and I ran into issues with the transaction processors (TPs). The intkey and xo TPs are missing dependencies and will not run properly using docker-compose.yaml files. To fix this issue, you need to build the transaction processor images yourself and ensure these images are referenced in whatever docker-compose.yaml file you use yourself.
I have modified the default "sawtooth-default-pbft.yaml" file from this repo and this will be provided here for any readers who are expereincing the same issues. I have also provided modified Dockerfiles and a .dockerignore file to build both transaction processors. In addition to these, you will need to clone the Python SDK for Sawtooth as the images are built using this repo. Link here:
https://github.com/splintercommunity/sawtooth-sdk-python.git
Following this you will need to copy the Dockerfiles and .dockerignore I have provided here into the root directory of the Python SDK repo. I have written instructions at the top of the docker-compose file "sawtooth-test-pbft_v2.yaml" if anyone gets stuck. Especially if you're new to this stuff, which I was when I started two weeks ago!!!!
If you have any issues, please drop me a reply here or email me at julianoallard03@gmail.com.
Dockerfile-installed-bionic-xo.txt
Dockerfile-installed-bionic-intkey.txt
Note the Dockerfiles and .dockerignore files are .txt files.