Skip to content

Commit

Permalink
Update local_verify.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Jan 19, 2025
1 parent bd0b1c3 commit 37b90b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/local_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ task("local-verify", "Verifies that the local deployment files correspond to the
const onChainCode = await hre.ethers.provider.getCode(deployment.address);
const onchainBytecodeHash = hre.ethers.keccak256(onChainCode);

// Компилируем контракт в реальном времени
// We compile the contract in real-time
const meta = JSON.parse(deployment.metadata!);
const solcjs = await loadSolc(meta.compiler.version);

// Подготавливаем метаданные для компиляции
// Preparing metadata for compilation
const allowedSourceKey = ["keccak256", "content"];
delete meta.compiler;
delete meta.output;
Expand Down

0 comments on commit 37b90b6

Please sign in to comment.