Drop support for Nim 1.4.x
Only support stable Nim versions 1.2.x and 1.6.x.
This commit is contained in:
parent
95c5282b8a
commit
94f5f35a10
|
@ -7,7 +7,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
nim: [1.2.16, 1.4.8, stable]
|
nim: [1.2.16, stable]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
@ -74,9 +74,7 @@ suite "Contracts":
|
||||||
holder: Address,
|
holder: Address,
|
||||||
amount: UInt256): ?TransactionResponse {.contract.}
|
amount: UInt256): ?TransactionResponse {.contract.}
|
||||||
let txResp = await token.mint(accounts[1], 100.u256)
|
let txResp = await token.mint(accounts[1], 100.u256)
|
||||||
# `of` instead of `is` due to v1.4.8 compiler error:
|
check txResp is (?TransactionResponse)
|
||||||
# "invalid type: 'type Confirmable' for var"
|
|
||||||
check txResp of (?TransactionResponse)
|
|
||||||
check txResp.isSome
|
check txResp.isSome
|
||||||
|
|
||||||
test "can call non-constant functions with a Confirmable return type":
|
test "can call non-constant functions with a Confirmable return type":
|
||||||
|
|
Loading…
Reference in New Issue