mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 15:55:18 +00:00
update x/community specs for v0.21 release (#1462)
* update x/community docs for v0.21 release * auto-approve proposal submission in seed script * update to v2 of go linting CI job
This commit is contained in:
parent
d05484cf88
commit
f9b353753c
2
.github/scripts/seed-internal-testnet.sh
vendored
2
.github/scripts/seed-internal-testnet.sh
vendored
@ -61,4 +61,4 @@ do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# create a text proposal
|
# create a text proposal
|
||||||
kava tx gov submit-proposal --deposit 1000000000ukava --type "Text" --title "Example Proposal" --description "This is an example proposal" --gas auto --gas-adjustment 1.2 --from dev-wallet --gas-prices 0.01ukava
|
kava tx gov submit-proposal --deposit 1000000000ukava --type "Text" --title "Example Proposal" --description "This is an example proposal" --gas auto --gas-adjustment 1.2 --from dev-wallet --gas-prices 0.01ukava -y
|
||||||
|
2
.github/workflows/ci-lint.yml
vendored
2
.github/workflows/ci-lint.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: reviewdog/action-golangci-lint@v1
|
uses: reviewdog/action-golangci-lint@v2
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.github_token }}
|
github_token: ${{ secrets.github_token }}
|
||||||
reporter: github-pr-review
|
reporter: github-pr-review
|
||||||
|
@ -6,14 +6,8 @@ order: 1
|
|||||||
|
|
||||||
## Community Pool
|
## Community Pool
|
||||||
|
|
||||||
The community pool is the module account of the x/community module. It replaces the functionality of the community pool fee collector account of the auth module in the vanilla SDK.
|
The x/community module facilitates interactions with the community pool. In a future release, the community pool may be fully replaced by the x/community module account, but for now it is a place to keep things like proposals for interacting with the vanilla cosmos-sdk community pool (a portion of the auth fee pool held by the x/distribution module account).
|
||||||
|
|
||||||
### Funding
|
### Funding
|
||||||
|
|
||||||
The community pool can be funded every block from the community pool inflation of the x/kavamint module.
|
The x/community module account can be funded by any account sending a community/FundCommunityPool message. These funds are not currently used for anything. The module account is also the transitory passthrough account for community pool funds that are deposited/withdrawn to lend via the CommunityPoolLendDepositProposal & CommunityPoolLendWithdrawProposal.
|
||||||
|
|
||||||
Additionally, the pool can be funded by any account sending a community/FundCommunityPool message.
|
|
||||||
|
|
||||||
### Spending
|
|
||||||
|
|
||||||
The community pool funds are spent via government proposals. The x/kavadist module includes a CommunityPoolMultiSpendProposal that, upon approval, distributes funds to a list of accounts.
|
|
||||||
|
@ -16,4 +16,4 @@ parent:
|
|||||||
|
|
||||||
## Abstract
|
## Abstract
|
||||||
|
|
||||||
`x/community` is an implementation of a Cosmos SDK Module that provides for functionality and governance for a community pool of funds controlled by Kava DAO.
|
`x/community` is an implementation of a Cosmos SDK Module that provides governance for the community pool of funds controlled by Kava DAO. The community pool is a subaccount of the fee pool held by the x/distribution module.
|
||||||
|
Loading…
Reference in New Issue
Block a user