Skip to content

Commit

Permalink
Merge pull request #924 from guydavis/develop
Browse files Browse the repository at this point in the history
Chia 2.0.1 and Bladebit 3.1.0 testing.
  • Loading branch information
guydavis authored Sep 10, 2023
2 parents 85706bc + 1646749 commit e3f51be
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/develop-chia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
"UBUNTU_VER=jammy"
"MACHINARIS_STREAM=develop"
"CHIADOG_BRANCH=dev"
"CHIA_BRANCH=release/2.0.0"
"BLADEBIT_BRANCH=cuda-compression"
"CHIA_BRANCH=main"
"BLADEBIT_BRANCH=master"
"MADMAX_BRANCH=master"
"PLOTMAN_BRANCH=compress"
tags: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main-chia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
"MACHINARIS_STREAM=latest"
"CHIA_BRANCH=release/2.0.0"
"MADMAX_BRANCH=v1.8.2.giga14"
"BLADEBIT_BRANCH=cuda-compression"
"BLADEBIT_BRANCH=master"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:latest
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-chia.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
"CHIADOG_BRANCH=dev"
"CHIA_BRANCH=release/2.0.0"
"PLOTMAN_BRANCH=development"
"BLADEBIT_BRANCH=cuda-compression"
"BLADEBIT_BRANCH=master"
"MADMAX_BRANCH=v1.8.2.giga14"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - 2023-?-?
### Added
### Changed
### Updated
- [Bladebit](https://github.com/Chia-Network/bladebit/releases/tag/v3.1.0-beta1) to v3.1.0-beta1
- [Chia](https://github.com/Chia-Network/chia-blockchain/releases/tag/2.0.1) to v2.0.1. - Patches GUI/CLI plotting error that DID NOT AFFECT MACHINARIS 2.0.0 USERS.

## [2.0.0] - 2023-08-24
### Added
- Request a new plot check, via 'Recheck' button added to Check results dialog on Farming page.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0
2.0.1
8 changes: 4 additions & 4 deletions scripts/bladebit_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ if [[ (${mode} =~ ^fullnode.* || ${mode} =~ "plotter") && (${blockchains} == 'c
cd /opt/chia/bladebit
rm -f ./bladebit # Remove stale version bundled in the DEB package.
if [[ "${arch_name}" = "x86_64" ]]; then
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.0.0/bladebit-v3.0.0-ubuntu-x86-64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.0.0/bladebit-cuda-v3.0.0-ubuntu-x86-64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0-beta1/bladebit-v3.1.0-beta1-ubuntu-x86-64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0-beta1/bladebit-cuda-v3.1.0-beta1-ubuntu-x86-64.tar.gz
else
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.0.0/bladebit-v3.0.0-ubuntu-arm64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.0.0/bladebit-cuda-v3.0.0-ubuntu-arm64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0-beta1/bladebit-v3.1.0-beta1-ubuntu-arm64.tar.gz
curl -sLJO https://github.com/Chia-Network/bladebit/releases/download/v3.1.0-beta1/bladebit-cuda-v3.1.0-beta1-ubuntu-arm64.tar.gz
fi
tar -xvf bladebit-v3.*.tar.gz
tar -xvf bladebit-cuda-v3.*.tar.gz
Expand Down
4 changes: 2 additions & 2 deletions scripts/forks/chia_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ else
echo "Installing Chia CUDA binaries on ${arch_name}..."
cd /tmp
if [[ "${arch_name}" = "x86_64" ]]; then
curl -sLJO https://github.com/Chia-Network/chia-blockchain/releases/download/2.0.0/chia-blockchain-cli_2.0.0-1_amd64.deb
curl -sLJO https://github.com/Chia-Network/chia-blockchain/releases/download/2.0.1/chia-blockchain-cli_2.0.1-1_amd64.deb
apt-get install ./chia-blockchain-cli*.deb
elif [[ "${arch_name}" = "arm64" ]]; then
curl -sLJO https://github.com/Chia-Network/chia-blockchain/releases/download/2.0.0/chia-blockchain-cli_2.0.0-1_arm64.deb
curl -sLJO https://github.com/Chia-Network/chia-blockchain/releases/download/2.0.1/chia-blockchain-cli_2.0.1-1_arm64.deb
apt-get install ./chia-blockchain-cli*.deb
else
echo "Installing Chia CUDA binaries skipped -> unsupported architecture: ${arch_name}"
Expand Down
8 changes: 6 additions & 2 deletions web/models/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,12 @@ def extract_unique_errors(self, pool_state):
errors = []
if 'pool_errors_24h' in pool_state:
for error in pool_state['pool_errors_24h']:
if not error['error_message'] in errors:
errors.append(error['error_message'])
try:
if not error['error_message'] in errors:
errors.append(error['error_message'])
except:# Some errors don't have an 'error_message' for some reason
if not str(error) in errors:
errors.append(str(error))
return errors

class PartialsChartData:
Expand Down

0 comments on commit e3f51be

Please sign in to comment.