As a result of this new code and other legislation favoring the mining sector , the country has seen an upswing in gold exploration and production .