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 #837

Closed
wants to merge 2 commits 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 10, 2025 03:35
@yhabib yhabib self-assigned this Feb 10, 2025
@yhabib yhabib mentioned this pull request Feb 10, 2025
1 task
yhabib added a commit that referenced this pull request Feb 10, 2025
# Motivation

#837 is currently blocked because a new field in the `list_neurons`
requests is breaking our tests. This PR unblocks it by updating the
tests and exposing this new parameter.

This PR addresses just the issues in the nns package.

# Changes

- Checkout ic at `14c8f44`
- 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 `nns` package
- Fix `fromListNeurons` type 
- Exposed `neuron_subaccounts` through `listNeurons`
- Updated expectations for tests based on the new API

# Tests

- Should pass as before

# Todos

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

---------

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

size-limit report 📦

Path Size
@dfinity/ckbtc 8.12 KB (0%)
@dfinity/cketh 3.68 KB (0%)
@dfinity/cmc 1.41 KB (0%)
@dfinity/ledger-icrc 4.29 KB (0%)
@dfinity/ledger-icp 15.41 KB (0%)
@dfinity/nns 37.31 KB (0%)
@dfinity/nns-proto 140.98 KB (0%)
@dfinity/sns 17.28 KB (+0.56% 🔺)
@dfinity/utils 4.71 KB (0%)
@dfinity/zod-schemas 626 B (0%)
@dfinity/ic-management 3.22 KB (0%)

@yhabib yhabib closed this Feb 10, 2025
@yhabib
Copy link
Contributor

yhabib commented Feb 10, 2025

Closed in favor of #839

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