func (ss *FridayFilePVSignState) MarshalJSON() ([]byte, error) {
	tmpMap := make(map[int64]SignState)
	ss.HeightSignStateMap.Range(func(k, v interface{}) bool {
		tmpMap[k.(int64)] = v.(SignState)
		return true
	})

	//using builtin json marshaler, because Amino does not support the map type.
	encoded, err := json.Marshal(marshalSpecializedState{
		HeightSignStateMap: tmpMap,
		ImmutableHeight:    ss.ImmutableHeight,
	})
	return encoded, err
}
//MarshalJSON override purpose is for using builtin json marshaler
MarshalJSON override purpose is for using builtin json marshaler
// MarshalJSON override purpose is for using builtin json marshaler
func (ss *FridayFilePVSignState) MarshalJSON() ([]byte, error) {
	tmpMap := make(map[int64]SignState)
	ss.HeightSignStateMap.Range(func(k, v interface{}) bool {
		tmpMap[k.(int64)] = v.(SignState)
		return true
	})
	encoded, err := json.Marshal(marshalSpecializedState{
		HeightSignStateMap: tmpMap,
		ImmutableHeight:    ss.ImmutableHeight,
	})
	return encoded, err
}
func ( ss * FridayFilePVSignState ) MarshalJSON ( ) ( [ ] byte , error ) { tmpMap := make ( map [ int64 ] SignState ) ss . HeightSignStateMap . Range ( func ( k , v interface { } ) bool { tmpMap [ k . ( int64 ) ] = v . ( SignState ) return true } ) encoded , err := json . Marshal ( marshalSpecializedState { HeightSignStateMap : tmpMap , ImmutableHeight : ss . ImmutableHeight , } ) return encoded , err }
MarshalJSON override purpose is for using builtin json marshaler
MarshalJSON override purpose is for using builtin json marshaler
//using builtin json marshaler, because Amino does not support the map type.