<commit_before>import debugModule from "debug";
const debug = debugModule("debugger:store:development");

import { composeWithDevTools } from "remote-redux-devtools";

import commonConfigure from "./common";

export default function configureStore (reducer, saga, initialState) {
  const composeEnhancers = composeWithDevTools({
    realtime: true,
    port: 1117
  });

  return commonConfigure(reducer, saga, initialState, composeEnhancers);
}<commit_msg>Make remote-redux-devtools not explode<commit_after>import debugModule from "debug";
const debug = debugModule("debugger:store:development");

import { composeWithDevTools } from "remote-redux-devtools";

import commonConfigure from "./common";

export default function configureStore (reducer, saga, initialState) {
  const composeEnhancers = composeWithDevTools({
    realtime: true,
    actionsBlacklist: [
      "RECEIVE_TRACE", "NODE_EXIT", "NODE_ENTER", "SCOPE", "DECLARE_VARIABLE",
      "ASSIGN", "ADVANCE", "SAVE_STEPS", "BEGIN_STEP", "NEXT"
    ],
    stateSanitizer: (state) => ({
      session: state.session,
      context: state.context,
      evm: state.evm,
      solidity: state.solidity,
      data: state.data,
    }),

    port: 1117
  });

  return commonConfigure(reducer, saga, initialState, composeEnhancers);
}
{'fraction_non_alphanumeric': 0.11919504643962849, 'fraction_numerical': 0.006191950464396285, 'mean_word_length': 4.824324324324325, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4886249', 'n_tokens_mistral': 415, 'n_tokens_neox': 387, 'n_words': 94}