applyOraclePatches