diff --git a/src/app/editor/contextView.js b/src/app/editor/contextView.js index 4fb8511ae4..56beacaab5 100644 --- a/src/app/editor/contextView.js +++ b/src/app/editor/contextView.js @@ -172,16 +172,17 @@ class ContextView { ` function showGasEstimation () { - var result = self._api.contextualListener.gasEstimation(node) - var executionCost = 'Execution cost: ' + result.executionCost + ' gas' - var codeDepositCost = 'Code deposit cost: ' + result.codeDepositCost + ' gas' - var estimatedGas = result.codeDepositCost ? `${codeDepositCost}, ${executionCost}` : `${executionCost}` - return yo`