# Proposal: Increase the callback\_gas\_limit

**URL:** <https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606>\
**Category:** Proposals\
**Created:** [May 29, 2024, 8:25pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606 "2024-05-29T20:25:16Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xenosgeck](https://avatars.discourse-cdn.com/v4/letter/x/898d66/32.png) [@xenosgeck](https://gov.archway.io/u/xenosgeck)\
**Post date:** [May 29, 2024, 8:25pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/1 "2024-05-29T20:25:16Z")

</div>

The current callback\_gas\_limit value is set to 150000. The limit is too low to allow any interesting contract interactions to happen.

Hence, this is a proposal to update the callback\_gas\_limit param of the callback module from 150000 to 3000000. With the current gas price, this should allow the callback to consume gas up to 0.42 CONST. By doing so, we will be able to implement interesting features using the callback module.

---

<div class="post-metadata">

**Author:** ![emperor](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@emperor](https://gov.archway.io/u/emperor)\
**Post date:** [May 29, 2024, 9:20pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/2 "2024-05-29T21:20:14Z")

</div>

Hi @xenosgeck,

Thanks for bringing this proposal to the community’s attention. It’s great that the protocol team designed these modules to be easily adjustable via governance to ensure the protocol remains flexible and adaptable. The initial values for most parameters are set on the conservative side to allow developers and users to evaluate the system and propose adjustments based on real-world use cases.

Could you provide more context on why you chose to increase the callback\_gas\_limit to 3,000,000, a significant jump from the initial 150,000? What specific use cases do you have in mind for the callback module, and what gas limits are you encountering with the transactions you aim to execute? It would be helpful if you could share some test transactions to illustrate the need for this increase as well.

---

<div class="post-metadata">

**Author:** ![xenosgeck](https://avatars.discourse-cdn.com/v4/letter/x/898d66/32.png) [@xenosgeck](https://gov.archway.io/u/xenosgeck)\
**Post date:** [May 30, 2024, 3:58pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/3 "2024-05-30T15:58:26Z")

</div>

Hi,

I am trying to implement an auto-renewal mechanism for archid domain. For this mechanism, the callback module should be able to execute several messages, such as NFT transfers and cross-contract interaction. I have implemented this function and when I execute this function directly on Testnet, it consumed around 1\_000\_000 gas.

Here is the transaction where the “renew domain” function is called directly.

> **[Mintscan](https://www.mintscan.io/archway-testnet/tx/4C0003FC88095AC5AC829AC903215B846AE375EBA1022E703E3A9C0D41E6CEFF?height=6202801)**
>
> Interchain block explorer and data analytics for sovereign blockchain networks.

By taking into consideration the possibility of more advance use cases in the future, I propose to double the minimum amount of callback gas limit from my use case for extra buffers. That’s how I come up with the 3\_000\_000 gas in my proposal.

I can understand that it can be too high and I am okay to lower the number, but I think for my use case, the minimum callback gas limit should be around 1\_500\_000.

---

<div class="post-metadata">

**Author:** ![xenosgeck](https://avatars.discourse-cdn.com/v4/letter/x/898d66/32.png) [@xenosgeck](https://gov.archway.io/u/xenosgeck)\
**Post date:** [June 2, 2024, 8:05pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/4 "2024-06-02T20:05:26Z")

</div>

Hello,

If it is okay, I would like to submit the following proposal on chain.

`draft_proposal.json`

```auto
{
 "messages": [
  {
   "@type": "/archway.callback.v1.MsgUpdateParams",
   "authority": "archway10d07y265gmmuvt4z0w9aw880jnsr700j0f0puy",
   "params": {
    "callback_gas_limit": "3000000",
    "max_block_reservation_limit": "10",
    "max_future_reservation_limit": "432000",
    "block_reservation_fee_multiplier": "0.000000000000000000",
    "future_reservation_fee_multiplier": "1000000000000.000000000000000000"
   }
  }
 ],
 "metadata": "ipfs://CID",
 "deposit": "1000000000000000000aconst",
 "title": "Update callback gas limit param",
 "summary": "Increase callback gas limit param to 3000000"
}

```

`draft_metadata.json`

```auto
{
 "title": "Update callback gas limit param",
 "authors": [
  "xenosgeck"
 ],
 "summary": "Increase callback gas limit param",
 "details": "Increase callback gas limit param to 3000000",
 "proposal_forum_url": "https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606",
 "vote_option_context": "Yes, No, NoWithVeto, Abstain"
}

```

---

<div class="post-metadata">

**Author:** ![isaac](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@isaac](https://gov.archway.io/u/isaac)\
**Post date:** [June 3, 2024, 1:22am UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/5 "2024-06-03T01:22:45Z")

</div>

Hi @emperor,

I want to support @xenosgeck proposal.  
In my case there is IBC and ICA (cross chain) interaction that will need minimum 500000 gas limit I think, and I agree with @xenosgeck that the current gas limit I think is too small for meaningful transaction.

My estimation we should increase gas limit to 0.75-1 million as minimum to accommodate variation of possible meaningful chain interaction.

---

<div class="post-metadata">

**Author:** ![emperor](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@emperor](https://gov.archway.io/u/emperor)\
**Post date:** [June 3, 2024, 2:40pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/6 "2024-06-03T14:40:04Z")

</div>

@xenosgeck will this proposal submission be going on Testnet or Mainnet?

---

<div class="post-metadata">

**Author:** ![emperor](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@emperor](https://gov.archway.io/u/emperor)\
**Post date:** [June 3, 2024, 2:43pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/7 "2024-06-03T14:43:32Z")

</div>

I see that the deposit is in CONST so I am assuming Testnet. One concern raised by the protocol team is that it might be reasonable to start at 1\_000\_000 first before making a big jump to 3\_000\_000.

We however could use 3\_000\_000 on our DEVNET (Titus) where devs can also test out their contracts. So we can set TESTNET (Constantine) to 1\_000\_000 and DEVNET (Titus) to 3\_000\_000.

---

<div class="post-metadata">

**Author:** ![emperor](https://avatars.discourse-cdn.com/v4/letter/e/a8b319/32.png) [@emperor](https://gov.archway.io/u/emperor)\
**Post date:** [June 5, 2024, 6:55pm UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/8 "2024-06-05T18:55:05Z")

</div>

We have submitted proposals to update the **max gas limit** for the **Callback** module on **Devnet** and **Testnet** based on the following proposal discussion: [Proposal: Increase the callback\_gas\_limit](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606). This update increases the max gas limit from **150,000** to **3,000,000** on **Devnet** and to **1,000,000** on **Testnet**. We are asking developers to test this updated configuration on both networks and provide feedback so that we can make a decision on the update to be made on Mainnet.

You can see the updated values here:

**DevNet**

- Proposal: [L0vd Explorer - Cosmos Block Explorer](https://explorers.l0vd.com/archway-devnet/gov/6)
- View params: [https://api.titus.archway.io/archway/callback/v1/params](https://api.titus.archway.io/archway/callback/v1/params)

**TestNet**

- Proposal: [Mintscan](https://www.mintscan.io/archway-testnet/proposals/105)
- View params: [https://api.constantine.archway.io/archway/callback/v1/params](https://api.constantine.archway.io/archway/callback/v1/params)

Please provide feedback.

---

<div class="post-metadata">

**Author:** ![emilywhite](https://avatars.discourse-cdn.com/v4/letter/e/a87d85/32.png) [@emilywhite](https://gov.archway.io/u/emilywhite)\
**Post date:** [November 22, 2026, 4:44am UTC](https://gov.archway.io/t/proposal-increase-the-callback-gas-limit/606/10 "2026-11-22T04:44:32Z")

</div>

For the mainnet decision, I’d want to see whether the domain auto-renewal path actually succeeds under Testnet’s 1,000,000 limit, not just that the direct call used around 1,000,000. Since the callback must fit entirely within the limit, a use case measured at ~1M leaves little or no headroom. If that test reverts or has near-zero margin on Constantine, 1.5M seems a more defensible mainnet minimum; if it succeeds with margin, starting at 1M is reasonable.
