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

Run msgs in the same block #19

Open
iboss-ptk opened this issue Apr 25, 2023 · 0 comments
Open

Run msgs in the same block #19

iboss-ptk opened this issue Apr 25, 2023 · 0 comments

Comments

@iboss-ptk
Copy link
Collaborator

iboss-ptk commented Apr 25, 2023

Why do we need this

Allowing test to be able to test scenario that requires multiple txs in the same block.

What should it look like

Implement Runner trait for Block which all it's functionality are scoped to specific block of a specific app.

pub struct Block(BaseApp);

impl<'a> Runner<'a> for Block { ... }

BaseApp should implement the following function.

pub fn run_block(impl Fn(Block));

Now that we can move BaseApp Runner logic to Block and new BaseApp implementation can call them through run_block.

Implement this function in OsmosisTestApp

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

No branches or pull requests

1 participant