Skip to content

Commit

Permalink
chore(docs): deploy version v28.8.1 (#4545)
Browse files Browse the repository at this point in the history
Co-authored-by: julienrbrt <[email protected]>
  • Loading branch information
github-actions[bot] and julienrbrt authored Feb 26, 2025
1 parent b9791f6 commit 88bcca5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/versioned_docs/version-v28/02-guide/04-blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ignite scaffold message delete-post id:uint
This command enables the deletion of posts by their ID.

2. **Delete Logic:**

Implement RemovePost in `x/blog/keeper/post.go` to delete posts from the store.

```go title="x/blog/keeper/post.go"
Expand Down
5 changes: 2 additions & 3 deletions docs/versioned_docs/version-v28/02-guide/05-loan.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Notice the `--no-module` flag, in the next step we make sure the `bank` dependen

2. **Create a Module:**


Create a new "loan" module that is based on the standard Cosmos SDK `bank` module.

```bash
Expand Down Expand Up @@ -411,7 +410,7 @@ func (k msgServer) UpdateParams(goCtx context.Context, req *types.MsgUpdateParam
}
```

Add the errors `ErrInvalidSigner`, `ErrWrongLoanState` and `ErrDeadline`:
Add the custom errors `ErrWrongLoanState` and `ErrDeadline`:

```go title="x/loan/types/errors.go"
package types
Expand All @@ -421,7 +420,7 @@ import (
)

var (
ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
ErrInvalidSigner = sdkerrors.Register(ModuleName, 1100, "expected gov account as only signer for proposal message")
ErrWrongLoanState = sdkerrors.Register(ModuleName, 2, "wrong loan state")
ErrDeadline = sdkerrors.Register(ModuleName, 3, "deadline")
)
Expand Down

0 comments on commit 88bcca5

Please sign in to comment.