In anticipation of eventual declines in oil and gas production , Norway saves state revenue from the petroleum sector in the world 's second largest sovereign wealth fund , valued at over $ 500 billion in 2010 .