diff --git a/docs/core/runtx_middleware.md b/docs/core/runtx_middleware.md index 86c2f7e2f..f5fba2079 100644 --- a/docs/core/runtx_middleware.md +++ b/docs/core/runtx_middleware.md @@ -10,12 +10,12 @@ Recovery middleware is used to add custom panic recovery for Cosmos SDK applicat More context could be found in the corresponding [ADR-022](../architecture/adr-022-custom-panic-handling.md). -Implementation could be found in the [recovery.go](../../baseapp/recovery.go) file. +Implementation could be found in the [recovery.go](https://github.com/cosmos/cosmos-sdk/tree/v0.46.0-alpha2/x/auth/middleware/recovery.go) file. ## Interface ```go -type RecoveryHandler func(recoveryObj interface{}) error +type RecoveryHandtree/v0.46.0-alpha2 ``` `recoveryObj` is a return value for `recover()` function from the `buildin` Golang package. diff --git a/docs/core/store.md b/docs/core/store.md index 506c38f55..12a8fecb0 100644 --- a/docs/core/store.md +++ b/docs/core/store.md @@ -226,7 +226,7 @@ When `Store.Iterator()` is called, it does not simply prefix the `Store.prefix`, `listenkv.Store` is a wrapper `KVStore` which provides state listening capabilities over the underlying `KVStore`. It is applied automatically by the Cosmos SDK on any `KVStore` whose `StoreKey` is specified during state streaming configuration. -Additional information about state streaming configuration can be found in the [store/streaming/README.md](../../store/streaming/README.md). +Additional information about state streaming configuration can be found in the [store/streaming/README.md](https://github.com/cosmos/cosmos-sdk/tree/v0.46.0-alpha2/store/streaming). +++ https://github.com/cosmos/cosmos-sdk/blob/v0.44.1/store/listenkv/store.go#L11-L18