chore: Update rollback script (#580)

This commit is contained in:
Jacob Evans 2023-01-17 18:54:37 +10:00 committed by GitHub
parent d2be56c30f
commit ee48d4006b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ import * as prompts from 'prompts';
import * as wrappers from '../src/wrappers';
const SUBGRAPH_URL = 'https://api.thegraph.com/subgraphs/name/mzhu25/zeroex-migrations';
const SUBGRAPH_URL = 'https://api.thegraph.com/subgraphs/name/0xeng/zeroex-features-mainnet';
const ownableFeature = new wrappers.OwnableFeatureContract(constants.NULL_ADDRESS, new Web3ProviderEngine());
const simpleFunctionRegistryFeature = new wrappers.SimpleFunctionRegistryFeatureContract(
@ -18,6 +18,7 @@ const simpleFunctionRegistryFeature = new wrappers.SimpleFunctionRegistryFeature
new Web3ProviderEngine(),
);
const DO_NOT_ROLLBACK = [
ownableFeature.getSelector('owner'),
ownableFeature.getSelector('migrate'),
ownableFeature.getSelector('transferOwnership'),
simpleFunctionRegistryFeature.getSelector('rollback'),