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

sui-system: fix next epoch stake book-keeping #20039

Merged
merged 7 commits into from
Oct 26, 2024
Merged

sui-system: fix next epoch stake book-keeping #20039

merged 7 commits into from
Oct 26, 2024

Conversation

amnn
Copy link
Member

@amnn amnn commented Oct 25, 2024

Description

Update next_epoch_stake when redeeming a fungible staked sui. This value is used as a sanity check that everything matches up at the end of an epoch.

Test plan

sui$ cargo nextest run -p sui-framework-tests

Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol: Protocol bumped to 68, introducing a framework change to fix next_epoch_stake bookkeeping while redeeming fungible staked SUI.
  • Nodes (Validators and Full nodes):
  • Indexer:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • REST API:

## Description

Update `next_epoch_stake` when redeeming a fungible staked sui. This
value is used as a sanity check that everything matches up at the end of
an epoch.

## Test plan

```
sui$ cargo nextest run -p sui-framework-tests
```
Copy link

vercel bot commented Oct 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sui-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 25, 2024 11:08pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
multisig-toolkit ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 11:08pm
sui-kiosk ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 11:08pm
sui-typescript-docs ⬜️ Ignored (Inspect) Visit Preview Oct 25, 2024 11:08pm

@emmazzz emmazzz merged commit d9c5b95 into main Oct 26, 2024
52 checks passed
@emmazzz emmazzz deleted the amnn/fix-redeem branch October 26, 2024 00:42
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.

5 participants