Hi I am building a solo chain by using the substrate node template but i am stuck here that i wanna change the gas fee to 0 of every transaction that is happening on the chain this chain will be a private chain so there is no issue of security. Can some one tell me that how can i change the gas fee of the chain to zero gas less transactions. I have tried adding the custom fee into weight files but it did not work so can someone help me out to tell me how can i achieve this on a node template of substrate
Weight and Fees are two independant concepts in Substrate. It is entirely possible to use one without the other.
pub type SignedExtra = (
If you want to omit transaction fees, the only thing necessary is to remove the signed extension from the runtime. This entails also un-deploying
pallet-transaction-payment, since its logic is no longer used.
Note that omitting fee payments will also remove the possibility of prioritizing transactions through a tip.