The obligations that God put on Adam were to work in the garden and to obey God’s command to not eat from the forbidden tree. The consequences for breaking the obligations? Death.