Skip to content

Commit

Permalink
feat: label contracts deployed with CVS
Browse files Browse the repository at this point in the history
  • Loading branch information
bowd committed Aug 18, 2024
1 parent 1f59038 commit 00255f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CVS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ library CVS {
assembly {
addr := create(0, add(bytecode, 0x20), mload(bytecode))
}
vm.label(addr, artifact);
return addr;
}

Expand All @@ -65,6 +66,7 @@ library CVS {
success,
"deployTo(address,string,bytes): Failed to create runtime bytecode."
);
vm.label(target, artifact);
vm.etch(target, runtimeBytecode);
}
}

0 comments on commit 00255f1

Please sign in to comment.