Skip to content

Commit

Permalink
Fix tests erroring out on newest rust v1.63.0 (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaoticTempest authored Aug 12, 2022
1 parent 7de5010 commit 18c24a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest] # macos-latest disabled due to time issues w/ nearcore
toolchain: [stable, 1.60.0]

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- name: "${{ matrix.toolchain }}"
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
- uses: Swatinem/rust-cache@v1
- name: Add wasm32 target
run: rustup target add wasm32-unknown-unknown
- name: Check with stable features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
**Release notes and unreleased changes can be found in the [CHANGELOG](CHANGELOG.md)**

## Requirements
- Rust v1.56 and up
- Rust v1.60.0 and up
- MacOS (x86) or Linux (x86) for sandbox tests. Testnet is available regardless

### M1 MacOS
Expand Down
2 changes: 1 addition & 1 deletion workspaces/src/types/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ impl Contract {

/// Details of an Account or Contract. This is an non-exhaustive list of items
/// that the account stores in the blockchain state.
#[derive(Debug, PartialEq)]
#[derive(Debug, Eq, PartialEq)]
#[non_exhaustive]
pub struct AccountDetails {
pub balance: Balance,
Expand Down

0 comments on commit 18c24a4

Please sign in to comment.