From e2a4e793191e0950b092ad09efb9fdb6121614b1 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Tue, 12 Mar 2024 09:47:22 +0100 Subject: [PATCH] Remove unused comments and logs --- apps/remix-ide/src/blockchain/blockchain.tsx | 1 - apps/remix-ide/src/blockchain/execution-context.js | 1 - 2 files changed, 2 deletions(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.tsx b/apps/remix-ide/src/blockchain/blockchain.tsx index 0ca65897b1..8095777a00 100644 --- a/apps/remix-ide/src/blockchain/blockchain.tsx +++ b/apps/remix-ide/src/blockchain/blockchain.tsx @@ -135,7 +135,6 @@ export class Blockchain extends Plugin { setupEvents() { this.executionContext.event.register('contextChanged', async (context) => { - console.log('context changed', context) // reset environment to last known state of the context await this.loadContext(context) this._triggerEvent('contextChanged', [context]) diff --git a/apps/remix-ide/src/blockchain/execution-context.js b/apps/remix-ide/src/blockchain/execution-context.js index 1466dc8a18..89ad383c7c 100644 --- a/apps/remix-ide/src/blockchain/execution-context.js +++ b/apps/remix-ide/src/blockchain/execution-context.js @@ -207,7 +207,6 @@ export class ExecutionContext { } async getStateDetails() { - // TODO: this won't save the state for transactions executed outside of the UI (for instance from a script execution). const db = await this.web3().remix.getStateDb() const blocksData = await this.web3().remix.getBlocksData() const state = {