Skip to content

Commit

Permalink
correctly populate 'updated' and 'msg' fields from proto responses (#451
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jstuczyn committed Feb 1, 2024
1 parent 0274ee9 commit d38e52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosmrs/src/cosmwasm/contract_code_history_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ impl TryFrom<proto::cosmwasm::wasm::v1::ContractCodeHistoryEntry> for ContractCo
},
)?,
code_id: proto.code_id,
updated: None,
msg: vec![],
updated: proto.updated.map(TryFrom::try_from).transpose()?,
msg: proto.msg,
})
}
}

0 comments on commit d38e52e

Please sign in to comment.