Skip to content

Commit 9b3c60d

Browse files
chore: update documentation from cosmos-sdk/docs (#251)
chore: Sync docs from cosmos-sdk/docs Co-authored-by: tac0turtle <[email protected]>
1 parent 7116bbc commit 9b3c60d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/build/architecture/adr-019-protobuf-state-encoding.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ and client developer UX.
150150
### Safe usage of `Any`
151151

152152
By default, the [gogo protobuf implementation of `Any`](https://pkg.go.dev/github.com/cosmos/gogoproto/types)
153-
uses [global type registration]( https://github.com/cosmos/gogoproto/blob/master/proto/properties.go#L540)
153+
uses [global type registration](https://github.com/cosmos/gogoproto/blob/v1.7.0/proto/properties.go#L546)
154154
to decode values packed in `Any` into concrete
155155
go types. This introduces a vulnerability where any malicious module
156156
in the dependency tree could register a type with the global protobuf registry

docs/build/architecture/adr-062-collections-state-layer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ These default implementations also offer safety around proper lexicographic orde
7878

7979
Examples of the collections API can be found here:
8080
- introduction: https://github.com/NibiruChain/collections/tree/main/examples
81-
- 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)
81+
- 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)
8282
- cosmos-sdk's x/staking migrated: https://github.com/testinginprod/cosmos-sdk/pull/22
8383

8484

0 commit comments

Comments
 (0)