File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
packages/cli/src/commands Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import fs from 'node:fs';
22import os from 'node:os' ;
33import path from 'node:path' ;
44import { filesystem , print , prompt , system } from 'gluegun' ;
5- import immutable from 'immutable' ;
65import { Args , Command , Flags } from '@oclif/core' ;
76import { Network } from '@pinax/graph-networks-registry' ;
87import { appendApiVersionForGraph } from '../command-helpers/compiler.js' ;
@@ -229,11 +228,7 @@ export default class InitCommand extends Command {
229228 } else {
230229 try {
231230 abi = sourcifyContractInfo
232- ? new EthereumABI (
233- DEFAULT_CONTRACT_NAME ,
234- undefined ,
235- immutable . fromJS ( sourcifyContractInfo . abi ) ,
236- )
231+ ? sourcifyContractInfo . abi
237232 : await contractService . getABI ( ABI , network , fromContract ! ) ;
238233 } catch ( e ) {
239234 this . exit ( 1 ) ;
@@ -635,7 +630,7 @@ async function processInitForm(
635630 initDebugger . extend ( 'processInitForm' ) (
636631 "infoFromSourcify: '%s'/'%s'" ,
637632 initStartBlock ,
638- initContractName
633+ initContractName ,
639634 ) ;
640635 }
641636
You can’t perform that action at this time.
0 commit comments