Hello Community! ![]()
We are ready to propose a runtime upgrade on Centrifuge and Altair with the following content:
- Add EVM wallet support
- Add block rewards
- Upgrade to Polkadot v0.9.37
- Other updates
Full Changelog : v0.10.26…v0.10.27
Centrifuge 0.10.19 - Release Notes Highlights
- Add block rewards as proposed in CP6 (#1198, #1342)
- Time-wise, rewarding is tightly coupled to sessions (6h in block time) in contrast to epochs (12h) from CP6. Thus, the proposed amounts are halved and rewarded in 6 hour periods (see technical spec for more details)
- Collator rewards =
16.65 CFG per epoch / 2 sessions per epoch = 8.325 CFG = 8325 * MILLI_CFG - Total rewards =
20,096 CFG per epoch / 2 sessions per epoch = 10048 CFG - Treasury rewards = Total rewards - Collator rewards
- Add EVM wallet support (#1252, #1349)
- Until we enable full EVM support soon™️, the production runtimes filter all non-root calls to the EVM pallet and disallow creating contracts via the EVM RPC calls
- Upgrade to Polkadot v0.9.37 (#1241)
Breaking changes
- Loans: LoanId out from ActiveLoan (#1367)
- Loans: Add unchecked amount support by (#1368)
- Loans: Add multiple triggers for write-offs (#1314)
- Loans: Adapt to Oracle valuation implementation (#1311)
Migrations
This upgrade includes multiple smaller migrations.
- Block rewards: Sets up the required block rewards storage for our current collators. (#1342)
- Without this migration, none of the collators would be eligible to claim rewards.
- Block rewards base: Mints
ExistentialDepositworth1 µCFGto the sovereign account of theBlockRewardsBase(#1342)- Without this migration, not all rewards can be claimed from the reward recipients.
- Session: Clones the existing
AuRasession keys for every collator to the newblock_rewardsentry ofSessionKeys(#1342)- Without this migration, all of our collators would have to update their session keys manually. E.g., none of the collators would actually be recognized by the session transition inside
pallet_block_rewardsbecause theblock_rewardsentry ofSessionKeysis unset.
- Without this migration, all of our collators would have to update their session keys manually. E.g., none of the collators would actually be recognized by the session transition inside
- Loans: Updates the
WriteOffPolicystorage as a result of #1314 - Asset registry: Sets the
AssetMetadata.locationof all the Tranche tokens registered in theAssetRegistrytoNone(#1340) - EVM: Sets our parachain ID
2031as our EVM chain id (#1349)
Altair 0.10.27 - Release Notes Highlights
- Adds automatic payout of collator block rewards with amounts approved in RFC from December 2022
- Time-wise, rewarding is tightly coupled to sessions (6h in block time) in contrast to epochs (12h) from CP6. Thus, the proposed amounts are halved and rewarded in 6 hour periods (see technical spec for more details)
- Collator rewards:
12000 AIR per month / 30.417 days per month / 4 sessions per day = 98.63 AIR = 98630 MILLI_AIR per session - Treasury rewards =
0 - Total rewards =
Collator rewards * MaxCollators- Every session,
total_collator_rewards = reward_per_collator * collator_countis minted into the Treasury and the remaindertotal_rewards - total_collator_rewardsis automatically dropped since theBeneficiaryis set to empty() - Thus,
total_rewardsonly serves as a theoretical upper bound which just needs to ensure it suffices for collator rewards
- Every session,
- Add EVM wallet support (#1252, #1349)
- Until we enable full EVM support soon™️, the production runtimes filter all non-root calls to the EVM pallet and disallow creating contracts via the EVM RPC calls
- Upgrade to Polkadot v0.9.37 (#1241)
Breaking changes
- Loans: LoanId out from ActiveLoan (#1367)
- Loans: Add unchecked amount support by (#1368)
- Loans: Add multiple triggers for write-offs (#1314)
- Loans: Adapt to Oracle valuation implementation (#1311)
Migrations
This upgrade includes multiple smaller migrations.
- Block rewards: Sets up the required block rewards storage for our current collators. (#1342)
- Without this migration, none of the collators would be eligible to claim rewards.
- Block rewards base: Mints
ExistentialDepositworth1 µCFGto the sovereign account of theBlockRewardsBase(#1342)- Without this migration, not all rewards can be claimed from the reward recipients.
- Session: Clones the existing
AuRasession keys for every collator to the newblock_rewardsentry ofSessionKeys(#1342)- Without this migration, all of our collators would have to update their session keys manually. E.g., none of the collators would actually be recognized by the session transition inside
pallet_block_rewardsbecause theblock_rewardsentry ofSessionKeysis unset.
- Without this migration, all of our collators would have to update their session keys manually. E.g., none of the collators would actually be recognized by the session transition inside
- Loans: Updates the
WriteOffPolicystorage as a result of #1314 - Asset registry: Sets the
AssetMetadata.locationof all the Tranche tokens registered in theAssetRegistrytoNone(#1340) - EVM: Sets our parachain ID
2088as our EVM chain id (#1349)
COUNCIL MOTIONS
The Council will propose the Runtime Upgrade on Altair first and after on Centrifuge.
As soon as the Council motion has been initiated for the upgrade, we will keep you posted on with the governance process on the Forum.