-
Notifications
You must be signed in to change notification settings - Fork 329
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
Allow osmosis testnet to use dynamic_gas_price
#4248
Allow osmosis testnet to use dynamic_gas_price
#4248
Conversation
b91d846
to
7c51fd4
Compare
@@ -21,7 +21,7 @@ pub async fn query_eip_base_fee( | |||
|
|||
let chain_name = chain_id.name(); | |||
|
|||
let is_osmosis = chain_name.starts_with("osmosis") || chain_name.starts_with("osmo-test"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should instead fix how the chain id is parsed. I would expect osmos-test-5
to be parsed as
ChainId {
id: "osmo-test",
version: 5
}
@ljoss17 @allthatjazzleo What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do think so
But not sure will it be a breaking changes to other chain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, we are parsing the chain id correctly, ie. osmo-test-5
is parsed as Chain { id: "osmo-test-5", version: 5 }
but the name
method is wrong, and does the splitting on -
the wrong way, which discards the -test
parts of the chain name.
dynamic_gas_price
Hey @allthatjazzleo thanks for opening this PR! |
@ljoss17 |
…jazzleo/hermes into fix-osmosis-testnet-eip_base_fee
Closes: #4247
Description
PR author checklist:
unclog
.docs/
).mircea-c
Reviewer checklist:
Files changed
in the GitHub PR explorer.