Skip to content

Commit

Permalink
chore: increase oracle gas limit from 140k to 200k (#2270)
Browse files Browse the repository at this point in the history
* chore: increase oracle gas limit from 140k to 200k

* changelog
  • Loading branch information
robert-zaremba authored Sep 29, 2023
1 parent 6bbdceb commit b620963
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

- [2261](https://github.com/umee-network/umee/pull/2261) Use go 1.21
- [2263](https://github.com/umee-network/umee/pull/2263) Add spot price fields to account summary, and ensure all other fields use leverage logic prices.
- [2270](https://github.com/umee-network/umee/pull/2270) Increase free oracle tx limit to 200k gas.

### Bug Fixes

Expand Down
2 changes: 1 addition & 1 deletion ante/fee.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

// MaxOracleGasUsage defines the maximum gas allowed for an oracle transaction.
const MaxOracleGasUsage = uint64(140_000)
const MaxOracleGasUsage = uint64(200_000)

// FeeAndPriority ensures tx has enough fee coins to pay for the gas at the CheckTx time
// to early remove transactions from the mempool without enough attached fee.
Expand Down

0 comments on commit b620963

Please sign in to comment.