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
Recent PRs (including #20412) have introduced server/v2 infrastructure and an example app, simapp/v2, using this code. In short server/v2 is a decomposition of baseapp and friends into modular, composable, parts. What is merged into main at the time of writing this issue should be considered a functional PoC. Completion of the issues enumerated here will harden the code quality of server/v2 and elevate it from PoC to production ready.
Testing
For comprehensive testing, we should adapt all integration, e2e, and sims tests currently covering runtime/v1 for runtime/v2. Perhaps the clever use of a build flag and interfaces in the right places could make this easier.
simulation.SimulateFromSeed expects a BaseApp. Is it possible for this function to accept an abstraction which both BaseApp and something from runtime/v2 satisfy?
sdk.Context is not provided by runtime/v2, but required for certain tx handlers using gogo interface types Environment in context #19640
Feature Parity
simapp/v2 is started using an ad-hoc start command handler, neither an api nor grpc server is started. this should be refactored to use ServerModule, i.e. comet node as a module, api server as a module, etc.
simapp/v2 still uses server/v1 CLI helpers for commands and config generation/parsing. These should be migrated to server/v2. server/v2 start commands and helpers #19720 has more detail.
Recent PRs (including #20412) have introduced server/v2 infrastructure and an example app, simapp/v2, using this code. In short server/v2 is a decomposition of baseapp and friends into modular, composable, parts. What is merged into
main
at the time of writing this issue should be considered a functional PoC. Completion of the issues enumerated here will harden the code quality of server/v2 and elevate it from PoC to production ready.Testing
For comprehensive testing, we should adapt all integration, e2e, and sims tests currently covering runtime/v1 for runtime/v2. Perhaps the clever use of a build flag and interfaces in the right places could make this easier.
BaseApp
. Is it possible for this function to accept an abstraction which both BaseApp and something from runtime/v2 satisfy?cosmos-sdk/server/v2/cometbft/abci_test.go
Line 3 in 5bf88be
Breaking
panic: proto:not found
when using go.mod replaces instead of go.work #20492cosmos-sdk/scripts/simapp-v2-init.sh
Line 25 in 5bf88be
server_modular
) and possibly follow up PRs around TxValidators must be rebased onto mainsdk.Context
is not provided by runtime/v2, but required for certain tx handlers using gogo interface types Environment in context #19640Feature Parity
ServerModule
, i.e. comet node as a module, api server as a module, etc.cosmos-sdk/server/v2/server.go
Line 16 in 5bf88be
"app", "store", "p2p", "custom"
are not yet implemented #20494Code quality
cosmos-sdk/server/v2/stf/core_router_service.go
Lines 98 to 105 in 5bf88be
STF Todos
The text was updated successfully, but these errors were encountered: