Skip to content

Commit

Permalink
docs: use the right link for app.go (#21585)
Browse files Browse the repository at this point in the history
  • Loading branch information
GINMEL authored Sep 7, 2024
1 parent 02b20f9 commit 95383f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/build/abci/01-prepare-proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -42,4 +42,4 @@ prepareOpt := func(app *baseapp.BaseApp) {
}

baseAppOptions = append(baseAppOptions, prepareOpt)
```
```
2 changes: 1 addition & 1 deletion docs/build/abci/02-process-proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

Expand Down

0 comments on commit 95383f5

Please sign in to comment.