Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate and start to charge for storage artifacts produced by transactions #601

Open
xgreenx opened this issue Oct 5, 2023 · 0 comments

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Oct 5, 2023

Problem overview

Each transaction leaves disk space delta after execution like:

  • Inserting a new K/V into a state or asset into balances also has Sparse Merkle Tree storage overhead.
  • Contract's bytecode occupies the Transactions and ContractsRawCode tables.

Solution

The fuzzing tool FuelLabs/fuel-core#1402 can help us identify other artifacts produced by transaction fields/operations.

In the end, we need to charge the user for these artifacts as part of:

Acceptence criteria

Prove that we handled charging for storage artifacts in other issues. If not, we must create a new sub-issue to track the progress.

We can close this issue when all sub-issues are solved.

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

No branches or pull requests

1 participant