I mined down to y = 0 and I saw bedrock there. If I'm not mistaken, Bedrock should be at y = -64 in the 1.17 beta versions. I created this world after joining the beta program and have toggled the Caves and Cliffs option at world creation. I don't know if this is a feature or bug.
What version do you use ?
Beta 1.17.10.20
Or stable 1.17.10