Apply revision feature changes with XORed flags
@@ -47,10 +47,10 @@ const (
)
var revisionFlags = []module.Revision{
- module.UseChainID | module.UseMPTOnEvents | module.UseCompactAPIInfo | module.ResetStepOnFailure,
+ module.UseChainID | module.UseMPTOnEvents | module.UseCompactAPIInfo | module.ResetStepOnFailure | module.LegacyFallbackCheck,
0,
0,
- module.InputCostingWithJSON,
+ module.InputCostingWithJSON | module.ResetStepOnFailure | module.LegacyFallbackCheck,
0,
0,
0,
@@ -61,7 +61,7 @@ var revisionFlags = []module.Revision{
func init() {
var revSum module.Revision
for idx, rev := range revisionFlags {
- revSum |= rev
+ revSum ^= rev
revisionFlags[idx] = revSum
}
}
