CosmWasm / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
359 stars 381 forks source link

Add codespace to error acknowledgement #1911

Closed webmaster128 closed 1 week ago

webmaster128 commented 1 week ago

This adds the codespace to error acknowledgements by switching from NewErrorAcknowledgement to NewErrorAcknowledgementWithCodespace.

Also creates the initial infrastrucrture to further customize error acknowledgement creation.

Part of #1740

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 54.89%. Comparing base (14161f8) to head (51f1634).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1911/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/1911?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) ```diff @@ Coverage Diff @@ ## main #1911 +/- ## ======================================= Coverage 54.88% 54.89% ======================================= Files 65 65 Lines 9773 9775 +2 ======================================= + Hits 5364 5366 +2 Misses 3865 3865 Partials 544 544 ``` | [Files](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1911?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm) | Coverage Δ | | |---|---|---| | [x/wasm/ibc.go](https://app.codecov.io/gh/CosmWasm/wasmd/pull/1911?src=pr&el=tree&filepath=x%2Fwasm%2Fibc.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CosmWasm#diff-eC93YXNtL2liYy5nbw==) | `69.06% <100.00%> (+0.34%)` | :arrow_up: |