@0x/utils: Change SimpleFunctionRegistry NoRollbackHistoryError to NotInRollbackHistoryError.
				
					
				
			This commit is contained in:
		@@ -1,15 +1,16 @@
 | 
				
			|||||||
import { RevertError } from '../../revert_error';
 | 
					import { RevertError } from '../../revert_error';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// tslint:disable:max-classes-per-file
 | 
					// tslint:disable:max-classes-per-file
 | 
				
			||||||
export class NoRollbackHistoryError extends RevertError {
 | 
					export class NotInRollbackHistoryError extends RevertError {
 | 
				
			||||||
    constructor(selector?: string) {
 | 
					    constructor(selector?: string, targetImpl?: string) {
 | 
				
			||||||
        super('NoRollbackHistoryError', 'NoRollbackHistoryError(bytes4 selector)', {
 | 
					        super('NotInRollbackHistoryError', 'NotInRollbackHistoryError(bytes4 selector, address targetImpl)', {
 | 
				
			||||||
            selector,
 | 
					            selector,
 | 
				
			||||||
 | 
					            targetImpl,
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const types = [NoRollbackHistoryError];
 | 
					const types = [NotInRollbackHistoryError];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Register the types we've defined.
 | 
					// Register the types we've defined.
 | 
				
			||||||
for (const type of types) {
 | 
					for (const type of types) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user