Drop support for Nim 1.4.x

Only support stable Nim versions 1.2.x and 1.6.x.
This commit is contained in:
Mark Spanbroek 2022-06-29 13:54:31 +02:00 committed by markspanbroek
parent 95c5282b8a
commit 94f5f35a10
2 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
nim: [1.2.16, 1.4.8, stable]
nim: [1.2.16, stable]
steps:
- name: Checkout
uses: actions/checkout@v2

View File

@ -74,9 +74,7 @@ suite "Contracts":
holder: Address,
amount: UInt256): ?TransactionResponse {.contract.}
let txResp = await token.mint(accounts[1], 100.u256)
# `of` instead of `is` due to v1.4.8 compiler error:
# "invalid type: 'type Confirmable' for var"
check txResp of (?TransactionResponse)
check txResp is (?TransactionResponse)
check txResp.isSome
test "can call non-constant functions with a Confirmable return type":