Skip to content

Version Packages - #54

Merged
JuampiRombola merged 1 commit into
mainfrom
changeset-release/main
Nov 6, 2026
Merged

JuampiRombola merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@reserve-protocol/react-sdk@0.8.1

Patch Changes

  • Updated dependencies [b72d19b]
  • Updated dependencies [e5341f3]
    • @reserve-protocol/sdk@0.8.1

@reserve-protocol/sdk@0.8.1

Patch Changes

  • b72d19b: Decode proposals to every GovernanceSpell_09_18_2026 deployment (the 2% and 1% threshold redeployments on Ethereum, Base and BSC) and OPEN's GovernanceSpell_10_21_2026, so a preview names them without the explorer ABI fallback.

  • e5341f3: Index DTF governance amounts now use the decimals of the vote token. Before, the SDK formatted them with 18 decimals, so a DAO with a 6-decimal vote token (for example a vote-lock vault on USDC) showed a quorum of 0.00000000000003 instead of 0.03. Raw values did not change.

    • Proposals, proposal lists and voting snapshots get a voteTokenDecimals field from the subgraph. getProposalState uses it for the threshold amounts and uses 18 when it is missing.
    • getVoterState, getProposalVoterState, getOptimisticProposalVoterState, getOptimisticVotes, getPastOptimisticVotes and getOptimisticProposalContext read decimals() in the same multicall as their other reads.
    • getDelegates reads the vote token decimals from the subgraph.
    • The vote-lock state formats optimisticVotingPower with the vault decimals.
    • getProposalVotes, getProposerState and getOptimisticProposalContext accept an optional voteTokenDecimals. Without it, getProposalVotes and getProposerState with a timepoint make one more decimals() call.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 99cb7b08-fe46-4dbd-b401-88085519fcbf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JuampiRombola
JuampiRombola merged commit 8e55bc1 into main Nov 6, 2026
1 check passed
@JuampiRombola
JuampiRombola deleted the changeset-release/main branch November 6, 2026 00:46
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.

1 participant