CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
364 stars 395 forks source link

Generalize "pinned" to "discount" for cases where contract is in memory #1799

Closed webmaster128 closed 7 months ago

webmaster128 commented 7 months ago

Creating the concept of discounted setup cost is motivated by #1798 but this PR can be reviewed and merged independent of #1798.

What this is changing here is:

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (796907e) 55.00% compared to head (3206540) 55.01%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1799/graphs/tree.svg?width=650&height=150&src=pr&token=rxXgFH3QTf&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm)](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1799?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) ```diff @@ Coverage Diff @@ ## main #1799 +/- ## ======================================= Coverage 55.00% 55.01% ======================================= Files 64 64 Lines 9661 9663 +2 ======================================= + Hits 5314 5316 +2 Misses 3821 3821 Partials 526 526 ``` | [Files](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1799?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) | Coverage Δ | | |---|---|---| | [x/wasm/types/gas\_register.go](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1799?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm#diff-eC93YXNtL3R5cGVzL2dhc19yZWdpc3Rlci5nbw==) | `97.53% <100.00%> (+0.06%)` | :arrow_up: |
webmaster128 commented 7 months ago

Thanks!