  We investigate the quasi-potential problem for the entropy cost functionals
of non-entropic solutions to scalar conservation laws with smooth fluxes. We
prove that the quasi-potentials coincide with the integral of a suitable
Einstein entropy.
