-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: rm GetSignBytes #16062
refactor!: rm GetSignBytes #16062
Changes from all commits
3d7a2e7
8ea6ade
22972a0
9c7ab5b
14d288f
3021c32
d1ba723
ca1a0b4
dfa22b1
4208d52
d18763f
3869992
ff11dbd
56fc906
0b19b09
da9d445
dce0f2d
9a9dcbd
a4d981d
ac10b70
0f9e5a3
beb7863
6cfc30b
d75af77
6fa8d80
2ddc9ea
b70101c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ import ( | |
"github.com/cosmos/gogoproto/proto" | ||
|
||
"github.com/cosmos/cosmos-sdk/baseapp" | ||
"github.com/cosmos/cosmos-sdk/codec" | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
"github.com/cosmos/cosmos-sdk/types/kv" | ||
) | ||
|
@@ -158,7 +157,7 @@ type AppParams map[string]json.RawMessage | |
// object. If it exists, it'll be decoded and returned. Otherwise, the provided | ||
// ParamSimulator is used to generate a random value or default value (eg: in the | ||
// case of operation weights where Rand is not used). | ||
func (sp AppParams) GetOrGenerate(_ codec.JSONCodec, key string, ptr interface{}, r *rand.Rand, ps ParamSimulator) { | ||
func (sp AppParams) GetOrGenerate(key string, ptr interface{}, r *rand.Rand, ps ParamSimulator) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems unnecessary. I mean this parameter isn't needed, but we should avoid API breakage when it's non-essential There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i do agree, but i think this release will have lots of breaking things its fine we add something small like this |
||
if v, ok := sp[key]; ok && v != nil { | ||
err := json.Unmarshal(v, ptr) | ||
if err != nil { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to explain how to add the amino annotations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an issue to write docs on this, i start but didnt complete. Ill pick it up next week along with other doc changes for eden