Skip to content

Commit

Permalink
feat: update randomx (#5894)
Browse files Browse the repository at this point in the history
Description
---
Update randomx version

Motivation and Context
---
Fixes: #5141 

How Has This Been Tested?
---
All unit tests pass
  • Loading branch information
SWvheerden authored Nov 2, 2023
1 parent 1993bef commit e445244
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 14 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,6 @@ jobs:
echo "PLATFORM_SPECIFIC_DIR=osx" >> $GITHUB_ENV
echo "LIB_EXT=.dylib" >> $GITHUB_ENV
# Hardcoded sdk for MacOSX 11 on ARM64
- name: Set environment variables - macOS - ARM64 (pin/sdk)
if: ${{ startsWith(runner.os,'macOS') && matrix.builds.name == 'macos-arm64' }}
run: |
xcrun --show-sdk-path
ls -la "/Library/Developer/CommandLineTools/SDKs/"
echo "RANDOMX_RS_CMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk" >> $GITHUB_ENV
rustup target add ${{ matrix.builds.target }}
- name: Set environment variables - Ubuntu
if: startsWith(runner.os,'Linux')
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,8 @@ brew install --cask powershell
```

#### (macOS M1 chipset)
It is important to note that RandomX does not work on Xcode version 14.1 and newer. To compile Tari and run properly you need to run XCode version 14.0 or earlier.
To run multiple versions of XCode, you can use this guide [here](https://hacknicity.medium.com/working-with-multiple-versions-of-xcode-e331c01aa6bc).

If RandomX unit tests are still failing, please update the Mac to ensure it's running at least `Darwin Kernel Version 22.3.0`.
If RandomX unit tests are failing, please update the Mac to ensure it's running at least `Darwin Kernel Version 22.3.0`.


#### (Ubuntu 18.04, including WSL-2 on Windows)
Expand Down
2 changes: 1 addition & 1 deletion base_layer/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ num-format = "0.4.0"
once_cell = "1.8.0"
prost = "0.9"
rand = "0.8"
randomx-rs = { version = "1.2.1", optional = true }
randomx-rs = { version = "1.3", optional = true }
serde = { version = "1.0.106", features = ["derive"] }
serde_json = "1.0"
serde_repr = "0.1.8"
Expand Down

0 comments on commit e445244

Please sign in to comment.