Skip to content

feat: deferred storage cost allocation for ingestors (#344)#359

Open
Escelit wants to merge 1 commit into
StellarFlow-Network:mainfrom
Escelit:feat/344-gas-reserve-tank
Open

feat: deferred storage cost allocation for ingestors (#344)#359
Escelit wants to merge 1 commit into
StellarFlow-Network:mainfrom
Escelit:feat/344-gas-reserve-tank

Conversation

@Escelit
Copy link
Copy Markdown

@Escelit Escelit commented May 30, 2026

  • Add GAS_RESERVE_KEY, fund_gas_reserve, ingest_with_deferred_cost, get_gas_reserve to shift storage extension fees from relayer nodes to consumer-funded reserve tanks
  • Validate reserve balance covers storage_fee before state update; return InsufficientGasReserve if insufficient
  • Add ContractError enum, missing constants, nonce imports, and nonce param to propose_upgrade/execute_upgrade/set_value
  • Add 4 tests covering funding, deduction, rejection, zero-fee ingest

Closes #344

…work#344)

- Add GAS_RESERVE_KEY, fund_gas_reserve, ingest_with_deferred_cost,
  get_gas_reserve to shift storage extension fees from relayer nodes
  to consumer-funded reserve tanks
- Validate reserve balance covers storage_fee before state update;
  return InsufficientGasReserve if insufficient
- Add ContractError enum, missing constants, nonce imports, and nonce
  param to propose_upgrade/execute_upgrade/set_value
- Add 4 tests covering funding, deduction, rejection, zero-fee ingest
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@Escelit Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🔋 Gas-Management | Deferred Storage Cost Allocation for Ingestors

1 participant