zemse / hardhat-tracer

🕵️ allows you to see internal calls, events and storage operations in the console
MIT License
355 stars 36 forks source link

Is there a way to show `msg.sender` and `gas usage` for each sub trace? #76

Open Confucian-e opened 4 months ago

zemse commented 4 months ago

You can try using the showAddresses config. It includes the address of the current contract next to it's name. While the gasCost is not accurate I think.

export default {
    ...
    tracer: {
        showAddresses: true,
        gasCost: true,
    }
}