Skip to content

Commit

Permalink
fix: update gasreq (#1886)
Browse files Browse the repository at this point in the history
* fix: update gasreq

* update

* fix test
  • Loading branch information
maxencerb committed Apr 30, 2024
1 parent 469241c commit 9208a61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Next version

- update gasreq for simple limit orders

# 2.0.5-51

- Add option to disable unknown offer id.
Expand Down
2 changes: 1 addition & 1 deletion src/constants/mangroveOrder.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "./schema/mangroveOrder.json",
"restingOrderGaspriceFactor": 5,
"simple": {
"restingOrderGasreq": 200000,
"restingOrderGasreq": 250000,
"takeGasOverhead": 300000
},
"aave": {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/configuration.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe("Configuration unit tests suite", () => {
it("can read mangroveOrder config", () => {
assert.equal(
configuration.mangroveOrder.getRestingOrderGasreq("local"),
200000,
250000,
);
assert.equal(
configuration.mangroveOrder.getRestingOrderGasreq("local", "aave"),
Expand Down

0 comments on commit 9208a61

Please sign in to comment.