Skip to content

[partnerPR] Update rewards and governed pool MIP-124 - #232

Merged
0xmovses merged 5 commits into
movementfrom
feature/mip-124
Oct 20, 2025
Merged

[partnerPR] Update rewards and governed pool MIP-124#232
0xmovses merged 5 commits into
movementfrom
feature/mip-124

Conversation

@0xmovses

Copy link
Copy Markdown

This was cherry picked from 0ae9d6f8721954e7428a9feefac83ae52bff0355 on movement-migration which is the squash commit from PR #227.

We need this commits now on movement for testing purposes.

Bo Wu and others added 5 commits October 2, 2025 16:29
save progress
## Description
- Reviewers should test against local mainnet state. Sebs EC2 instance
did not have a port exposed so I went with the mainnet mirror. Which now
has the feature reconfig applied.

Note that the feature `CALCULATE_TRANSACTION_FEE_FOR_DISTRIBUTION = 96`
can only be enabled after Move2 upgrade. Hence why it is not enabled
here (it is not available on `movement-migration` framework)

- See the script `feature-flag-reconfig.move` for what features are
being enabled and disabled.

Note that after Move2 upgrade, further features to be enabled which are
only available after the upgrade.

1. Compile the feature flag upgrade script
```
movement move compile --package-dir movement-migration/framework-upgrades --bytecode-version 6
```
2.Run the script 
```
movement move run-script --compiled-script-path movement-migration/framework-upgrades/build/feature-flag-reconfig/bytecode_scripts/main.mv
```
Should receive success output. 

Mainnet Mirror tx
```
Do you want to submit a transaction for a range of [11200 - 16800] Octas at a gas unit price of 100 Octas? [yes/no] >
y
Transaction submitted: https://explorer.movementlabs.xyz/txn/0x7a92eff1e1e973e881a046aaebaa72e42a1f6a1daaa3bec45167657c8d8c67ad?network=custom
{
  "Result": {
    "transaction_hash": "0x7a92eff1e1e973e881a046aaebaa72e42a1f6a1daaa3bec45167657c8d8c67ad",
    "gas_used": 112,
    "gas_unit_price": 100,
    "sender": "000000000000000000000000000000000000000000000000000000000a550c18",
    "sequence_number": 12966,
    "success": true,
    "timestamp_us": 1759411858121293,
    "version": 28646125,
    "vm_status": "Executed successfully"
  }
}
```
### Description 

Based on [MIP-124](movement-network/MIP#124).

Implements this changes:
https://www.notion.so/movementlabs/Staking-reward-using-GGP-28118675b2d780848e30c0c7e51d47cc

### Testing 

In the folder `aptos-move/framework/aptos-framework` run `movement move
test` to run all test.
Or `movement move test -f stake `to run stake related tests.

---------

Co-authored-by: musitdev <philippe.delrieu@free.fr>
@0xmovses
0xmovses changed the base branch from main to movement October 20, 2025 12:33
@0xmovses 0xmovses self-assigned this Oct 20, 2025
@0xmovses
0xmovses requested review from areshand and musitdev October 20, 2025 12:34
@0xmovses
0xmovses merged commit 1fb64a4 into movement Oct 20, 2025
24 checks passed
@sausagee
sausagee deleted the feature/mip-124 branch March 12, 2026 23:43
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