Эх сурвалжийг харах

docs: remove note about machine dependency and link to #31

docs: add note about disabling the optimizer when debugging
Paul Razvan Berg 4 жил өмнө
parent
commit
bea88a384c
1 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 3 3
      hardhat.config.ts

+ 3 - 3
hardhat.config.ts

@@ -76,11 +76,11 @@ const config: HardhatUserConfig = {
     version: "0.8.3",
     settings: {
       metadata: {
-        // Do not include the metadata hash, since this is machine dependent and we want
-        // all generated code to be deterministic.
-        // https://docs.soliditylang.org/en/v0.7.6/metadata.html
+        // Not including the metadata hash
+        // https://github.com/paulrberg/solidity-template/issues/31
         bytecodeHash: "none",
       },
+      // You should disable the optimizer when debugging
       // https://hardhat.org/hardhat-network/#solidity-optimizer-support
       optimizer: {
         enabled: true,