Skip to content

Commit

Permalink
fix ai suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
adu-web3 committed Jun 17, 2024
1 parent a37ba39 commit 2feb94d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/TestPrecompileErrorFixed.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ contract DepositScript is BaseScript {
vm.stopBroadcast();

// bind precompile mock contracts code to constant precompile address so that local simulation could pass
+ // Ensure that the address constants used here (ASSETS_PRECOMPILE_ADDRESS, etc.) are designated for testing and do not conflict with production addresses.
// Ensure that the address constants used here (ASSETS_PRECOMPILE_ADDRESS, etc.) are designated for testing and
// do not conflict with production addresses.
bytes memory AssetsMockCode = vm.getDeployedCode("AssetsMock.sol");
vm.etch(ASSETS_PRECOMPILE_ADDRESS, AssetsMockCode);

Expand Down

0 comments on commit 2feb94d

Please sign in to comment.