+
Skip to content

Deployment fee is not included in totalFees #20

@behrang

Description

@behrang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载