r0gue-io/pop-cli

feat: output actual cost of contract deployement

Open

#274 创建于 2024年8月2日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Rust (39 fork)github user discovery
enhancementgood first issuemedium

仓库指标

Star
 (113 star)
PR 合并指标
 (PR 指标待抓取)

描述

When I deploy a contract, it should give me the actual amount that it cost:

pop up contract --constructor new --args "false" --suri //Alice
┌   Pop CLI : Deploy a smart contract
│
◇  Gas limit estimate: Weight { ref_time: 146346224, proof_size: 16689 }
│
◇  Contract deployed and instantiated: The Contract Address is "5FBAmSxMGDR9hirH5e3Rfxuhpruyo3MkmqLUbiBN2p7FywUY"
│
└  🚀 Deployment complete

贡献者指南