Skip to content

Gas fee limit for storage incentive transactions #5142

@gacevicljubisa

Description

@gacevicljubisa

Summary

Add a new setting in the Bee client to let node operators set a maximum gas fee for storage incentive transactions in the redistribution game (commit, reveal, claim phases). It can be an array with a limit for each phase, with default values that make sense.

Motivation

Node operators in the Swarm network join the redistribution game to earn rewards, but gas fees can get high and make it too expensive. Setting a gas fee limit for each phase helps operators control costs and avoid surprises, especially when gas prices spike.

Implementation

Add a new setting called max-gas-fee-per-phase to the Bee config file.
Example:

max-gas-fee-per-phase:
  - commit: 20000000000  # 20 Gwei for commit
  - reveal: 20000000000  # 20 Gwei for reveal
  - claim: 30000000000   # 30 Gwei for claim

Drawbacks

If gas fees go above the limit, operators might miss out on rewards because transactions won’t go through.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions