Skip to content

Commit

Permalink
Merge pull request #508 from andy108369/update-min-gas-prices
Browse files Browse the repository at this point in the history
feat: set minimum gas prices to average
  • Loading branch information
HoomanDgtl authored Jan 22, 2025
2 parents a99b4fe + 0869a72 commit 82af27d
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions src/content/Docs/akash-nodes/akash-node-cli-build/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ _**This setting can be found in the following file and we will change the defaul
vi ~/.akash/config/app.toml
```
_**The initial recommended min-gas-prices is 0.025uakt but you might want to change it later.**_
_**The initial recommended min-gas-prices is 0.0025uakt but you might want to change it later.**_
```
# This is a TOML config file.
Expand All @@ -178,7 +178,7 @@ _**The initial recommended min-gas-prices is 0.025uakt but you might want to cha
# transaction. A transaction's fees must meet the minimum of any denomination
# specified in this config (e.g. 10uatom).

minimum-gas-prices = "0.025uakt"
minimum-gas-prices = "0.0025uakt"
```
## STEP6 - Copy the Genesis File
Expand Down
4 changes: 2 additions & 2 deletions src/content/Docs/deployments/akash-cli/installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -288,13 +288,13 @@ Set the below set of environment variables to ensure smooth operations
| -------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| AKASH_GAS | Gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically | `auto` |
| AKASH_GAS_ADJUSTMENT | Adjustment factor to be multiplied against the estimate returned by the tx simulation | `1.15` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.025uakt` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.0025uakt` |
| AKASH_SIGN_MODE | Signature mode | `amino-json` |

```
export AKASH_GAS=auto
export AKASH_GAS_ADJUSTMENT=1.25
export AKASH_GAS_PRICES=0.025uakt
export AKASH_GAS_PRICES=0.0025uakt
export AKASH_SIGN_MODE=amino-json
```

Expand Down
4 changes: 2 additions & 2 deletions src/content/Docs/deployments/sandbox/installation/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -330,13 +330,13 @@ Set the below set of environment variables to ensure smooth operations
| -------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| AKASH_GAS | Gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically | `auto` |
| AKASH_GAS_ADJUSTMENT | Adjustment factor to be multiplied against the estimate returned by the tx simulation | `1.15` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.025uakt` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.0025uakt` |
| AKASH_SIGN_MODE | Signature mode | `amino-json` |

```
export AKASH_GAS=auto
export AKASH_GAS_ADJUSTMENT=1.25
export AKASH_GAS_PRICES=0.025uakt
export AKASH_GAS_PRICES=0.0025uakt
export AKASH_SIGN_MODE=amino-json
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ akash tx deployment create h2o-llm.yml --from <your-wallet-name> --node <akash-n
Deploy the service:

```
akash tx deployment create ./h2o-llm.yml --from <wallet-name> --gas auto --gas-prices 0.025uakt --gas-adjustment 1.2
akash tx deployment create ./h2o-llm.yml --from <wallet-name> --gas auto --gas-prices 0.0025uakt --gas-adjustment 1.2
```

### Step 4: Wait for Providers
Expand All @@ -110,7 +110,7 @@ akash tx market lease create \
--bid-id <selected-bid-id> \
--from <wallet-name> \
--gas auto \
--gas-prices 0.025uakt
--gas-prices 0.0025uakt
```

### Step 6: Access Your Deployment
Expand Down
2 changes: 1 addition & 1 deletion src/content/Docs/guides/tooling/playground/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ AKASH_VERSION=v0.6.1
AKASH_CHAIN_ID=akashnet-2
AKASH_NODE=https://rpc.akashnet.net:443
AKASH_GAS_ADJUSTMENT=1.15
AKASH_GAS_PRICES=0.025uakt
AKASH_GAS_PRICES=0.0025uakt
AKASH_GAS=auto
AKASH_SIGN_MODE=amino-json
Expand Down
2 changes: 1 addition & 1 deletion src/content/Docs/guides/tooling/rabbitmq/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ If there are errors, correct them before proceeding.
Submit the deployment to Akash:

```bash
akash tx deployment create rocketmq-deployment.yml --from <your-account> --gas auto --gas-prices 0.025uakt
akash tx deployment create rocketmq-deployment.yml --from <your-account> --gas auto --gas-prices 0.0025uakt
```

2. **Check for Bids:**
Expand Down
12 changes: 6 additions & 6 deletions src/content/Docs/network-features/authorized-spend/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ To change the amount of an authorized funds
#### **Syntax**

```
provider-services tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment authz grant <deploy-wallet> <fund-amount> --from <funding-wallet> --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

