Your joists should rest on the sill plate, not directly on the foundation. The sill minimizes moisture transfer.