Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tests erroring out on newest rust v1.63.0 #177

Merged
merged 1 commit into from
Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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