We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac8b1bc commit f3a9871Copy full SHA for f3a9871
translate.js
@@ -60,6 +60,16 @@ function translateJsonCompilerOutput (output) {
60
var contractInput = output['contracts'][contract];
61
62
var gasEstimates = contractInput['gasEstimates'];
63
+ // FIXME: support undefined or a nicer way in translateGasEstimates
64
+ if (!gasEstimates['creation']) {
65
+ gasEstimates['creation'] = [ null, null ];
66
+ }
67
+ if (!gasEstimates['internal']) {
68
+ gasEstimates['internal'] = null;
69
70
+ if (!gasEstimates['external']) {
71
+ gasEstimates['external'] = null;
72
73
74
var contractOutput = {
75
'abi': JSON.parse(contractInput['interface']),
0 commit comments