{"action":"created","issue":{"url":"https://api.github.com/repos/trufflesuite/ganache/issues/936","repository_url":"https://api.github.com/repos/trufflesuite/ganache","labels_url":"https://api.github.com/repos/trufflesuite/ganache/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/trufflesuite/ganache/issues/936/comments","events_url":"https://api.github.com/repos/trufflesuite/ganache/issues/936/events","html_url":"https://github.com/trufflesuite/ganache/pull/936","id":367133406,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwNjQxMDgw","number":936,"title":"Add a new ABI section in Config, use it to decode transaction input.","user":{"login":"maxme","id":40213,"node_id":"MDQ6VXNlcjQwMjEz","avatar_url":"https://avatars2.githubusercontent.com/u/40213?v=4","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-05T09:36:53Z","updated_at":"2018-10-11T09:05:39Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/trufflesuite/ganache/pulls/936","html_url":"https://github.com/trufflesuite/ganache/pull/936","diff_url":"https://github.com/trufflesuite/ganache/pull/936.diff","patch_url":"https://github.com/trufflesuite/ganache/pull/936.patch"},"body":"This PR adds a new tab in the ConfigScreen with a big textarea where user can write (paste) their ABI. When the ABI is set, the transaction card will show the decoded transaction input data if the decoder was able to decode it. This is handy when debugging a contract.\r\n\r\nSettings screen:\r\n\r\n![screen shot 2018-10-05 at 11 29 32](https://user-images.githubusercontent.com/40213/46527678-3123a480-c892-11e8-9eef-2ee5cdd337d3.png)\r\n\r\nExample of decoded input data from a transaction screen:\r\n\r\n![screen shot 2018-10-05 at 11 29 18](https://user-images.githubusercontent.com/40213/46527670-2e28b400-c892-11e8-9718-87bd35c2e39c.png)\r\n\r\nNotes:\r\n\r\n* I used the `SettingsService` directly in `TxCard` (`const Settings = new SettingsService()`), I'm pretty sure this is not the right way to do this, please point me to the right direction.\r\n* I guess I should not be doing the decoding on the UI, but I'm not sure how to do this in its own thread.\r\n* Hot reloading is only working on css files (nothing happens when I change a js file). If there is anything to do on the dev setup, it would be great to indicate it in the README.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/trufflesuite/ganache/issues/comments/428879177","html_url":"https://github.com/trufflesuite/ganache/pull/936#issuecomment-428879177","issue_url":"https://api.github.com/repos/trufflesuite/ganache/issues/936","id":428879177,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg3OTE3Nw==","user":{"login":"maxme","id":40213,"node_id":"MDQ6VXNlcjQwMjEz","avatar_url":"https://avatars2.githubusercontent.com/u/40213?v=4","gravatar_id":"","url":"https://api.github.com/users/maxme","html_url":"https://github.com/maxme","followers_url":"https://api.github.com/users/maxme/followers","following_url":"https://api.github.com/users/maxme/following{/other_user}","gists_url":"https://api.github.com/users/maxme/gists{/gist_id}","starred_url":"https://api.github.com/users/maxme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxme/subscriptions","organizations_url":"https://api.github.com/users/maxme/orgs","repos_url":"https://api.github.com/users/maxme/repos","events_url":"https://api.github.com/users/maxme/events{/privacy}","received_events_url":"https://api.github.com/users/maxme/received_events","type":"User","site_admin":false},"created_at":"2018-10-11T09:05:39Z","updated_at":"2018-10-11T09:05:39Z","author_association":"NONE","body":"No worries, I had the feeling that adding a new feature without discussing with the team was not a good idea. I needed this to debug a contract and it was quite easy to add it to Ganache. \r\n\r\nI'll wait for v2 if you include this kind of tools (hopefully not just for truffle projects ;)).\r\n\r\nLet me know what the product owner or designers think about this, feel free to close the PR.\r\n\r\n"}}
{"actor":{"display_login":"maxme"}}