Skip to content

Commit

Permalink
Merge 2b81c8b into 194d81e
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoss17 authored Dec 7, 2023
2 parents 194d81e + 2b81c8b commit 40e784e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- Add the `codespace` field to the Tx sync and async broadcast `Response`
([\#1382](https://github.com/informalsystems/tendermint-rs/issues/1382))
3 changes: 3 additions & 0 deletions rpc/src/endpoint/broadcast/tx_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ impl<S: Dialect> crate::SimpleRequest<S> for Request {
/// Response from either an async or sync transaction broadcast request.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Response {
/// Code space
pub codespace: String,

/// Code
pub code: Code,

Expand Down
3 changes: 3 additions & 0 deletions rpc/src/endpoint/broadcast/tx_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ impl<S: Dialect> crate::SimpleRequest<S> for Request {
/// Response from either an async or sync transaction broadcast request.
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Response {
/// Code space
pub codespace: String,

/// Code
pub code: Code,

Expand Down

0 comments on commit 40e784e

Please sign in to comment.