Skip to content

Commit

Permalink
chore: make ipfs the default bytecodehash again (#1246)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Apr 9, 2022
1 parent 0772e4c commit a63e56d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ block_difficulty = 0
rpc_storage_caching = { chains = "all", endpoints = "all" }
# this overrides `rpc_storage_caching` entirely
no_storage_caching = false
# don't include the metadata hash, to allow for deterministic code: https://docs.soliditylang.org/en/latest/metadata.html, solc's default is "ipfs"
bytecode_hash = "none"
# use ipfs method to generate the metadata hash, solc's default.
# To not include the metadata hash, to allow for deterministic code: https://docs.soliditylang.org/en/latest/metadata.html, use "none"
bytecode_hash = "ipfs"
# If this option is enabled, Solc is instructed to generate output (bytecode) only for the required contracts
# this can reduce compile time for `forge test` a bit but is considered experimental at this point.
sparse_mode = false
Expand Down
2 changes: 1 addition & 1 deletion config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ impl Default for Config {
via_ir: false,
rpc_storage_caching: Default::default(),
no_storage_caching: false,
bytecode_hash: BytecodeHash::None,
bytecode_hash: BytecodeHash::Ipfs,
sparse_mode: false,
}
}
Expand Down

0 comments on commit a63e56d

Please sign in to comment.