there is an idl bug in anchor 0.30.1 everything is fine in 0.31.1.but pyth is not supported this version