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

feat: implement support for Osmosis EIP-1559 #1412

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

jtieri
Copy link
Member

@jtieri jtieri commented Mar 1, 2024

This PR adds support for querying the dynamic gas price base fee on Osmosis.

A new config value, dynamic-gas-price, is added to the CosmosProviderConfig, if this value is true then an ABCI query will be made to fetch the dynamic gas price base fee which is used in place of the configured gas-prices value. If the query fails for some reason the relayer will fall back to using the configured gas-prices value.

This feature is currently limited to working on Osmosis due to hardcoded values necessary to make it work, but once Skip's Fee Market module is live we can refactor this code to be generic enough to work against any chain for various fee market models.

Closes #1368

Add support for querying the dynamic gas price base fee on Osmosis.
@jtieri jtieri merged commit 6c29f16 into main Mar 6, 2024
19 checks passed
@jtieri jtieri deleted the justin/dynamic-fees branch March 6, 2024 01:09
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

Successfully merging this pull request may close these issues.

RLY should model gas fees for Block SDK enabled chains using the on-chain endpoint
2 participants