-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc(pallet-dao): missing documentation (#984)
- Loading branch information
Showing
12 changed files
with
98 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
docs/architecture/0016-BurnTransaction-BurnTransactionExpired-changed.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 16. Add condition to DAO motion approval | ||
|
||
Date: 2023-11-07 | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Context | ||
|
||
See [here](https://github.com/threefoldtech/tfchain/issues/803) for more | ||
details. | ||
|
||
## Decision | ||
|
||
Stick to specs initial idea by adding new condition | ||
`number of votes >= threshold` for proposal to be approved. If by the end of the | ||
vote the minimal amount of votes is not reached, the proposal fails due to | ||
insufficient interest. |
18 changes: 18 additions & 0 deletions
18
docs/architecture/0017-BurnTransaction-BurnTransactionExpired-changed.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# 17. Add Source account ID to BurnTransaction and BurnTransactionExpired | ||
|
||
Date: 2023-11-14 | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Context | ||
|
||
See [here](https://github.com/threefoldtech/tfchain/issues/883) for more | ||
details. | ||
|
||
## Decision | ||
|
||
Add `Source` account ID to `BurnTransaction` storage type and | ||
`BurnTransactionExpired` event and migrate previous `BurnTransactions` and | ||
`ExecutedBurnTransactions` storages |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 18. Allow collective approval to cancel contracts | ||
|
||
Date: 2023-11-06 | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Context | ||
|
||
See [here](https://github.com/threefoldtech/tfchain/issues/884) for more | ||
details. | ||
|
||
## Decision | ||
|
||
In `pallet-smart-contract`, add `cancel_contract_collective()` extrinsic to | ||
allow a collective approval (council or farmers) to cancel a contract. For this | ||
purpose we also add a new entry `CanceledByCollective` in `Cause` enum to better | ||
qualify the cancelation cause. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 19. Allow renting standby node | ||
|
||
Date: 2024-01-09 | ||
|
||
## Status | ||
|
||
Accepted | ||
|
||
## Context | ||
|
||
See [here](https://github.com/threefoldtech/tfchain/issues/923) for more | ||
details. | ||
|
||
## Decision | ||
|
||
We want to be able to create a rent contract on node even if it is in standby | ||
phase. Moreover, user should be billed for this contract only during online | ||
periods. | ||
|
||
In `pallet-smart-contract`: | ||
|
||
- Remove the `node_power.is_down()` restriction when trying to create a rent | ||
contract in `create_rent_contract()` extrinsic. restriction | ||
|
||
- Modify rent contract billing logic by allowing billing only if the node is | ||
online (`PowerState` = `Up`). To skip the billing during the standby period we | ||
update the contract lock when the node power state is switched to `Up`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/architecture/0020-rework-dao-voting.md → docs/architecture/0021-rework-dao-voting.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 20. Harden closing of a DAO motion voting | ||
# 21. Harden closing of a DAO motion voting | ||
|
||
Date: 2024-05-02 | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...architecture/0021-allow-hdd-only-nodes.md → ...architecture/0022-allow-hdd-only-nodes.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters