You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to deploy a child contract from a parent, the deployment fee is not returned in totalFees of the transaction. It looks like it only considers gas fees for processing the message, and not the gas fee required for providing stateInit and its deployment. Ideally, totalFees should include deployment fees, and maybe a separate field can be used for gas fees.
In my tests, I try to calculate the balance of parent smart contract, after deploying a new child, but since deployment cost is not considered in totalFees, I have to compromise and use an approximation.
The text was updated successfully, but these errors were encountered:
When I try to deploy a child contract from a parent, the deployment fee is not returned in
totalFees
of the transaction. It looks like it only considers gas fees for processing the message, and not the gas fee required for providingstateInit
and its deployment. Ideally,totalFees
should include deployment fees, and maybe a separate field can be used for gas fees.In my tests, I try to calculate the balance of parent smart contract, after deploying a new child, but since deployment cost is not considered in
totalFees
, I have to compromise and use an approximation.The text was updated successfully, but these errors were encountered: