Skip to content

Commit 425a155

Browse files
authored
fix(target_chains/near): update dependencies and code to make tests work (#2100)
The old workspaces package in near that is used as a test suite couldn't download the required near-sandbox for it from an external url and it resulted in integration tests failing. The new workspaces package is called near-workspaces and its near-sandbox has some rust version requirements to fully work, otherwise it panics with CompilationError(PrepareError(Deserialization)). The rust version 1.79.0 that its sandbox uses works but the latest stable rust 1.82.0 still fails. This assumption is not documented anywhere and I guessed it based on this old issue. In the journey to make it work with @Riateche, we ended up updating the SDKs hoping to fix the problem and it's probably not needed but as the changes are good and will save us time in the future, i'll be keeping them.
1 parent 5d806ad commit 425a155

File tree

18 files changed

+3235
-2695
lines changed

18 files changed

+3235
-2695
lines changed

.github/workflows/ci-near-contract.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,5 @@ jobs:
2323
working-directory: target_chains/near/receiver
2424
steps:
2525
- uses: actions/checkout@v2
26-
- name: Install nextest
27-
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
2826
- name: Test
2927
run: ./workspace-test.sh

0 commit comments

Comments
 (0)