Skip to content

Conversation

@sasa-tomic
Copy link
Contributor

@sasa-tomic sasa-tomic commented May 9, 2025

Upgrade the rust toolchain from 1.85.1 to 1.86.0.

Note there were the following WASM instruction regressions:

Executing tests from //rs/nns/governance:governance-canbench_test
-----------------------------------------------------------------------------

Benchmark: compute_ballots_for_new_proposal_with_stable_neurons
  total:
    instructions: 1.88 M (regressed by 5.22%)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: list_ready_to_spawn_neuron_ids_stable
  total:
    instructions: 37.35 M (regressed by 6.15%)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: unstake_maturity_of_dissolved_neurons_stable
  total:
    instructions: 64.54 M (regressed by 5.54%)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

  list_neuron_ids (scope):
    instructions: 38.80 M (regressed by 6.27%)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

Benchmark: draw_maturity_from_neurons_fund_stable
  total:
    instructions: 7.53 M (regressed by 6.31%)
    heap_increase: 0 pages (no change)
    stable_memory_increase: 0 pages (no change)

---------------------------------------------------

sasa-tomic and others added 30 commits March 12, 2025 15:18
- **Rust Version**: Update Rust toolchain and Bazel configuration to Rust 1.85.0.
- **Refactoring**:
  - Remove redundant `map` and `map_err` methods where conversion is unnecessary.
  - Simplify bitwise operations with clearer grouping.
- **Tests and Comments**: Updated relevant tests and comments.
…ba89009272f40803a49640211565e7

Image tag: 840f94ead19b1ae2da20554e111b7ca9ab0fe37e76c42b0dd06e69f370df73a0
…50154e6990d8f6e8c3233d5e55d047

Image tag: f8a14ee2eb1c108f88c3644289709b7e9dbd12d2609bd365e13f4c508d96b3b9
…db39dc42e2b1f35a16b88576118a44

Image tag: ac31c084e55f4b4d3d857b8369ba7bba73721b446fff9496f72b3edcbe8df291
…c00cda858ad6612cda28b231b80896

Image tag: 3426fa29677ab9de5778c28c093194f9a45946bfaa7b910d0fc0bfa893e2a13a
@sasa-tomic sasa-tomic dismissed github-actions[bot]’s stale review May 12, 2025 12:26

No canister behavior changes.

@kpop-dfinity
Copy link
Contributor

Thanks, Sasa!

@sasa-tomic sasa-tomic enabled auto-merge May 13, 2025 08:19
@sasa-tomic sasa-tomic added this pull request to the merge queue May 13, 2025
Merged via the queue into master with commit d1dc4c2 May 13, 2025
25 checks passed
@sasa-tomic sasa-tomic deleted the sat-update-rust-1-86 branch May 13, 2025 09:09
sasa-tomic added a commit that referenced this pull request May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.