We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Allowing test to be able to test scenario that requires multiple txs in the same block.
Implement Runner trait for Block which all it's functionality are scoped to specific block of a specific app.
Runner
Block
pub struct Block(BaseApp); impl<'a> Runner<'a> for Block { ... }
BaseApp should implement the following function.
BaseApp
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.
run_block
Implement this function in OsmosisTestApp
OsmosisTestApp
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 forBlock
which all it's functionality are scoped to specific block of a specific app.BaseApp
should implement the following function.Now that we can move
BaseApp
Runner
logic toBlock
and newBaseApp
implementation can call them throughrun_block
.Implement this function in
OsmosisTestApp
The text was updated successfully, but these errors were encountered: