Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade pricefeed module to support cosmos 0.47 #16

Merged
merged 8 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
vue/node_modules
vue/dist
vue/src
release/
.idea/
.vscode/
.DS_Store
bin/
ts-client
34 changes: 26 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,23 +95,41 @@ The current default value for the source channel is `[not_set]`. If you wish to

```json
{
"title": "Param change for SourceChannel",
"description": "Proposal for change SourceChannel param in pricefeed module",
"changes": [
"messages": [
{
"subspace": "pricefeed",
"key": "SourceChannel",
"value": "channel-0"
"@type": "/pricefeed.MsgUpdateParams",
"authority": <Gov Address>,
"params": {
"ask_count": "16",
"min_count": "10",
"min_ds_count": "3",
"prepare_gas_base": "3000",
"prepare_gas_each": "600",
"execute_gas_base": "70000",
"execute_gas_each": "7500",
"source_channel": "channel-1",
"fee_limit": [
{
"amount": "1000000",
"denom": "uband"
}
]
}
}
],
"deposit": "10000000stake"
"metadata": "ipfs://CID",
"deposit": "10000000stake",
"title": "Param change for SourceChannel",
"summary": "Proposal for change SourceChannel param in pricefeed module"
}
```

Note that you have to put your gov module address in authority field, you can get it by running this command `oracle-consumerd query auth module-account gov`

#### Submit proposal

```
oracle-consumerd tx gov submit-legacy-proposal param-change example/proposals/source-channel-params-change.json --from alice
oracle-consumerd tx gov submit-proposal example/proposals/source-channel-params-change.json --from alice
```

#### Vote the proposal
Expand Down
Loading
Loading