Skip to content

Commit 5545d45

Browse files
docs: fix note blocks display failure (backport #20457) (#20459)
Co-authored-by: cocoyeal <150209682+cocoyeal@users.noreply.github.com>
1 parent 2ca9873 commit 5545d45

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/docs/build/building-apps/03-app-upgrade.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ be a matter of minutes and not even require them to be awake at that time.
5252

5353
## Integrating With An App
5454

55-
::tip
55+
:::tip
5656
The following is not required for users using `depinject` / app v2, this is abstracted for them.
57-
::
57+
:::
5858

5959
In addition to basic module wiring, setup the upgrade Keeper for the app and then define a `PreBlocker` that calls the upgrade
6060
keeper's PreBlocker method:

docs/docs/learn/advanced/01-transactions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ It contains the following methods:
3333
* **GetMsgs:** unwraps the transaction and returns a list of contained `sdk.Msg`s - one transaction may have one or multiple messages, which are defined by module developers.
3434
* **ValidateBasic:** lightweight, [_stateless_](../beginner/01-tx-lifecycle.md#types-of-checks) checks used by ABCI messages [`CheckTx`](./00-baseapp.md#checktx) and [`DeliverTx`](./00-baseapp.md#delivertx) to make sure transactions are not invalid. For example, the [`auth`](https://github.com/cosmos/cosmos-sdk/tree/main/x/auth) module's `ValidateBasic` function checks that its transactions are signed by the correct number of signers and that the fees do not exceed what the user's maximum. When [`runTx`](./00-baseapp.md#runtx) is checking a transaction created from the [`auth`](https://github.com/cosmos/cosmos-sdk/tree/main/x/auth/spec) module, it first runs `ValidateBasic` on each message, then runs the `auth` module AnteHandler which calls `ValidateBasic` for the transaction itself.
3535

36-
:::note
37-
This function is different from the deprecated `sdk.Msg` [`ValidateBasic`](../beginner/01-tx-lifecycle.md#ValidateBasic) methods, which was performing basic validity checks on messages only.
38-
:::
36+
:::note
37+
This function is different from the deprecated `sdk.Msg` [`ValidateBasic`](../beginner/01-tx-lifecycle.md#ValidateBasic) methods, which was performing basic validity checks on messages only.
38+
:::
3939

4040
As a developer, you should rarely manipulate `Tx` directly, as `Tx` is really an intermediate type used for transaction generation. Instead, developers should prefer the `TxBuilder` interface, which you can learn more about [below](#transaction-generation).
4141

0 commit comments

Comments
 (0)