Watch the Arpeggios & Leading Tones online guitar lesson by John Goldsby from Upright Bass Handbook
Now let's play through this bassline at a faster tempo. Concentrate on shifting precisely when you need to go into 1st position to grab a note.
When you have all of the arpeggios under your fingers, then walking a bassline is just a matter of "reading" the chord, playing the arpeggio, and then playing a leading tone into the next chord. Arpeggios give your bassline a melodic sound.