#### **Example Use**

```
provider-services tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 10000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment authz grant akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 10000000uakt --from akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

### Create a Deployment from Authorized Funds
Expand All @@ -120,13 +120,13 @@ NOTE - only the creation deployment step is covered in this section. Please ref
#### **Syntax**

```
provider-services tx deployment create --depositor-account <funding-wallet> --from <deploy-wallet> deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment create --depositor-account <funding-wallet> --from <deploy-wallet> deploy.yaml --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

#### **Example Use**

```
provider-services tx deployment create --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 deploy.yaml --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment create --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 deploy.yaml --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

### **Deposit Additional Funds to Deployment**
Expand All @@ -138,13 +138,13 @@ Deposit additional funds into the escrow account of a running deployment from th
#### **Syntax**

```
provider-services tx deployment deposit <fund-amount> --dseq <deployment-id> --from <deploy-wallet> -–depositor-account <funding-wallet> --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment deposit <fund-amount> --dseq <deployment-id> --from <deploy-wallet> -–depositor-account <funding-wallet> --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

#### **Example Use**

```
provider-services tx deployment deposit 10000000uakt --dseq 19012 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.5 -y
provider-services tx deployment deposit 10000000uakt --dseq 19012 --from akash17ck7uhkpjjj45fw9s9vpv7jn0m97958vjjxmf8 --depositor-account akash10x24jqyplwk37nynqy0pqaez5sx9fqrll59hl9 --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.5 -y
```

