tfchain icon indicating copy to clipboard operation
tfchain copied to clipboard

certified capacity paid as DIY capacity

Open sameh-farouk opened this issue 7 months ago • 0 comments

Going through the code, certified capacity should cost 25% more here

https://github.com/threefoldtech/tfchain/blob/5a9ad375cb3cfa637ab51b7494d0680fc78d405c/substrate-node/pallets/pallet-smart-contract/src/cost.rs#L328-L334

But I can see that the DIY type is hardcoded here, We are not getting it from the Node

https://github.com/threefoldtech/tfchain/blob/5a9ad375cb3cfa637ab51b7494d0680fc78d405c/substrate-node/pallets/pallet-smart-contract/src/cost.rs#L17-L24

Any reason behind that? Maybe the CERTFIED nodes weren't yet lunched at the time of writing this part?

sameh-farouk avatar Jul 16 '24 15:07 sameh-farouk