diff --git a/dns/Cargo.toml b/dns/Cargo.toml index 670338b4..6b790ea0 100644 --- a/dns/Cargo.toml +++ b/dns/Cargo.toml @@ -24,3 +24,6 @@ std = [ "scale-info/std", ] ink-as-dependency = [] + +[profile.release] +opt-level = "z" diff --git a/erc1155/Cargo.toml b/erc1155/Cargo.toml index e54b8754..15ab2f7b 100644 --- a/erc1155/Cargo.toml +++ b/erc1155/Cargo.toml @@ -24,3 +24,6 @@ std = [ "scale-info/std", ] ink-as-dependency = [] + +[profile.release] +opt-level = "z" diff --git a/erc20/Cargo.toml b/erc20/Cargo.toml index 4ecf5d64..6a557264 100644 --- a/erc20/Cargo.toml +++ b/erc20/Cargo.toml @@ -28,3 +28,6 @@ std = [ ] ink-as-dependency = [] e2e-tests = [] + +[profile.release] +opt-level = "z" diff --git a/erc721/Cargo.toml b/erc721/Cargo.toml index f4747baa..48e1d075 100644 --- a/erc721/Cargo.toml +++ b/erc721/Cargo.toml @@ -24,3 +24,6 @@ std = [ "scale-info/std", ] ink-as-dependency = [] + +[profile.release] +opt-level = "z" diff --git a/multisig/Cargo.toml b/multisig/Cargo.toml index 30c8d135..7e5376c1 100755 --- a/multisig/Cargo.toml +++ b/multisig/Cargo.toml @@ -24,3 +24,6 @@ std = [ "scale-info/std", ] ink-as-dependency = [] + +[profile.release] +opt-level = "z" diff --git a/trait-erc20/Cargo.toml b/trait-erc20/Cargo.toml index 67512264..ee8a11de 100644 --- a/trait-erc20/Cargo.toml +++ b/trait-erc20/Cargo.toml @@ -24,3 +24,6 @@ std = [ "scale-info/std", ] ink-as-dependency = [] + +[profile.release] +opt-level = "z"