OAS and effective duration binomial tree

While calculating the effective duration for a bond with effective duration, we find OAS and then add that OAS to the modified binomial tree( adjusted by +/- bps). Would we be adding OAS had it not been a credit risky bond?

You would, but the OAS for a risk-free bond should be zero.

got it! Thank you

My pleasure.