r0gue-io/pop-cli

feat: output actual cost of contract deployement

Open

#274 geöffnet am 2. Aug. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (39 Forks)github user discovery
enhancementgood first issuemedium

Repository-Metriken

Stars
 (113 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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