Such legislation would make Pennsylvania the first major fossil fuel-producing state to adopt a carbon-pricing program.