Skip to content

Commit

Permalink
fix(target_chains/near): update dependencies and code to make tests w…
Browse files Browse the repository at this point in the history
…ork (#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.
  • Loading branch information
ali-bahjati authored Nov 7, 2024
1 parent 5d806ad commit 425a155
Show file tree
Hide file tree
Showing 18 changed files with 3,235 additions and 2,695 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci-near-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,5 @@ jobs:
working-directory: target_chains/near/receiver
steps:
- uses: actions/checkout@v2
- name: Install nextest
run: curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- name: Test
run: ./workspace-test.sh
Loading

0 comments on commit 425a155

Please sign in to comment.