Sitelet https://hardhat.org/docs/reference/cheatcodes/utilities/label
Skip to content

label

function label(address addr, string calldata label) external;

Sets a label label for addr in test traces.

If an address is labelled, the label will show up in test traces instead of the address.