Skip to content
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(contract): Add sub-message based LS and make LS generic #6

Merged
merged 11 commits into from
Jan 14, 2024

Conversation

nabaruns
Copy link
Collaborator

@nabaruns nabaruns commented Jan 9, 2024

  1. Add sub-message based LS
  2. Make LS generic

src/contract.rs Outdated
id: 1,
result: cosmwasm_std::SubMsgResult::Ok(SubMsgResponse {
events: vec![],
data: Some(Binary::from_base64("Cv0BeyJjb250cmFjdCI6Indvcm1ob2xlMXl3NHd2MnpxZzl4a242N3p2cTNhenllMHQ4aDB4OWtneWczZDUzanltMjRneHQ0OXZkeXM2czhoN2EiLCJkZW5vbSI6bnVsbCwicmVjaXBpZW50Ijoic2VpMWRrZHdkdmtueDBxYXY1Y3A1a3c2OG1rbjNyOTltM3N2a3lqZnZrenR3aDk3ZHYybG0wa3NqNnhyYWsiLCJhbW91bnQiOiIxMDAwIiwicmVsYXllciI6InNlaTF2aGttMnF2Nzg0cnVseDh5bHJ1MHpwdnl2dzNtM2N5OXgzeHlmdiIsImZlZSI6IjAifQ==").unwrap())
Copy link
Member

Choose a reason for hiding this comment

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

Why does this base64 data have wormhole and sei chain addresses?
Also, preferably don't put encoded data directly but put json as a raw Rust string and encode it and use it for easier test readability.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

Copy link
Member

@betterclever betterclever left a comment

Choose a reason for hiding this comment

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

small comment. rest looks good.

@betterclever
Copy link
Member

other than that I'm working towards removing the osmosis-std dependency by providing a new persistence-std release. ETA: 1 hour

@nabaruns nabaruns merged commit 82bf063 into main Jan 14, 2024
2 checks passed
@nabaruns nabaruns deleted the ft-submsg-staking branch January 14, 2024 19:12
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.

2 participants