Skip to content

Commit 048dc38

Browse files
committed
Rename module subcall -> submessages
1 parent 4c4abd2 commit 048dc38

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ and this project adheres to
5454
- cosmwasm-std: Rename `SubcallResponse` to `SubMsgExecutionResponse`.
5555
- contracts: Rename `ReflectSubCall` to `ReflectSubMsg` and `SubCallResult` to
5656
`SubCallMsg` in the `reflect` contract.
57+
- cosmwasm-std: Rename the `subcall` module to `submessages`.
5758

5859
[#961]: https://github.com/CosmWasm/cosmwasm/pull/961
5960

packages/std/src/results/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mod cosmos_msg;
66
mod empty;
77
mod query;
88
mod response;
9-
mod subcall;
9+
mod submessages;
1010
mod system_result;
1111

1212
pub use attribute::{attr, Attribute};
@@ -17,5 +17,5 @@ pub use cosmos_msg::{DistributionMsg, StakingMsg};
1717
pub use empty::Empty;
1818
pub use query::QueryResponse;
1919
pub use response::Response;
20-
pub use subcall::{Event, Reply, ReplyOn, SubMsg, SubMsgExecutionResponse};
20+
pub use submessages::{Event, Reply, ReplyOn, SubMsg, SubMsgExecutionResponse};
2121
pub use system_result::SystemResult;

packages/std/src/results/response.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ where
145145
mod tests {
146146
use super::super::BankMsg;
147147
use super::*;
148-
use crate::results::subcall::{ReplyOn, UNUSED_MSG_ID};
148+
use crate::results::submessages::{ReplyOn, UNUSED_MSG_ID};
149149
use crate::{coins, from_slice, to_vec};
150150

151151
#[test]

0 commit comments

Comments
 (0)