Skip to content

Commit

Permalink
chore: update documentation from cosmos-sdk/docs (#251)
Browse files Browse the repository at this point in the history
chore: Sync docs from cosmos-sdk/docs

Co-authored-by: tac0turtle <24299864+tac0turtle@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and tac0turtle authored Jan 8, 2025
1 parent 7116bbc commit 9b3c60d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/build/architecture/adr-019-protobuf-state-encoding.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ and client developer UX.
### Safe usage of `Any`

By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/cosmos/gogoproto/types)
uses [global type registration]( https://github.com/cosmos/gogoproto/blob/master/proto/properties.go#L540)
uses [global type registration](https://github.com/cosmos/gogoproto/blob/v1.7.0/proto/properties.go#L546)
to decode values packed in `Any` into concrete
go types. This introduces a vulnerability where any malicious module
in the dependency tree could register a type with the global protobuf registry
Expand Down
2 changes: 1 addition & 1 deletion docs/build/architecture/adr-062-collections-state-layer.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ These default implementations also offer safety around proper lexicographic orde

Examples of the collections API can be found here:
- introduction: https://github.com/NibiruChain/collections/tree/main/examples
- usage in nibiru: [x/oracle](https://github.com/NibiruChain/nibiru/blob/master/x/oracle/keeper/keeper.go#L32), [x/epoch](https://github.com/NibiruChain/nibiru/blob/4566d9f6d22807abbd78c01454664d64f6e108e0/x/epochs/keeper/epoch.go)
- usage in nibiru: [x/oracle](https://github.com/NibiruChain/nibiru/blob/v2.0.0-rc.14/x/oracle/keeper/keeper.go#L37~L50), [x/epoch](https://github.com/NibiruChain/nibiru/blob/4566d9f6d22807abbd78c01454664d64f6e108e0/x/epochs/keeper/epoch.go)
- cosmos-sdk's x/staking migrated: https://github.com/testinginprod/cosmos-sdk/pull/22


Expand Down

0 comments on commit 9b3c60d

Please sign in to comment.