From 1f7529654d607514f98a8e2d168f75dad2a9bfea Mon Sep 17 00:00:00 2001 From: Gin Date: Sat, 7 Sep 2024 11:57:36 -0500 Subject: [PATCH 1/4] use the right link for app.go --- docs/build/abci/01-prepare-proposal.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/build/abci/01-prepare-proposal.md b/docs/build/abci/01-prepare-proposal.md index 40da9f1f5f5e..1fbbfe8184bb 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.go`](https://docs.cosmos.network/main/build/building-apps/app-go): ```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 +``` From bcdad3e601625615c12ad040318eb3d852ec30b4 Mon Sep 17 00:00:00 2001 From: Gin Date: Sat, 7 Sep 2024 11:59:58 -0500 Subject: [PATCH 2/4] Update link in 02 --- docs/build/abci/02-process-proposal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/abci/02-process-proposal.md b/docs/build/abci/02-process-proposal.md index 999bf99634e2..a4191899de4f 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.go`](https://docs.cosmos.network/main/build/building-apps/app-go). 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). From 56f71e53ef40001a399ef6661639a9d398f5a3d1 Mon Sep 17 00:00:00 2001 From: Gin Date: Sat, 7 Sep 2024 15:02:25 -0500 Subject: [PATCH 3/4] fix --- docs/build/abci/01-prepare-proposal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/abci/01-prepare-proposal.md b/docs/build/abci/01-prepare-proposal.md index 1fbbfe8184bb..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): +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) { From d3c8a8c4f55cae383df2e13740b31659b2867dae Mon Sep 17 00:00:00 2001 From: Gin Date: Sat, 7 Sep 2024 15:07:36 -0500 Subject: [PATCH 4/4] fix 02-process-proposal. --- docs/build/abci/02-process-proposal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/build/abci/02-process-proposal.md b/docs/build/abci/02-process-proposal.md index a4191899de4f..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). 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).