r0gue-io/pop-cli

feat: output actual cost of contract deployement

Open

#274 aperta il 2 ago 2024

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (39 fork)github user discovery
enhancementgood first issuemedium

Metriche repository

Star
 (113 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor