You might want to consult with a local tax professional and/or legal counsel since the law could vary from state to state.
However, typically the contract for sale would be considered executory, but legally binding on the estate. As a result, the basis would be the contract (sales) price set forth in the contract for sale.