Skip to content
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

docs: fix typo #21815

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/bank/simulation/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func RandomGenesisSendEnabled(r *rand.Rand, bondDenom string) []types.SendEnable
// P(sef) = 18.0% = SendEnabled entry that does not equal the default = P(stc') + P(sfc) = .045 + .135 = .180
//
// P(t) = 81.0% = Bond denom is sendable = P(a'c) + P(st) = .360 + .450 = .810
// P(f) = 19.0% = Bond demon is NOT sendable = P(a'c') + P(sf) = .040 + .150 = .190
// P(f) = 19.0% = Bond denom is NOT sendable = P(a'c') + P(sf) = .040 + .150 = .190

return rv
}
Expand Down
2 changes: 1 addition & 1 deletion x/bank/types/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.R
// Params.SendEnabled slice is empty, this is a noop.
//
// If the main SendEnabled slice already has entries, the Params.SendEnabled
// entries are added. In case of the same demon in both, preference is given to
// entries are added. In case of the same denom in both, preference is given to
// the existing (main GenesisState field) entry.
func (gs *GenesisState) MigrateSendEnabled() {
gs.SendEnabled = gs.GetAllSendEnabled()
Expand Down
2 changes: 1 addition & 1 deletion x/tx/signing/aminojson/aminojson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func TestAminoJsonSignMode(t *testing.T) {
Msg: &bankv1beta1.MsgSend{
FromAddress: "foo",
ToAddress: "bar",
Amount: []*basev1beta1.Coin{{Denom: "demon", Amount: "100"}},
Amount: []*basev1beta1.Coin{{Denom: "denom", Amount: "100"}},
},
AccNum: 1,
AccSeq: 2,
Expand Down
2 changes: 1 addition & 1 deletion x/tx/signing/aminojson/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func FuzzSignModeGetSignBytes(f *testing.F) {
Msg: &bankv1beta1.MsgSend{
FromAddress: "foo",
ToAddress: "bar",
Amount: []*basev1beta1.Coin{{Denom: "demon", Amount: "100"}},
Amount: []*basev1beta1.Coin{{Denom: "denom", Amount: "100"}},
},
AccNum: 1,
AccSeq: 2,
Expand Down
Loading