-
Notifications
You must be signed in to change notification settings - Fork 373
feat: Add Tx hash to TransactionInfo and make it non exhaustive #2480
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: Add Tx hash to TransactionInfo and make it non exhaustive #2480
Conversation
I's also add the new transaction hash field here, a feature that was requested multiple times |
7903df5
to
46187ac
Compare
7008f89
to
da35964
Compare
I've added the transaction checksum to the struct. Unless we make it optional, CosmWasm v3.0 won't be compatible with pre v3.0 blockchains. |
What if we only add it if |
3d1a741
to
94a30fb
Compare
94a30fb
to
4ef6621
Compare
7801b00
to
2fbdb6a
Compare
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
packages/std/src/utils.rs
Outdated
/// to be built in libraries like cw-multi-test. | ||
macro_rules! impl_hidden_constructor { | ||
( $response:ty, $( $field: ident : $t: ty),* ) => { | ||
impl $response { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can generalize this variable name. $my_struct
?
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
24b6b44
to
6fa5775
Compare
a2fbc31
to
6a4d45b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐎🐎🐎
No description provided.