Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Better reply support (#418) #452

Merged
merged 43 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
4e5dbec
feat: Parse additional parameters for sv::msg(reply) (#426)
jawoznia Aug 30, 2024
71e5a76
chore: Review fix
jawoznia Sep 16, 2024
15e3666
chore: Make `MsgAttr` a struct
jawoznia Sep 2, 2024
778c5f0
chore: Store `MsgAttr` in `MsgVariant`
jawoznia Sep 2, 2024
84d4082
feat: Generate unique reply_ids (#427)
jawoznia Sep 2, 2024
f08901a
chore: Remove `msg_type` method from `MsgVariant`
jawoznia Sep 16, 2024
1390305
feat: Emit new reply dispatch (#429)
jawoznia Sep 4, 2024
fbffb6a
chore: Review fixes
jawoznia Sep 18, 2024
72ebc77
chore: Rename variables to be more intuitive
jawoznia Sep 19, 2024
28ee4ad
feat: Add InstantiateBuilder and SubMsg trait
jawoznia Sep 17, 2024
06c5a69
feat: Impl SubMsg trait on CosmosMsg
jawoznia Sep 30, 2024
2da70e6
chore: Review fixes
jawoznia Oct 9, 2024
cfca3c6
feat: Add `UpdateAdmin` and `ClearAdmin` constructors in the `Remote`
jawoznia Sep 27, 2024
e847bc3
chore: Add doc comments and use `&str` in `update_admin`
jawoznia Oct 3, 2024
9e28aeb
chore: Add comment with more context about ContractStorage
jawoznia Oct 9, 2024
8446e00
chore: Improve reply generation
jawoznia Oct 2, 2024
96d9ec3
chore: Store MsgVariant in ReplyData
jawoznia Oct 3, 2024
fb86aaa
feat: Add option to deserialize payload (#439)
jawoznia Oct 8, 2024
468c542
chore: Remove redundant logic from reply
jawoznia Oct 9, 2024
8da3c12
feat: Pass payload while building SubMsg (#441)
jawoznia Oct 10, 2024
d43909d
chore: Review fixes
jawoznia Oct 14, 2024
c2aebe4
feat: Add support for `sv::features` attribute. (#446)
jawoznia Oct 15, 2024
b043037
chore: Better error message for `sv::features` attribute
jawoznia Oct 16, 2024
359fc76
feat: Add auto deserialization of reply data (#445)
jawoznia Oct 17, 2024
9c35162
feat: Add `instantiate` parameter to the `sv::data` attribute
jawoznia Oct 21, 2024
3c89bcc
feat: Support omitting data parameter
jawoznia Oct 30, 2024
0df5cf9
chore: Rename `ReplyOn::Failure` to match variant from std
jawoznia Oct 22, 2024
e92845d
feat: Add temporary `sylvia::replies::ReplyCtx` with additional field…
jawoznia Oct 22, 2024
280ee80
feat: Create ctx module for context types
jawoznia Oct 31, 2024
c6450bd
chore: Revert adding `non_exhaustive` on old context types.
jawoznia Nov 4, 2024
b7a245d
feat: Revert adding Error to ContractApi
jawoznia Nov 12, 2024
deb4070
feat: Update MultiTest to 2.2.0
jawoznia Nov 7, 2024
a837e7e
test: Assert deserialized payload has proper value
jawoznia Nov 8, 2024
aa3fd6f
test: Check error if `instantiate` and `raw` used in `data`
jawoznia Nov 12, 2024
9ff51b1
docs: Add description of the `data` and `payload` attributes.
jawoznia Nov 12, 2024
3a7102c
test: Split reply data test cases
jawoznia Nov 12, 2024
b8a2e6c
test: Update stderr file
jawoznia Nov 12, 2024
4f09075
test: Fix missing import
jawoznia Nov 13, 2024
09b7556
feat: Assert no redundant parameters in reply method
jawoznia Nov 13, 2024
dc1a6e2
feat: Return transaction id and block height if deserialization failed
jawoznia Nov 13, 2024
a7af42b
feat: Error on wrong `sv::data` and `sv::payload` usage
jawoznia Nov 15, 2024
514f853
feat: Assert no attributes used on `self` and `ctx`
jawoznia Nov 19, 2024
97fc158
chore: Minor tweaks
jawoznia Nov 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
181 changes: 91 additions & 90 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ version = "1.2.1"

[workspace.dependencies]
sylvia-derive = { version = "1.2.1", path = "sylvia-derive" }
anyhow = "1.0.86"
cosmwasm-schema = "2.1.1"
cosmwasm-std = "2.1.1"
cw-multi-test = "2.1.0"
anyhow = "1.0.93"
cosmwasm-schema = "2.1.4"
cosmwasm-std = "2.1.4"
cw-multi-test = "2.2.0"
cw-storage-plus = "2.0.0"
schemars = "0.8.21"
cw-utils = "2.0.0"
serde = { version = "1.0.204", default-features = false, features = ["derive"] }
thiserror = "1.0.63"
serde = { version = "1.0.214", default-features = false, features = ["derive"] }
thiserror = "2.0.0"

[workspace.metadata.docs.rs]
all-features = true
Expand Down
Loading
Loading