In the mixing bowl, add the sugar, cooking oil and eggs and beat on low speed with the stand mixer or electric hand mixer for 30 seconds until thoroughly combined. Add the flour baking soda, ground cinnamon, salt and vanilla, and beat on low speed for 1 minute. Use the spatula to mix the carrots and walnuts into the batter.