Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {

// Calculate new gas price step.
const low = new Dec(gasPriceStep.low);
let average = baseFee.mul(new Dec(1.2));
let high = baseFee.mul(new Dec(1.5));
let average = baseFee.mul(new Dec(2.5));
let high = baseFee.mul(new Dec(5));

if (average.lt(low)) {
average = low;
Expand Down