-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop updating old ICRC1 index canister candid #805
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
Are you going to clean up the library in other PR(s) as well? |
No, that was not my intention. That's why I wrote this in the PR description:
|
Alright, let's try to not forget about it 😉 |
There is no way to know if anyone is still using the old canister so this could potentially continue to be useful to somebody forever... |
The DID file seems to be used only for implementing I assume most Index canisters now implement the NG version, notably because Long story short, I agree with you that we can wait a bit before cleaning up the library. That said, I feel it might already be possible to proceed without causing any issues. |
Motivation
The old ICRC1 index canister was deleted in dfinity/ic#3286
This caused the automatic candid update job to fail when it tried to download the candid for this canister:
https://github.com/dfinity/ic-js/actions/runs/12626049412/job/35178612469
I think it will be good to keep the canister in
ic-js
for backwards compatibility, at least for a while.But since the canister code is deleted, the candid definitely won't be changing anymore so we can stop automatically updating it.
Changes
Stop updating the candid for the old ICRC1 index canister in
scripts/import-candid
.Tests
Ran the script before and after and saw that it started working again.
Todos
not necessary