Skip to content
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

bot: Update Candid Files #846

Closed
wants to merge 1 commit into from

Conversation

pr-automation-bot-public[bot]
Copy link
Contributor

Motivation

The canisters APIs have been updated.

Changes

  • Updated the candid interface files for the canisters used in this library.
  • Updated the javascript bindings for the latest candid interfaces.

Tests

  • Please check the API updates for any breaking changes that affect our code.

@pr-automation-bot-public pr-automation-bot-public bot requested review from a team as code owners February 21, 2025 10:18
Copy link
Contributor

size-limit report 📦

Path Size
@dfinity/ckbtc 8.15 KB (+0.37% 🔺)
@dfinity/cketh 3.69 KB (+0.22% 🔺)
@dfinity/cmc 1.41 KB (0%)
@dfinity/ledger-icrc 4.29 KB (0%)
@dfinity/ledger-icp 15.41 KB (0%)
@dfinity/nns 37.55 KB (0%)
@dfinity/nns-proto 140.99 KB (0%)
@dfinity/sns 17.63 KB (+2.03% 🔺)
@dfinity/utils 4.71 KB (0%)
@dfinity/zod-schemas 626 B (0%)
@dfinity/ic-management 3.22 KB (0%)

@yhabib yhabib mentioned this pull request Feb 21, 2025
1 task
@yhabib yhabib self-assigned this Feb 21, 2025
yhabib added a commit that referenced this pull request Feb 21, 2025
# Motivation

#846 is blocked due to a new field, `topic`, expected by
`convertGenericNervousSystemFunction`.

This PR adds this new field and also exposes a new function,
`list_topics`, to retrieve a list of all topics.

# Changes

- Checkout ic at `2f02a660f6`
- Ran `./scripts/import-candid ../ic` from ic-js root folder 
- Ran `./scripts/compile-idl-js` from ic-js root folder 
- Revert changes not related to the `sns` package
- Exposed `list_topics` 
- Updated expectations for tests based on the new API
- Increased the size of the `sns` package.

# Tests

- Added new test for the new function `list_topics`

# Todos

- [ ] Add entry to changelog (if necessary).

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
@yhabib
Copy link
Contributor

yhabib commented Feb 21, 2025

Closing in favor of #848

@yhabib yhabib closed this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants