Skip to content

Commit

Permalink
fix(simapp): concurrent map writes when calling GetSigners (backport #…
Browse files Browse the repository at this point in the history
…21073) (#21126)

Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
Co-authored-by: Facundo <facundomedica@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
  • Loading branch information
4 people authored Jul 31, 2024
1 parent 1b27e4f commit 3135f41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ func NewSimApp(
signingCtx := interfaceRegistry.SigningContext()
txConfig := authtx.NewTxConfig(appCodec, signingCtx.AddressCodec(), signingCtx.ValidatorAddressCodec(), authtx.DefaultSignModes)

if err := signingCtx.Validate(); err != nil {
panic(err)
}

std.RegisterLegacyAminoCodec(legacyAmino)
std.RegisterInterfaces(interfaceRegistry)

Expand Down

0 comments on commit 3135f41

Please sign in to comment.