We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a42a6d5 commit 279b763Copy full SHA for 279b763
crates/forge-runner/src/gas/report.rs
@@ -145,7 +145,7 @@ impl Display for ContractId {
145
146
fn get_contract_id(contracts_data: &ContractsDataStore, class_hash: ClassHash) -> ContractId {
147
match contracts_data.get_contract_name(&class_hash) {
148
- Some(name) => ContractId::LocalContract(name.0.to_string()),
+ Some(name) => ContractId::LocalContract(name.0.clone()),
149
None => ContractId::ForkedContract(class_hash),
150
}
151
0 commit comments