mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor: simplify Taskfile and remove unused chain configurations
This commit is contained in:
+10
-14
@@ -51,35 +51,31 @@ tasks:
|
|||||||
- for: { var: DEPS }
|
- for: { var: DEPS }
|
||||||
cmd: gum spin --spinner dot --title "Installing go dependencies..." -- go install {{.ITEM}}
|
cmd: gum spin --spinner dot --title "Installing go dependencies..." -- go install {{.ITEM}}
|
||||||
|
|
||||||
new-issue:
|
issue:list:
|
||||||
|
desc: List all issues
|
||||||
|
silent: true
|
||||||
|
cmds:
|
||||||
|
- gh ils
|
||||||
|
|
||||||
|
issue:new:
|
||||||
desc: Create a new issue
|
desc: Create a new issue
|
||||||
silent: true
|
silent: true
|
||||||
dir: .github/scripts
|
dir: .github/scripts
|
||||||
cmds:
|
cmds:
|
||||||
- sh new_issue.sh
|
- sh new_issue.sh
|
||||||
|
|
||||||
pkl-gen:
|
gen:proto:
|
||||||
desc: Generate PKL files
|
|
||||||
silent: true
|
|
||||||
dir: "pkl/sonr.net"
|
|
||||||
vars:
|
|
||||||
FILES: ["Hway.pkl", "Motr.pkl", "UCAN.pkl"]
|
|
||||||
cmds:
|
|
||||||
- for: { var: FILES }
|
|
||||||
cmd: gum spin --spinner dot --title "Generating PKL in Go..." -- pkl-gen-go {{.ITEM}}
|
|
||||||
|
|
||||||
proto-gen:
|
|
||||||
desc: Generate proto files
|
desc: Generate proto files
|
||||||
silent: true
|
silent: true
|
||||||
cmd: gum spin --spinner dot --title "Generating Protobufs..." -- make proto-gen
|
cmd: gum spin --spinner dot --title "Generating Protobufs..." -- make proto-gen
|
||||||
|
|
||||||
sqlc-gen:
|
gen:sqlc:
|
||||||
desc: Generate SQLC files
|
desc: Generate SQLC files
|
||||||
silent: true
|
silent: true
|
||||||
cmds:
|
cmds:
|
||||||
- gum spin --spinner dot --title "Generating SQLC..." -- sqlc generate -f internal/database/sqlc.yaml
|
- gum spin --spinner dot --title "Generating SQLC..." -- sqlc generate -f internal/database/sqlc.yaml
|
||||||
|
|
||||||
templ-gen:
|
gen:templ:
|
||||||
desc: Generate templ files
|
desc: Generate templ files
|
||||||
silent: true
|
silent: true
|
||||||
cmd: gum spin --spinner dot --title "Generating Templ..." -- templ generate
|
cmd: gum spin --spinner dot --title "Generating Templ..." -- templ generate
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
# Local Interchain Configurations
|
|
||||||
|
|
||||||
RUN:
|
|
||||||
- `make testnet` *(full setup: docker image, binary, keys, and ibc testnet start)*
|
|
||||||
- `spawn local-ic start testnet` *(Standalone start)*
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
* https://github.com/strangelove-ventures/interchaintest/tree/main/local-interchain
|
|
||||||
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
{
|
|
||||||
"chains": [
|
|
||||||
{
|
|
||||||
"name": "core",
|
|
||||||
"ibc_paths": ["ibc-connection-1"],
|
|
||||||
"chain_id": "chainid-1",
|
|
||||||
"denom": "usnr",
|
|
||||||
"binary": "sonrd",
|
|
||||||
"bech32_prefix": "idx",
|
|
||||||
"docker_image": {
|
|
||||||
"repository": "core",
|
|
||||||
"version": "local"
|
|
||||||
},
|
|
||||||
"gas_prices": "0usnr",
|
|
||||||
"chain_type": "cosmos",
|
|
||||||
"coin_type": 118,
|
|
||||||
"trusting_period": "336h",
|
|
||||||
"gas_adjustment": 1.5,
|
|
||||||
"number_vals": 1,
|
|
||||||
"number_node": 0,
|
|
||||||
"debugging": true,
|
|
||||||
"block_time": "1000ms",
|
|
||||||
"host_port_override": {
|
|
||||||
"26657": "26657",
|
|
||||||
"1317": "1317",
|
|
||||||
"9090": "9090"
|
|
||||||
},
|
|
||||||
"encoding-options": ["wasm", "tokenfactory"],
|
|
||||||
"config_file_overrides": [
|
|
||||||
{
|
|
||||||
"file": "config/config.toml",
|
|
||||||
"paths": {
|
|
||||||
"moniker": "localvalmoniker",
|
|
||||||
"rpc.cors_allowed_origins": ["*"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"genesis": {
|
|
||||||
"modify": [
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.voting_period",
|
|
||||||
"value": "15s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.expedited_voting_period",
|
|
||||||
"value": "10s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.max_deposit_period",
|
|
||||||
"value": "15s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.min_deposit.0.denom",
|
|
||||||
"value": "usnr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.min_deposit.0.amount",
|
|
||||||
"value": "1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"accounts": [
|
|
||||||
{
|
|
||||||
"name": "acc0",
|
|
||||||
"address": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd",
|
|
||||||
"amount": "10000000000usnr",
|
|
||||||
"mnemonic": "decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "acc1",
|
|
||||||
"address": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y",
|
|
||||||
"amount": "10000000000usnr",
|
|
||||||
"mnemonic": "wealth flavor believe regret funny network recall kiss grape useless pepper cram hint member few certain unveil rather brick bargain curious require crowd raise"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"startup_commands": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "gaia",
|
|
||||||
"chain_id": "localcosmos-1",
|
|
||||||
"denom": "uatom",
|
|
||||||
"binary": "gaiad",
|
|
||||||
"bech32_prefix": "cosmos",
|
|
||||||
"docker_image": {
|
|
||||||
"version": "v9.1.0"
|
|
||||||
},
|
|
||||||
"block_time": "1000ms",
|
|
||||||
"gas_prices": "0%DENOM%",
|
|
||||||
"gas_adjustment": 2.0,
|
|
||||||
"ibc_paths": ["ibc-connection-1"],
|
|
||||||
"genesis": {
|
|
||||||
"accounts": [
|
|
||||||
{
|
|
||||||
"name": "acc0",
|
|
||||||
"address": "cosmos1hj5fveer5cjtn4wd6wstzugjfdxzl0xpxvjjvr",
|
|
||||||
"amount": "10000000%DENOM%",
|
|
||||||
"mnemonic": "decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,83 +0,0 @@
|
|||||||
{
|
|
||||||
"chains": [
|
|
||||||
{
|
|
||||||
"name": "core",
|
|
||||||
"chain_id": "chainid-1",
|
|
||||||
"denom": "usnr",
|
|
||||||
"binary": "sonrd",
|
|
||||||
"bech32_prefix": "idx",
|
|
||||||
"docker_image": {
|
|
||||||
"repository": "ghcr.io/onsonr/sonr",
|
|
||||||
"version": "local"
|
|
||||||
},
|
|
||||||
"gas_prices": "0usnr",
|
|
||||||
"chain_type": "cosmos",
|
|
||||||
"coin_type": 118,
|
|
||||||
"trusting_period": "336h",
|
|
||||||
"gas_adjustment": 1.5,
|
|
||||||
"number_vals": 1,
|
|
||||||
"number_node": 0,
|
|
||||||
"debugging": true,
|
|
||||||
"block_time": "1000ms",
|
|
||||||
"host_port_override": {
|
|
||||||
"26657": "26657",
|
|
||||||
"1317": "1317",
|
|
||||||
"9090": "9090"
|
|
||||||
},
|
|
||||||
"encoding-options": [
|
|
||||||
"wasm",
|
|
||||||
"tokenfactory"
|
|
||||||
],
|
|
||||||
"config_file_overrides": [
|
|
||||||
{
|
|
||||||
"file": "config/config.toml",
|
|
||||||
"paths": {
|
|
||||||
"moniker": "florence",
|
|
||||||
"rpc.cors_allowed_origins": [
|
|
||||||
"*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"genesis": {
|
|
||||||
"modify": [
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.voting_period",
|
|
||||||
"value": "15s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.expedited_voting_period",
|
|
||||||
"value": "10s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.max_deposit_period",
|
|
||||||
"value": "15s"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.min_deposit.0.denom",
|
|
||||||
"value": "usnr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"key": "app_state.gov.params.min_deposit.0.amount",
|
|
||||||
"value": "1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"accounts": [
|
|
||||||
{
|
|
||||||
"name": "acc0",
|
|
||||||
"address": "idx1hj5fveer5cjtn4wd6wstzugjfdxzl0xpecp0nd",
|
|
||||||
"amount": "10000000000usnr",
|
|
||||||
"mnemonic": "decorate bright ozone fork gallery riot bus exhaust worth way bone indoor calm squirrel merry zero scheme cotton until shop any excess stage laundry"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "acc1",
|
|
||||||
"address": "idx1efd63aw40lxf3n4mhf7dzhjkr453axur9vjt6y",
|
|
||||||
"amount": "10000000000usnr",
|
|
||||||
"mnemonic": "wealth flavor believe regret funny network recall kiss grape useless pepper cram hint member few certain unveil rather brick bargain curious require crowd raise"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"startup_commands": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user