I want to copy the xrc_mock canister from the subnet-rental-canisterrepo to this repo and make the wasm available in a release so that I can download it in the test environment script for NNS dapp.
When working on that I ran into problems caused by a mismatch in dependencies. After fixing that, running scripts/build-wasm resulted in some warnings that weren't there before.
So I thought it would be best to update the dependencies and fix the warnings in a separate PR first, before importing the mock canister.
Changes
Changed the candid dependency in Cargo.toml from 0.10.2 to 0.10.10.
Deleted Cargo.lock
Ran scripts/build-wasm and addressed warnings until all warnings were gone.
Tests
I'm assuming that when the warning tells me to do X instead of Y, that those functions do the same things. But I have not checked or verified this. I'm counting on GitHub CI running enough tests. If there is any manual testing that needs to be done, let me know.
Motivation
I want to copy the
xrc_mock
canister from thesubnet-rental-canister
repo to this repo and make the wasm available in a release so that I can download it in the test environment script for NNS dapp.When working on that I ran into problems caused by a mismatch in dependencies. After fixing that, running
scripts/build-wasm
resulted in some warnings that weren't there before.So I thought it would be best to update the dependencies and fix the warnings in a separate PR first, before importing the mock canister.
Changes
candid
dependency inCargo.toml
from 0.10.2 to 0.10.10.Cargo.lock
scripts/build-wasm
and addressed warnings until all warnings were gone.Tests
I'm assuming that when the warning tells me to do X instead of Y, that those functions do the same things. But I have not checked or verified this. I'm counting on GitHub CI running enough tests. If there is any manual testing that needs to be done, let me know.