dfinity / examples

Example applications, microservices, and code samples for the Internet Computer
https://dfinity.org
Apache License 2.0
537 stars 362 forks source link

bug: Tests failing due to attempt to download outdated ICP Ledger canister version #728

Closed mbjorkqvist closed 7 months ago

mbjorkqvist commented 7 months ago

The following tests are currently failing due to the fact that the version of the ICP Ledger that they attempt to download is outdated and no longer exists:

In particular, in the motoko/ledger-transfer/demo.sh and rust/tokens_transfer/demo.sh files, the following steps try to download the ICP Ledger canister wasm:

export IC_VERSION=98eb213581b239c3829eee7076bea74acad9937b
test -f ledger.wasm.gz || curl -o ledger.wasm.gz https://download.dfinity.systems/ic/${IC_VERSION}/canisters/ledger-canister_notify-method.wasm.gz

The IC_VERSION value should be updated to e.g., the one corresponding to the most recently deployed version of the ICP Ledger on mainnet: https://dashboard.internetcomputer.org/proposal/125315

mbjorkqvist commented 7 months ago

Addressed by this PR.