Skip to content

Commit 731ae4b

Browse files
authored
Downgrade rust version to 1.86 as a temporary measure until we upgrade sp-io (#1436)
* Add `panic = abort` to runtime crate to see if it fixes #1435 * Taplo * Try instead - downgrading rust * Update rust-toolchain.toml * Trivial doccomment change to trigger CI tests * Use 1.86 - as 1.78 is too old for our dependencies * Trivial doccomment change to trigger CI tests * Apply suggestions from review * Install rustfmt and clippy * Taplo * Changelog
1 parent 37f1b33 commit 731ae4b

File tree

5 files changed

+12
-3
lines changed

5 files changed

+12
-3
lines changed

.github/actions/install-dependencies/action.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ runs:
1212
shell: bash
1313
- name: Add Rust components
1414
run: |
15+
# FIXME 1435 - 1.86 is only needed until we next update substrate - otherwise we use stable
16+
rustup install 1.86.0
17+
rustup default 1.86.0
1518
rustup target add wasm32-unknown-unknown
1619
rustup component add rust-src
1720
shell: bash

.github/workflows/lint-and-check-licenses.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- name: Format and lint
1414
run: |
1515
curl -LsSf https://github.com/tamasfe/taplo/releases/download/0.8.0/taplo-full-linux-x86_64.gz | gunzip -N -d - > ${CARGO_HOME:-~/.cargo}/bin/taplo && chmod +x ${CARGO_HOME:-~/.cargo}/bin/taplo
16+
rustup component add rustfmt
17+
rustup component add clippy
1618
cargo fmt --check
1719
taplo fmt --check
1820
cargo clippy -- -D warnings

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ At the moment this project **does not** adhere to
1111

1212
### Breaking
1313
- In [#1387](https://github.com/entropyxyz/entropy-core/pull/1387/) the substrate version was updated, this could cause changes to the chainspec file as well requires a strategy for command line argument ```--public-addr``` and for handling ```node-key-generation```
14+
- In [1436](https://github.com/entropyxyz/entropy-core/pull/1436) rust is downgraded to version 1.86
15+
as a temporary measure until we upgrade sp-io. This changelog entry can be deleted when we revert
16+
to using stable.
1417

1518
### Added
1619
- Add outtie pallet ([#1418](https://github.com/entropyxyz/entropy-core/pull/1418))

crates/threshold-signature-server/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
// You should have received a copy of the GNU Affero General Public License
1414
// along with this program. If not, see <https://www.gnu.org/licenses/>.
1515

16-
//! # Server
16+
//! # Threshold Server
1717
//!
18-
//! The Threshold Server which stores key shares and participates in the signing protocol.
18+
//! The Threshold Signature Server which stores key shares and participates in the signing protocol.
1919
//!
2020
//! ## Overview
2121
//!

rust-toolchain.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
[toolchain]
2-
channel="stable"
2+
# FIXME 1435 - 1.86 is only needed until we next update substrate - otherwise we use stable
3+
channel="1.86.0"
34
targets=["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)