You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
simulation.SimulateFromSeed expects a BaseApp. Is it possible for this function to accept an abstraction which both BaseApp and something from runtime/v2 satisfy?
The text was updated successfully, but these errors were encountered:
The dependency to *Baseapp could be dropped by an interface that supports methods for setup and flow control. The weighted/ future ops that are executed agains *Baseapp could be executed agains the following interface:
// AppEntrypoint defines the method for delivering simulation TX to the app. This is implemented by *BaseapptypeAppEntrypointinterface {
SimDeliver(_txEncoder sdk.TxEncoder, tx sdk.Tx) (sdk.GasInfo, *sdk.Result, error)
}
This would be a breaking change though. My work in sims2 branch prepares for this already although I did not modify the Ops for compatibilty.
simulation.SimulateFromSeed expects a
BaseApp
. Is it possible for this function to accept an abstraction which both BaseApp and something from runtime/v2 satisfy?The text was updated successfully, but these errors were encountered: