Updated gas validation.