It is good to know that by Lenin's stance USSR was not in fact a socialist state. Their aim was socialism and eventually communism (in modern parlance people think of socialism and communism, usually communism is just though of a subcategory of socialist views. In fact Marx himself used communism and socialism interchangeably as an economic mode), but at Lenin's time they were not even an industrial country. In fact Russia was in the verge of collapse after the WW1, civil war, economic collapse and the Allied invasion of the formed Soviet Union. Lenin thus had to be quite practical, and first order priorities were holding the country together and stabilizing the political situation to prevent further invasions by the hostile western countries and secondly to industrialize the economy in order to have resources to transform the mode of production. He openly admitted that capitalism would be preferrable to the current state of Russia. Lenin actually openly and often denied that Russia was socialist, but rather that it was their goal:
No one, I think, in studying the question of the economic system of Russia, had denied its transitional character. Nor, I think, has any Communist denied that the term
Socialist Soviet Republic implies the determination of Soviet power to achieve the
transition to socialism, and not that the new economic system is recognized as a
In fact USSR was first announced to have "reached socialism" under Stalin, who had - yes - greatly industrialized the Soviet Union, but not fundamentally changed the mode of production to a socialist one. Since Stalin was, before replacing Lenin a serious scholar who had analyzed much of Lenin's and Marx's writings well aware of socialist theory, it can be quite confidently be said that this announcement was made in order to advance Stalin's personal cult inside the Bolshevik party and as a propaganda message to promote Stalin's Russia.
So now, officially, USSR was in fact a socialist state whose goal by the ML-definitions of the words, was communism.