Skip to content

Commit

Permalink
Merge pull request #72 from shanithkk/bug/workflow_size_bug
Browse files Browse the repository at this point in the history
fix: created workflow size issue
  • Loading branch information
Mr-Nobody21 authored Aug 21, 2023
2 parents d9b9b39 + 42aa64f commit d0418fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions workflow/providers/hooks/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,17 @@ def cargo_generator(task_list):
substrate-api-client = {{ git = "https://github.com/HugoByte/substrate-api-client.git", default-features = false, features = ["staking-xt"], branch ="wasm-support"}}
pallet-staking = {{ git = "https://github.com/paritytech/substrate.git", package = "pallet-staking" ,rev = "eb1a2a8" }}
[profile.release]
# Do not perform backtrace for panic on release builds.
panic = 'abort'
# Perform optimizations on all codegen units.
codegen-units = 1
# Optimize for size.
opt-level = 'z' # or 'z' to optimize "aggressively" for size
# Enable link time optimization.
lto = true
strip = true
"""
return cargo_dependencies

Expand Down

0 comments on commit d0418fd

Please sign in to comment.