Skip to content

Commit

Permalink
feat: Emit new reply dispatch
Browse files Browse the repository at this point in the history
Since this change would be breaking it's hidden behind `sv_replies`
feature flag.
  • Loading branch information
jawoznia committed Sep 10, 2024
1 parent 3105f0e commit d72b2b5
Show file tree
Hide file tree
Showing 35 changed files with 567 additions and 190 deletions.
102 changes: 41 additions & 61 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ version = "0.5.0"
edition = "2021"

[workspace.dependencies]
sylvia = { path = "../sylvia", features = ["sv_replies"] }
cw-storage-plus = "2.0.0"
cw-utils = "2.0.0"
cw2 = "2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions examples/contracts/custom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mt = ["library", "sylvia/mt"]
[dependencies]
cw1 = { path = "../../interfaces/cw1" }
cw-storage-plus = { workspace = true }
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }

[dev-dependencies]
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
4 changes: 2 additions & 2 deletions examples/contracts/cw1-subkeys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ cw1 = { path = "../../interfaces/cw1" }
whitelist = { path = "../../interfaces/whitelist" }
cw1-whitelist = { path = "../cw1-whitelist", features = ["library"] }
cw2 = { workspace = true }
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
cw1-whitelist = { path = "../cw1-whitelist", features = ["mt"] }
cw1 = { path = "../../interfaces/cw1", features = ["mt"] }
4 changes: 2 additions & 2 deletions examples/contracts/cw1-whitelist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ library = []
mt = ["sylvia/mt", "library"]

[dependencies]
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }
cw1 = { path = "../../interfaces/cw1" }
whitelist = { path = "../../interfaces/whitelist" }
cw-storage-plus = { workspace = true }
Expand All @@ -25,4 +25,4 @@ cw2 = { workspace = true }

[dev-dependencies]
assert_matches = { workspace = true }
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
4 changes: 2 additions & 2 deletions examples/contracts/cw20-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ cw20-allowances = { path = "../../interfaces/cw20-allowances" }
cw20-marketing = { path = "../../interfaces/cw20-marketing" }
cw20-minting = { path = "../../interfaces/cw20-minting" }
semver = { workspace = true }
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }
thiserror = { workspace = true }

[dev-dependencies]
assert_matches = { workspace = true }
cw-utils = { workspace = true }
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
cw20-allowances = { path = "../../interfaces/cw20-allowances", features = [
"mt",
] }
Expand Down
4 changes: 2 additions & 2 deletions examples/contracts/entry-points-overriding/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mt = ["library", "sylvia/mt"]
[dependencies]
cw-storage-plus = { workspace = true }
cw-utils = { workspace = true }
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }

[dev-dependencies]
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
4 changes: 2 additions & 2 deletions examples/contracts/generic_contract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ mt = ["library", "sylvia/mt"]
[dependencies]
cw-storage-plus = { workspace = true }
cw-utils = { workspace = true }
sylvia = { path = "../../../sylvia" }
sylvia = { workspace = true }
cw1 = { path = "../../interfaces/cw1" }
generic = { path = "../../interfaces/generic" }
custom-and-generic = { path = "../../interfaces/custom-and-generic" }

[dev-dependencies]
sylvia = { path = "../../../sylvia", features = ["mt"] }
sylvia = { workspace = true, features = ["mt"] }
Loading

0 comments on commit d72b2b5

Please sign in to comment.