Skip to content

fix: re-parameterize gas fee constants#1

Open
mattverse wants to merge 1 commit intomainfrom
mattverse/base-fee-update
Open

fix: re-parameterize gas fee constants#1
mattverse wants to merge 1 commit intomainfrom
mattverse/base-fee-update

Conversation

@mattverse
Copy link
Copy Markdown

Re-parameterizes gas fee constans to

if basefee >= 0.02 then:
low = base fee
average = base fee * 2.5
high = base fee * 5

Comment thread src/index.ts
@@ -53,8 +53,8 @@ const BASE_FEE_ENDPOINT = "https://lcd-osmosis.keplr.app";
if (baseFee.gte(new Dec(0.025))) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (baseFee.gte(new Dec(0.025))) {
if (baseFee.gte(new Dec(0.02))) {

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.

2 participants