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

貢獻者指南