r0gue-io/pop-cli

feat: output actual cost of contract deployement

Open

#274 aberto em 2 de ago. de 2024

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

Métricas do repositório

Stars
 (113 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador