Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into polkadot-v0.9.43
Browse files Browse the repository at this point in the history
  • Loading branch information
mustermeiszer committed Nov 9, 2023
2 parents 50b4d12 + 1bfc4bf commit 6ec33f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/runtime-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This must be done before releasing a new version of any of our runtimes to ensur
- Download your runtime assert `.wasm` file.

1. In **Centrifuge Local** client -> Governance -> Democracy, click on **Submit preimage**.
- At **proponer**, choose: `parachainSystem` with `authorizeUpgrade`
- At **proposer**, choose: `parachainSystem` with `authorizeUpgrade`
- At **codeHash**, copy the `BLAKE2_256` of the previous step.
- Click on **Submit preimage**

Expand All @@ -43,15 +43,15 @@ This must be done before releasing a new version of any of our runtimes to ensur

- Click on **propose**

1. Voting phase. You should make 3 votes in favor with 3 diferent people (modify the CFG amount before to a low number).
1. Voting phase. The appropriate threshold of votes should be placed in favour of the proposal.
**Warning**, once the proposal appears, you will have `10 * 12` (`votingPeriod * secons_per_block`) seconds to perform
all votes in favor.

Once the time ends, **close** the motion.

1. Go to democracy and add a vote to the referendum.
(You can reduce the amount used to vote if the account don't has enough).
**Warning**, you will have a reduce time to make this step.
(You can reduce the amount used to vote if the account doesn't have enough).
**Warning**, you will have a reduced time to make this step.
1. In Developer -> Extrinsics, choose `parachainSystem` with `enactAuthorizedUpgrade`.
Click then on **file upload** and upload the `.wasm` file previously downlaoded.
Click then on **file upload** and upload the `.wasm` file previously downloaded.
4 changes: 2 additions & 2 deletions pallets/rewards/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ implementing [these traits](https://reference.centrifuge.io/cfg_traits/rewards/i

The user can stake an amount to claim a proportional reward.
The staked amount is reserved/held from the user account for that currency when it's deposited
and unreserved/released when it's withdrawed.
and unreserved/released when it's withdrawn.

The pallet stores three main entities:
- Groups, where the reward is distributed.
Expand Down Expand Up @@ -52,4 +52,4 @@ For that, you need to add the interface traits as a dependency where you use the
cfg-traits = { git = "https://github.com/centrifuge/centrifuge-chain.git", branch = "release-vX.X.X", default-features = false }
```

*Take a look to the runtimes of this repository to see examples of how to configure it*
*Take a look at the runtimes of this repository to see examples of how to configure it*

0 comments on commit 6ec33f9

Please sign in to comment.