r0gue-io/pop-cli

feat: output actual cost of contract deployement

Open

#274 opened on Aug 2, 2024

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (39 forks)github user discovery
enhancementgood first issuemedium

Repository metrics

Stars
 (113 stars)
PR merge metrics
 (PR metrics pending)

Description

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

Contributor guide