Skip to content

bot: Update proposals candid bindings#7260

Closed
pr-automation-bot-public[bot] wants to merge 2 commits intomainfrom
bot-proposals-update-1755158654
Closed

bot: Update proposals candid bindings#7260
pr-automation-bot-public[bot] wants to merge 2 commits intomainfrom
bot-proposals-update-1755158654

Conversation

@pr-automation-bot-public
Copy link
Contributor

Motivation

We would like to render all the latest proposal types.
Even with no changes, just updating the reference is good practice.

Changes

  • Update the version of IC_COMMIT_FOR_PROPOSALS specified in config.json.
  • Updated the proposals candid files to the versions in that commit.
  • Updated the Rust code derived from .did files in the proposals payload rendering crate.

Tests

  • Please check the API updates for any breaking changes that affect our code.
  • Please check for new proposal types and add tests for them.

Breaking changes are:

  • New mandatory fields
    • Removing mandatory fields
    • Renaming fields
    • Changing the type of a field
    • Adding new variants

@yhabib
Copy link
Contributor

yhabib commented Aug 14, 2025

I manually triggered this job targeting #7082 to retrieve the new fields requested in https://dfinity.slack.com/archives/C0175CHJ0P6/p1754674886931749.

@yhabib yhabib changed the base branch from yhabib/proposals/latest to main August 14, 2025 11:17
@yhabib
Copy link
Contributor

yhabib commented Aug 14, 2025

Moved to #7261

@yhabib yhabib closed this Aug 14, 2025
github-merge-queue bot pushed a commit that referenced this pull request Aug 15, 2025
# Motivation

We have an automatic job for this type of change, but since one field
used in the tests has been replaced, we need to manually update the
codebase.

This PR was spun off from #7260.

More context
[here](https://dfinity.slack.com/archives/C0175CHJ0P6/p1754674886931749)

# Changes

* Update the version of `IC_COMMIT_FOR_PROPOSALS` specified in
`config.json`.
* Updated the `proposals` candid files to the versions in that commit.
* Updated the Rust code derived from `.did` files in the proposals
payload rendering crate.
* Update tests to verify the new field.

# Tests
- [x] Please check the API updates for any breaking changes that affect
our code.
  - [x] Please check for new proposal types and add tests for them.

Breaking changes are:
  * New mandatory fields
    * Removing mandatory fields
    * Renaming fields
    * Changing the type of a field
    * Adding new variants

---------

Co-authored-by: gix-bot <gix-bot@users.noreply.github.com>
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