The bipartisan bill would require the Treasury Department to report on how foreign countries are engaged with crypto mining.