AbstractSDK / cw-orchestrator

All-in-one Rust-based CosmWasm testing, scripting, and deployment tool.
https://orchestrator.abstract.money
GNU General Public License v3.0
75 stars 17 forks source link

Change attribute format (payable -> cw-orch(payable)) #408

Closed Kayanski closed 2 months ago

Kayanski commented 2 months ago

This PR aims at adding a cw-orch namespace to cw-orch derive function attributes. This aims at clarifying the attributes for the developer, as there are multiple attributes now with cw-orch macros

Checklist

cloudflare-pages[bot] commented 2 months ago

Deploying cw-orchestrator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 59f229d
Status: ✅  Deploy successful!
Preview URL: https://205675a8.cw-orchestrator.pages.dev
Branch Preview URL: https://update-change-attribute-form.cw-orchestrator.pages.dev

View logs

Kayanski commented 2 months ago

Looks much better, does it have any downsides except being breaking?

No, I don't think there are

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 56.7%. Comparing base (7d28f5b) to head (59f229d).

Additional details and impacted files | [Files](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK) | Coverage Δ | | |---|---|---| | [contracts/mock\_contract/src/lib.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=contracts%2Fmock_contract%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y29udHJhY3RzL21vY2tfY29udHJhY3Qvc3JjL2xpYi5ycw==) | `97.9% <100.0%> (ø)` | | | [contracts/mock\_contract/src/msg\_tests.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=contracts%2Fmock_contract%2Fsrc%2Fmsg_tests.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y29udHJhY3RzL21vY2tfY29udHJhY3Qvc3JjL21zZ190ZXN0cy5ycw==) | `94.7% <ø> (ø)` | | | [contracts/mock\_contract\_u64/src/lib.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=contracts%2Fmock_contract_u64%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y29udHJhY3RzL21vY2tfY29udHJhY3RfdTY0L3NyYy9saWIucnM=) | `82.7% <100.0%> (ø)` | | | [...kages/macros/cw-orch-fns-derive/src/execute\_fns.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=packages%2Fmacros%2Fcw-orch-fns-derive%2Fsrc%2Fexecute_fns.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvbWFjcm9zL2N3LW9yY2gtZm5zLWRlcml2ZS9zcmMvZXhlY3V0ZV9mbnMucnM=) | `100.0% <100.0%> (ø)` | | | [...ckages/macros/cw-orch-fns-derive/src/fns\_derive.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=packages%2Fmacros%2Fcw-orch-fns-derive%2Fsrc%2Ffns_derive.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvbWFjcm9zL2N3LW9yY2gtZm5zLWRlcml2ZS9zcmMvZm5zX2Rlcml2ZS5ycw==) | `100.0% <100.0%> (ø)` | | | [packages/macros/cw-orch-fns-derive/src/lib.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=packages%2Fmacros%2Fcw-orch-fns-derive%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvbWFjcm9zL2N3LW9yY2gtZm5zLWRlcml2ZS9zcmMvbGliLnJz) | `100.0% <ø> (ø)` | | | [packages/macros/cw-orch-fns-derive/src/helpers.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/408?src=pr&el=tree&filepath=packages%2Fmacros%2Fcw-orch-fns-derive%2Fsrc%2Fhelpers.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvbWFjcm9zL2N3LW9yY2gtZm5zLWRlcml2ZS9zcmMvaGVscGVycy5ycw==) | `77.7% <90.0%> (-1.0%)` | :arrow_down: |