Skip to content

Commit

Permalink
fix(codec): provide legacy amino og type
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jan 24, 2025
1 parent 2675857 commit 011786d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions codec/depinject.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ func ProvideInterfaceRegistry(
return interfaceRegistry, interfaceRegistry, nil
}

func ProvideLegacyAmino() registry.AminoRegistrar {
return NewLegacyAmino()
func ProvideLegacyAmino() (registry.AminoRegistrar, *LegacyAmino) {
amino := NewLegacyAmino()
return amino, amino
}

func ProvideProtoCodec(interfaceRegistry types.InterfaceRegistry) *ProtoCodec {
Expand Down

0 comments on commit 011786d

Please sign in to comment.