Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
iamchrissmith committed Jul 10, 2019
1 parent 0cb3407 commit 167f8de
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions lib/evmv.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ module.exports = function (state) {
} = node;

// console.log(bin_runtime);
// const contract_look_up = call_id == 'CALLER_ID' ? 'ACCT_ID' : call_id;
// let contract_o = state.config.implementations[state.config.v2n[contract_look_up]];
// if (!contract_o) {
// console.log('impl', state.config.implementations, 'v2n', state.config.v2n, 'lookup', contract_look_up);
// }
// let contract = state.config.contracts[contract_o.name];
let contract = getContractFromCallId(state, call_id);
// TODO - use var to contractname map to get the contractname
// and use it to get the right contract here
Expand Down
6 changes: 0 additions & 6 deletions lib/modules.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ const view = {
pc,
call_id
} = buildDisplayInfo(k);
// const contract_look_up = call_id == 'CALLER_ID' ? 'ACCT_ID' : call_id;
// let contract_o = state.config.implementations[state.config.v2n[contract_look_up]];
// if (!contract_o) {
// console.log('impl', state.config.implementations, 'v2n', state.config.v2n, 'lookup', contract_look_up);
// }
// let contract_o = state.config.implementations[state.config.v2n[call_id]];
let contract = getContractFromCallId(state, call_id);
let src = getCodeStringFromPc(state.config.srcs, contract, parseInt(pc), true);
return src;
Expand Down

0 comments on commit 167f8de

Please sign in to comment.