Skip to content

Commit

Permalink
perf: upgrade Solidity version and disable CBOR metadata (#10)
Browse files Browse the repository at this point in the history
Updated the Solidity compiler version to 0.8.26 in the Hardhat configuration. Disabled the appendCBOR metadata option in both Hardhat and Foundry settings to streamline metadata handling.
  • Loading branch information
shuhuiluo authored Sep 13, 2024
1 parent 65e217d commit 054c528
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ cache = true
optimizer = true
optimizer_runs = 4294967295
bytecode_hash = 'none'
cbor_metadata = false
sparse_mode = true
ignored_error_codes = [3860, 5574]

Expand Down
3 changes: 2 additions & 1 deletion hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { SolidityUserConfig } from "hardhat/types/config";
*/
const config: HardhatUserConfig = {
solidity: {
version: "0.8.22",
version: "0.8.26",
settings: {
optimizer: {
enabled: true,
Expand All @@ -18,6 +18,7 @@ const config: HardhatUserConfig = {
viaIR: true,
evmVersion: "paris",
metadata: {
appendCBOR: false,
bytecodeHash: "none",
},
},
Expand Down

0 comments on commit 054c528

Please sign in to comment.