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

On GenesisL1 chain fees are incorrect when you add the chain with ping.pub #343

Open
manueldalb2 opened this issue Mar 9, 2023 · 2 comments

Comments

@manueldalb2
Copy link

When you add the chain with Osmosis:

{
"rpc": "https://26657.genesisl1.org",
"rest": "https://api.genesisl1.org",
"chainId": "genesis_29-2",
"chainName": "GenesisL1",
"bip44": {
"coinType": 118
},
"bech32Config": {
"bech32PrefixAccAddr": "genesis",
"bech32PrefixAccPub": "genesispub",
"bech32PrefixValAddr": "genesisvaloper",
"bech32PrefixValPub": "genesisvaloperpub",
"bech32PrefixConsAddr": "genesisvalcons",
"bech32PrefixConsPub": "genesisvalconspub"
},
"currencies": [
{
"coinDenom": "L1",
"coinMinimalDenom": "el1",
"coinDecimals": 18,
"coinGeckoId": "pool:el1",
"coinImageUrl": "https://frontier.osmosis.zone/tokens/l1.svg"
}
],
"features": [
"ibc-transfer",
"ibc-go"
],
"stakeCurrency": {
"coinDenom": "L1",
"coinMinimalDenom": "el1",
"coinDecimals": 18,
"coinGeckoId": "pool:el1",
"coinImageUrl": "https://frontier.osmosis.zone/tokens/l1.svg"
},
"feeCurrencies": [
{
"coinDenom": "L1",
"coinMinimalDenom": "el1",
"coinDecimals": 18,
"coinGeckoId": "pool:el1",
"coinImageUrl": "https://frontier.osmosis.zone/tokens/l1.svg",
"gasPriceStep": {
"low": 999999999,
"average": 1000000000,
"high": 1000000001
}
}
],
"beta": true
}

when you add with ping.pub

{
"chainId": "genesis_29-2",
"chainName": "genesisl1",
"rpc": "https://26657.genesisl1.org:443",
"rest": "https://api.genesisl1.org",
"bip44": {
"coinType": 118
},
"coinType": 118,

"bech32Config": {
	"bech32PrefixAccAddr": "genesis",
	"bech32PrefixAccPub": "genesispub",
	"bech32PrefixValAddr": "genesisvaloper",
	"bech32PrefixValPub": "genesisvaloperpub",
	"bech32PrefixConsAddr": "genesisvalcons",
	"bech32PrefixConsPub": "genesisvalconspub"
},
"currencies": [
	{
		"coinDenom": "L1",
		"coinMinimalDenom": "el1",
		"coinDecimals": 18,
		"coinGeckoId": "unknown"
															   
	}
],
"feeCurrencies": [
	{
		"coinDenom": "L1",
		"coinMinimalDenom": "el1",
		"coinDecimals": 18,
		"coinGeckoId": "unknown",
		"gasPriceStep": {
			"low": 0.01,
			"average": 0.025,
			"high": 0.03
		}
	}
],
"gasPriceStep": {
	"low": 0.01,
	"average": 0.025,
	"high": 0.03
},
"stakeCurrency": {
 
	"coinDenom": "L1",
	"coinMinimalDenom": "el1",
	"coinDecimals": 18,
	"coinGeckoId": "unknown"
},
"features": []

}

you can see the difference:

osmosis:
"gasPriceStep": {
"low": 999999999,
"average": 1000000000,
"high": 1000000001
}

ping.pub
"gasPriceStep": {
"low": 0.01,
"average": 0.025,
"high": 0.03
}

Osmosis is working, ping.pub no

@liangping
Copy link
Member

I remember that it could be configed in the chain.json

@StakeandRelax-Validator

on chain.registry it seems correct like Osmosis

"fee_tokens": [
  {
    "denom": "el1",
    "low_gas_price": 999999999,
    "average_gas_price": 1000000000,
    "high_gas_price": 1000000001
  }

https://github.com/cosmos/chain-registry/blob/master/genesisl1/chain.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants