mirror of https://github.com/embarklabs/embark.git
get rid of one more line and get rid of unused cb
Signed-off-by: VoR0220 <catalanor0220@gmail.com>
This commit is contained in:
parent
43c8525d48
commit
a601541bb0
|
@ -11,7 +11,7 @@ class Profiler {
|
|||
this.registerConsoleCommand();
|
||||
}
|
||||
|
||||
profile(contractName, contract, cb) {
|
||||
profile(contractName, contract) {
|
||||
const self = this;
|
||||
let table = new asciiTable(contractName);
|
||||
table.setHeading('Function', 'Payable', 'Mutability', 'Inputs', 'Outputs', 'Gas Estimates');
|
||||
|
@ -21,7 +21,6 @@ class Profiler {
|
|||
return;
|
||||
}
|
||||
contract.abiDefinition.forEach((abiMethod) => {
|
||||
console.log("Abi Method Gastimate: ", gastimates[abiMethod.name]);
|
||||
switch(abiMethod.type) {
|
||||
case "constructor":
|
||||
table.addRow("constructor", abiMethod.payable, abiMethod.stateMutability, self.formatParams(abiMethod.inputs), self.formatParams(abiMethod.outputs), gastimates['constructor']);
|
||||
|
|
Loading…
Reference in New Issue