From c4d1e2c9dd8069aaae6fd4114d6270e133fe2a1a Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 21:39:12 +0200 Subject: [PATCH] docs: use the right link for app.go (backport #21585) (#21618) Co-authored-by: Gin --- docs/build/abci/01-prepare-proposal.md | 4 ++-- docs/build/abci/02-process-proposal.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/build/abci/01-prepare-proposal.md b/docs/build/abci/01-prepare-proposal.md index 40da9f1f5f5e..c77c9094d450 100644 --- a/docs/build/abci/01-prepare-proposal.md +++ b/docs/build/abci/01-prepare-proposal.md @@ -33,7 +33,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/baseapp/abci_utils.go ``` This default implementation can be overridden by the application developer in -favor of a custom implementation in [`app.go`](https://docs.cosmos.network/main/build/building-apps/app-go-v2): +favor of a custom implementation in [`app_di.go`](https://docs.cosmos.network/main/build/building-apps/app-go-di): ```go prepareOpt := func(app *baseapp.BaseApp) { @@ -42,4 +42,4 @@ prepareOpt := func(app *baseapp.BaseApp) { } baseAppOptions = append(baseAppOptions, prepareOpt) -``` \ No newline at end of file +``` diff --git a/docs/build/abci/02-process-proposal.md b/docs/build/abci/02-process-proposal.md index 999bf99634e2..834ba3b90c48 100644 --- a/docs/build/abci/02-process-proposal.md +++ b/docs/build/abci/02-process-proposal.md @@ -18,7 +18,7 @@ https://github.com/cosmos/cosmos-sdk/blob/v0.50.0-alpha.0/baseapp/abci_utils.go# ``` Like `PrepareProposal` this implementation is the default and can be modified by -the application developer in [`app.go`](https://docs.cosmos.network/main/build/building-apps/app-go-v2). If you decide to implement +the application developer in [`app_di.go`](https://docs.cosmos.network/main/build/building-apps/app-go-di). If you decide to implement your own `ProcessProposal` handler, you must be sure to ensure that the transactions provided in the proposal DO NOT exceed the maximum block gas and `maxtxbytes` (if set).