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 3cad9dc commit 905bae3Copy full SHA for 905bae3
crates/forge-runner/src/gas/report.rs
@@ -143,7 +143,7 @@ impl Display for ContractId {
143
144
fn get_contract_id(contracts_data: &ContractsDataStore, class_hash: ClassHash) -> ContractId {
145
match contracts_data.get_contract_name(&class_hash) {
146
- Some(name) => ContractId::LocalContract(name.0.to_string()),
+ Some(name) => ContractId::LocalContract(name.0.clone()),
147
None => ContractId::ForkedContract(class_hash),
148
}
149
0 commit comments