-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
90ec0de
commit d619786
Showing
1 changed file
with
51 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Notes about Gas prices and gas used | ||
|
||
NOTES: | ||
|
||
- the gas used depends on the current state of the chain | ||
- the gas records below are based on the empty state | ||
|
||
| operation | gas used | | ||
| :--------------------------------------------- | -------: | | ||
| x/bank send | 31029 | | ||
| x/group create | 68908 | | ||
| x/oracle MsgAggregateExchangeRateVote (3 curr) | 66251 | | ||
| x/oracle MsgAggregateExchangeRateVote (6 curr) | 69726 | | ||
| default gas limit | 200000 | | ||
|
||
### Target price (in USD cent) for x/bank send | ||
|
||
| umee price (usd cent) | gas price in uumee | fee (usd cent) | | ||
| --------------------: | -----------------: | -------------: | | ||
| 2 | 0.2 | 0.0124 | | ||
| 2 | 0.1 | 0.0062 | | ||
| 2 | 0.02 | 0.00124 | | ||
| 5 | 0.2 | 0.031 | | ||
| 5 | 0.1 | 0.0155 | | ||
| 5 | 0.02 | 0.0031 | | ||
|
||
### Target price (in USD cent) for validator oracle txs (with 6 currencies) per day | ||
|
||
There are roughly 10tx / minute and 14400 per day. | ||
Validator has to do 2 tx (prevote and vote) every 5 blocks. | ||
Validator will need to do `5760 = 2*14400/5` tx. | ||
|
||
| umee price (usd cent) | gas price in uumee | fee (usd cent) | | ||
| --------------------: | -----------------: | -------------: | | ||
| 2 | 0.2 | 161.28 | | ||
| 2 | 0.1 | 80.64 | | ||
| 2 | 0.02 | 16.128 | | ||
| 5 | 0.2 | 403.2 | | ||
| 5 | 0.1 | 201.6 | | ||
| 5 | 0.02 | 40.32 | | ||
|
||
### Target price (in USD) for default gas limit | ||
|
||
| umee price (usd cent) | gas price in uumee | fee (usd cent) | | ||
| --------------------: | -----------------: | -------------: | | ||
| 2 | 0.2 | 0.08 | | ||
| 2 | 0.1 | 0.04 | | ||
| 2 | 0.02 | 0.008 | | ||
| 5 | 0.2 | 0.2 | | ||
| 5 | 0.1 | 0.1 | | ||
| 5 | 0.02 | 0.02 | |