{"action":"created","issue":{"url":"https://api.github.com/repos/ethereumjs/testrpc/issues/4","labels_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/4/comments","events_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/4/events","html_url":"https://github.com/ethereumjs/testrpc/pull/4","id":126282768,"number":4,"title":"Provider restructuring","user":{"login":"tcoulter","id":92629,"avatar_url":"https://avatars.githubusercontent.com/u/92629?v=3","gravatar_id":"","url":"https://api.github.com/users/tcoulter","html_url":"https://github.com/tcoulter","followers_url":"https://api.github.com/users/tcoulter/followers","following_url":"https://api.github.com/users/tcoulter/following{/other_user}","gists_url":"https://api.github.com/users/tcoulter/gists{/gist_id}","starred_url":"https://api.github.com/users/tcoulter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tcoulter/subscriptions","organizations_url":"https://api.github.com/users/tcoulter/orgs","repos_url":"https://api.github.com/users/tcoulter/repos","events_url":"https://api.github.com/users/tcoulter/events{/privacy}","received_events_url":"https://api.github.com/users/tcoulter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T21:37:55Z","updated_at":"2016-01-14T20:13:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ethereumjs/testrpc/pulls/4","html_url":"https://github.com/ethereumjs/testrpc/pull/4","diff_url":"https://github.com/ethereumjs/testrpc/pull/4.diff","patch_url":"https://github.com/ethereumjs/testrpc/pull/4.patch"},"body":"* Created a new provider API, `TestRPC.provider()`. This provider sends requests through the same interface that the server does -- as opposed to sending requests directly through the manager -- reducing the risk of bugs by having two interfaces.\r\n* Added a configurable logging mechanism. @ryepdx, I'd love to see if this interface will work for you. `TestRPC.provider(logger)` and `TestRPC.server(logger)`.\r\n* Added most of @ryepdx's tests, and wrote them so they went through web3. These tests don't cover all requests TestRPC supports, but it's a good swath. As always, they could definitely be made better.\r\n* `$ npm test` now runs the tests.\r\n\r\n@kumavis and @ryepdx, I'd love it if you gave this a look. Thanks!\r\n"},"comment":{"url":"https://api.github.com/repos/ethereumjs/testrpc/issues/comments/171766851","html_url":"https://github.com/ethereumjs/testrpc/pull/4#issuecomment-171766851","issue_url":"https://api.github.com/repos/ethereumjs/testrpc/issues/4","id":171766851,"user":{"login":"kumavis","id":1474978,"avatar_url":"https://avatars.githubusercontent.com/u/1474978?v=3","gravatar_id":"","url":"https://api.github.com/users/kumavis","html_url":"https://github.com/kumavis","followers_url":"https://api.github.com/users/kumavis/followers","following_url":"https://api.github.com/users/kumavis/following{/other_user}","gists_url":"https://api.github.com/users/kumavis/gists{/gist_id}","starred_url":"https://api.github.com/users/kumavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumavis/subscriptions","organizations_url":"https://api.github.com/users/kumavis/orgs","repos_url":"https://api.github.com/users/kumavis/repos","events_url":"https://api.github.com/users/kumavis/events{/privacy}","received_events_url":"https://api.github.com/users/kumavis/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T20:13:45Z","updated_at":"2016-01-14T20:13:45Z","body":":rocket: "}}