Skip to content

Conversation

liorbond
Copy link

@liorbond liorbond commented Apr 3, 2023

No description provided.

Wasm(WasmMsg),
#[cfg(feature = "stargate")]
Gov(GovMsg),
LastMsgMark(T),
Copy link

@assafmo assafmo Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make it prettier, i.e. so devs won't need to pass a boilerplate Empty {} as T?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already merged the changes to the main PR, so I'll change this in a separate one

Copy link

@assafmo assafmo Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's alright, just asking out of curiosity. It's a matter of optimizing dev-x at this point.

Wasm(WasmMsg),
#[cfg(feature = "stargate")]
Gov(GovMsg),
LastMsgMark(T),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I think FinilizeTx is a better name here, as it's not just a "last message marker" within the tx, but also within that last message it's the last thing that will happen.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I already merged the changes to the main PR, so I'll change this in a separate one

@Cashmaney Cashmaney merged commit ff3fe66 into secret Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants