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

feature: fixed fee for active contracts with no consumption #292

Open
muhamadazmy opened this issue May 5, 2022 · 3 comments
Open

feature: fixed fee for active contracts with no consumption #292

muhamadazmy opened this issue May 5, 2022 · 3 comments
Labels
type_feature New feature or request
Milestone

Comments

@muhamadazmy
Copy link
Member

In certain situations, people can create contracts that is not actually tight with any active deployments. Or a deployment that doesn't generate any consumption (like a network deployment).

Those people can just move on without cleaning up their un-used (0 consumption) contract and the chain (and the node) will think it has an active contract forever (this will always show up as active on the grid forever)

A good solution for this, an active contract with no consumption can be billed on it's billing cycle a fixed small fee (think 0.05 tft) so eventually either the user will have to make sure he has NO active (unused) contracts. or will eventually run out of funds and his contract will be decomissioned automatically.

This will also making creating network workloads not free of charge.

@archit3kt
Copy link

I think this is a very good idea to keep a clean architecture on zos nodes. I hope you will create clear reports to know which contracts are actually linked to our twin and on which node they run

@DylanVerstraete DylanVerstraete added this to the Later milestone Jun 2, 2022
@DylanVerstraete DylanVerstraete modified the milestones: Later, 2.1.0 Jul 4, 2022
@DylanVerstraete DylanVerstraete added the type_feature New feature or request label Jul 11, 2022
@DylanVerstraete
Copy link
Contributor

@LeeSmet how much should we charge for a contract without any reported resources (network contracts) ?

@LeeSmet
Copy link
Contributor

LeeSmet commented Jul 13, 2022

hmm, that's tricky. On the one hand it needs to be sufficient to entice people to clean up their unused networks, while on the other hand it shouldn't be too much as we don't want to punish people for having (used) networks. We can't know on the chain if a network is in use or not. Also a bigger problem is that we need to bill individual network resources rather than the network as a whole. While one could argue this makes sense as cost scales with network size, I think the idea is just that an unused network should cost a marginal amount of money.

Personally, I'd say 1 USD / month for a 5 node network seems fair? that equates to 0.2USD/month for a single network resource. Can be tweaked later ofc

@DylanVerstraete DylanVerstraete modified the milestones: 2.1.0, 2.2.0 Aug 12, 2022
@DylanVerstraete DylanVerstraete modified the milestones: 2.2.0, 2.3.0 Nov 14, 2022
@DylanVerstraete DylanVerstraete modified the milestones: 2.3.0, 2.4.0 Feb 22, 2023
@DylanVerstraete DylanVerstraete removed this from 3.10.x Mar 28, 2023
@DylanVerstraete DylanVerstraete modified the milestones: 2.4.0, later Mar 28, 2023
@xmonader xmonader removed this from 3.13.x Nov 5, 2023
@xmonader xmonader added this to 3.14.x Nov 5, 2023
@renauter renauter removed this from 3.14.x Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type_feature New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants