Skip to content

sui_v0.32.0_1681194144_ci

@Jibz-Mysten Jibz-Mysten tagged this 11 Apr 05:36
## Description 

Describe the changes or additions included in this PR.

- Calculate the rolling APY average after the subsidy starts
- Before stake subsidy epoch return 0% APY
- The number of epochs rewards to use is `ROLLING_AVERAGE -
stakeSubsidyStartEpoch`
- move useGetSystemObject to mysten/core

## Test Plan 

How did you test the new or updated feature?

---
If your changes are not user-facing and not a breaking change, you can
skip the following section. Otherwise, please indicate what changed, and
then add to the Release Notes section as highlighted during the release
process.

### Type of Change (Check all that apply)

- [x] user-visible impact
- [ ] breaking change for a client SDKs
- [ ] breaking change for FNs (FN binary must upgrade)
- [ ] breaking change for validators or node operators (must upgrade
binaries)
- [ ] breaking change for on-chain data layout
- [ ] necessitate either a data wipe or data migration

### Release notes
Assets 2
Loading