# Avalanche Fuji relayer submitting txns with more gas price

**URL:** <https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058>\
**Category:** Defender\
**Tags:** defender, autotasks\
**Created:** [January 20, 2022, 7:01pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058 "2022-01-20T19:01:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbhargav5](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/kbhargav5/32/17407_2.png) [@kbhargav5](https://forum.openzeppelin.com/u/kbhargav5)\
**Post date:** [January 20, 2022, 7:01pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/1 "2022-01-20T19:01:08Z")

</div>

Avalanche Fuji relayer is submitting txn with more gas price 225 nAVAX with safeLow speed even though the gas price is 25 nAVAX. I tried doing txn with metamask, it submitted with 25 nAVAX where as with defender relayer it took 225 nAVAX. sharing the screenshot below.

 ![Screenshot 2022-01-21 at 12.27.36 AM](https://us1.discourse-cdn.com/flex022/uploads/zeppelin/original/2X/9/962cc5e6fedd60fca319a3ce51557b2bf6ec4d20.png)

**💻 Environment**

**📝Details**

**🔢 Code to reproduce**

---

<div class="post-metadata">

**Author:** ![spalladino](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/spalladino/32/22_2.png) [@spalladino](https://forum.openzeppelin.com/u/spalladino)\
**Post date:** [January 21, 2022, 9:12pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/2 "2022-01-21T21:12:22Z")

</div>

Hey @kbhargav5, can you share the transaction hash? I'd like to check if this was caused by successive retries of the same transaction, which bumped its gas price up to 225, or it was a temporary spike in Fuji's gas prices. Thanks!

---

<div class="post-metadata">

**Author:** ![kbhargav5](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/kbhargav5/32/17407_2.png) [@kbhargav5](https://forum.openzeppelin.com/u/kbhargav5)\
**Post date:** [January 22, 2022, 9:40am UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/3 "2022-01-22T09:40:25Z")

</div>

check this transaction. [https://testnet.snowtrace.io/tx/0x81e99099e71722e8f4d8109073a19cdf8aa6c79cc1b098bf54618c4660ee1333](https://testnet.snowtrace.io/tx/0x81e99099e71722e8f4d8109073a19cdf8aa6c79cc1b098bf54618c4660ee1333)  
All txns are going with 225 nAVAX

---

<div class="post-metadata">

**Author:** ![kbhargav5](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/kbhargav5/32/17407_2.png) [@kbhargav5](https://forum.openzeppelin.com/u/kbhargav5)\
**Post date:** [January 24, 2022, 6:58pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/4 "2022-01-24T18:58:12Z")

</div>

@spalladino check this

---

<div class="post-metadata">

**Author:** ![spalladino](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/spalladino/32/22_2.png) [@spalladino](https://forum.openzeppelin.com/u/spalladino)\
**Post date:** [January 25, 2022, 12:45pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/5 "2022-01-25T12:45:53Z")

</div>

Hey @kbhargav5, you're correct. Avalanche [introduced dynamic fees](https://medium.com/avalancheavax/apricot-phase-three-c-chain-dynamic-fees-432d32d67b60) a few months back, but Defender is still using the static pricing of 225 nAVAX from the previous version. We'll make the change to use the price advertised by the network, and later switch to 1559-like pricing.

---

<div class="post-metadata">

**Author:** ![kbhargav5](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/kbhargav5/32/17407_2.png) [@kbhargav5](https://forum.openzeppelin.com/u/kbhargav5)\
**Post date:** [January 26, 2022, 11:47am UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/6 "2022-01-26T11:47:23Z")

</div>

Thanks. Is defender using static pricing in mainnet as well? If so, please change it soon as we will be launching our app on mainnet in a week

---

<div class="post-metadata">

**Author:** ![spalladino](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/spalladino/32/22_2.png) [@spalladino](https://forum.openzeppelin.com/u/spalladino)\
**Post date:** [January 26, 2022, 1:22pm UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/7 "2022-01-26T13:22:43Z")

</div>

@kbhargav5 yes, we're fixing this for both the main and test Avalanche C-Chain networks. You should see the change in a few hours from now.

---

<div class="post-metadata">

**Author:** ![kbhargav5](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/kbhargav5/32/17407_2.png) [@kbhargav5](https://forum.openzeppelin.com/u/kbhargav5)\
**Post date:** [January 27, 2022, 8:47am UTC](https://forum.openzeppelin.com/t/avalanche-fuji-relayer-submitting-txns-with-more-gas-price/23058/8 "2022-01-27T08:47:34Z")

</div>

thanks, looks fine now