### Revoke Access to a Deploy Wallet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export AKASH_NET="https://raw.githubusercontent.com/akash-network/net/main/mainn
export AKASH_CHAIN_ID="$(curl -s "$AKASH_NET/chain-id.txt")"
export AKASH_NODE="$(curl -s "$AKASH_NET/rpc-nodes.txt" | shuf -n 1)"
export AKASH_GAS_PRICES=0.025uakt
export AKASH_GAS_PRICES=0.0025uakt
export AKASH_GAS=auto
export AKASH_GAS_ADJUSTMENT=1.5
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ We have recently released documentation guiding thru the process of building a [
export AKASH_CHAIN_ID=akashnet-2
export AKASH_NODE=<RPC-NODE-ADDRESS>
export AKASH_GAS=auto
export AKASH_GAS_PRICES=0.025uakt
export AKASH_GAS_PRICES=0.0025uakt
export AKASH_GAS_ADJUSTMENT=1.5
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ services:
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- AKASH_PRIV_VALIDATOR_LADDR=tcp://0.0.0.0:26658
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ provider-services tx cert generate client --from $AKASH_KEY_NAME
##### Publish Cert to the Blockchain

```
provider-services tx cert publish client --from $AKASH_KEY_NAME --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.15
provider-services tx cert publish client --from $AKASH_KEY_NAME --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.15
```

## Create Test Deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ AKASH_BOOT_KEYS=/boot-keys
AKASH_VERSION=0.1.0
HOSTNAME=akash-provider-77bddc8c4c-qkwtz
AKASH_PROVIDER_PORT_8443_TCP_ADDR=10.233.24.154
AKASH_GAS_PRICES=0.025uakt
AKASH_GAS_PRICES=0.0025uakt
```

#### List Specific Provider Setting
Expand Down
4 changes: 2 additions & 2 deletions src/content/Docs/providers/provider-faq-and-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,13 +392,13 @@ kbij2mvdlhal5dgc4pc7171cmg.ingress.akashtesting.xyz 18m
Issue the commands in this section from a control plane node within the Kubernetes cluster or a machine that has the kubectl communication with the cluster.

```
provider-services tx market bid close --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --owner <TENANT-ADDRESS> --dseq $AKASH_DSEQ --gseq 1 --oseq 1 --from <PROVIDER-ADDRESS> --keyring-backend $AKASH_KEYRING_BACKEND -y --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.15
provider-services tx market bid close --node $AKASH_NODE --chain-id $AKASH_CHAIN_ID --owner <TENANT-ADDRESS> --dseq $AKASH_DSEQ --gseq 1 --oseq 1 --from <PROVIDER-ADDRESS> --keyring-backend $AKASH_KEYRING_BACKEND -y --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.15
```

#### Example Command Use

```
provider-services tx market bid close --node $AKASH_NODE --chain-id akashnet-2 --owner akash1n44zc8l6gfm0hpydldndpg8n05xjjwmuahc6nn --dseq 5905802 --gseq 1 --oseq 1 --from akash1yvu4hhnvs84v4sv53mzu5ntf7fxf4cfup9s22j --keyring-backend os -y --gas-prices="0.025uakt" --gas="auto" --gas-adjustment=1.15
provider-services tx market bid close --node $AKASH_NODE --chain-id akashnet-2 --owner akash1n44zc8l6gfm0hpydldndpg8n05xjjwmuahc6nn --dseq 5905802 --gseq 1 --oseq 1 --from akash1yvu4hhnvs84v4sv53mzu5ntf7fxf4cfup9s22j --keyring-backend os -y --gas-prices="0.0025uakt" --gas="auto" --gas-adjustment=1.15
```

#### **Example Output (Truncated)**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,13 @@ Set the below set of environment variables to ensure smooth operations
| -------------------- | ----------------------------------------------------------------------------------------- | ----------------- |
| AKASH_GAS | Gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically | `auto` |
| AKASH_GAS_ADJUSTMENT | Adjustment factor to be multiplied against the estimate returned by the tx simulation | `1.15` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.025uakt` |
| AKASH_GAS_PRICES | Gas prices in decimal format to determine the transaction fee | `0.0025uakt` |
| AKASH_SIGN_MODE | Signature mode | `amino-json` |

```
export AKASH_GAS=auto
export AKASH_GAS_ADJUSTMENT=1.25
export AKASH_GAS_PRICES=0.025uakt
export AKASH_GAS_PRICES=0.0025uakt
export AKASH_SIGN_MODE=amino-json
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ validator:
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- FASTSYNC_VERSION=v2
- AKASH_MODE=validator
- AKASH_P2P_PEX=true
Expand Down Expand Up @@ -149,7 +149,7 @@ KEY_PATH=akashnode1
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- FASTSYNC_VERSION=v2
- AKASH_MODE=full
- AKASH_P2P_PEX=true
Expand Down Expand Up @@ -192,7 +192,7 @@ KEY_PATH=akashnode2
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- FASTSYNC_VERSION=v2
- AKASH_MODE=full
- AKASH_P2P_PEX=true
Expand Down Expand Up @@ -262,7 +262,7 @@ In this step we will revisit and edit our initial SDL file with the known Valida
env:
- MONIKER=validator
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- FASTSYNC_VERSION=v2
- AKASH_MODE=validator
- AKASH_P2P_PEX=true
Expand Down Expand Up @@ -295,7 +295,7 @@ In this step we will revisit and edit our initial SDL file with the known Valida
env:
- MONIKER=private_node_1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- FASTSYNC_VERSION=v2
- AKASH_MODE=full
- AKASH_P2P_PEX=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ services:
env:
- MONIKER=my-moniker-1
- CHAIN_JSON=https://raw.githubusercontent.com/akash-network/net/main/mainnet/meta.json
- MINIMUM_GAS_PRICES=0.025uakt
- MINIMUM_GAS_PRICES=0.0025uakt
- P2P_POLKACHU=1
- STATESYNC_POLKACHU=1
- AKASH_PRIV_VALIDATOR_LADDR=tcp://0.0.0.0:26658 # requires remote signer
Expand Down
4 changes: 2 additions & 2 deletions src/content/Docs/validators/running-a-validator/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ akash tx staking create-validator \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas="auto" \
--gas-prices="0.025uakt" \
--gas-prices="0.0025uakt" \
--gas-adjustment=1.5 \
--from="$AKASH_KEY_NAME"
```
Expand All @@ -98,7 +98,7 @@ akash tx staking edit-validator
--details="The SUPERCLOUD IS HERE!" \
--chain-id="$AKASH_CHAIN_ID" \
--gas="auto" \
--gas-prices="0.025uakt" \
--gas-prices="0.0025uakt" \
--gas-adjustment=1.5 \
--from="$AKASH_KEY_NAME" \
--commission-rate="0.10"
Expand Down

0 comments on commit 82af27d

Please sign in to comment.