To solve that puzzle you need to be able to raise ALL the walls. A treasure chest then materializes to reward your hard effort.

I'll give you a clue on how to solve said puzzle:
The last lever you pull is also the first one.