Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesh-testing: submit infura rpc requests to mesh-testing container #7031

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Aug 19, 2019

When complete, a Mustekala client should be able to performantly handle any request we submit to Infura. In preparation for this, we can forward all Infura-bound requests to the mesh-testing container. These requests will still be handled normally by Infura, the mesh-testing container just gets a copy. Using this information, the mesh-testing container can now start load testing against real world distributions of state lookups.

If you can think of a cleaner way to setup the wiring, please suggest it

@kumavis kumavis closed this Aug 19, 2019
@kumavis kumavis force-pushed the mesh-testing-data branch from 9d6a35a to 8215296 Compare August 19, 2019 06:58
@kumavis kumavis reopened this Aug 19, 2019
@metamaskbot
Copy link
Collaborator

Builds ready [8215296]: chrome, firefox, edge, opera

@metamaskbot
Copy link
Collaborator

Builds ready [554c1b4]: chrome, firefox, edge, opera

@frankiebee frankiebee self-requested a review August 19, 2019 09:44
const networkClient = createInfuraClient({ network: type })
const networkClient = createInfuraClient({
network: type,
onRequest: (req) => this.emit('rpc-req', { network: type, req }),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ensure that the networkController is a safe event emitter

@frankiebee
Copy link
Contributor

conflicts with current work on the network controller see issue #6902 for status

@kumavis
Copy link
Member Author

kumavis commented Sep 23, 2019

@frankiebee its been a month bruh

@frankiebee frankiebee merged commit 4d71f3f into develop Sep 23, 2019
@frankiebee frankiebee deleted the mesh-testing-data branch September 23, 2019 09:54
Gudahtt added a commit to Gudahtt/metamask-extension that referenced this pull request Sep 27, 2019
* origin/develop: (56 commits)
  Add advanced setting to enable editing nonce on confirmation screens (MetaMask#7089)
  Add migration on 3box imports and remove feature flag (MetaMask#7209)
  ci - install deps - limit install scripts to whitelist (MetaMask#7208)
  Add a/b test for full screen transaction confirmations (MetaMask#7162)
  Update minimum Firefox verison to 56.0 (MetaMask#7213)
  mesh-testing - submit infura rpc requests to mesh-testing container (MetaMask#7031)
  obs-store/local-store should upgrade webextension error to real error (MetaMask#7207)
  sesify-viz - bump dep for visualization enhancement (MetaMask#7175)
  address book entries by chainId (MetaMask#7205)
  Optimize images only during production build (MetaMask#7194)
  Use common test build during CI (MetaMask#7196)
  Report missing `en` locale messages to Sentry (MetaMask#7197)
  Verify locales on CI (MetaMask#7199)
  updated ganache and addons-linter (MetaMask#7204)
  fixup! add user rejected errors
  add user rejected errors
  update json-rpc-engine
  use eth-json-rpc-errors
  Remove unused locale messages (MetaMask#7190)
  Remove unused components (MetaMask#7191)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants