{"action":"opened","issue":{"url":"https://api.github.com/repos/jorisbontje/cll-sim/issues/18","labels_url":"https://api.github.com/repos/jorisbontje/cll-sim/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jorisbontje/cll-sim/issues/18/comments","events_url":"https://api.github.com/repos/jorisbontje/cll-sim/issues/18/events","html_url":"https://github.com/jorisbontje/cll-sim/issues/18","id":85522467,"number":18,"title":"Examples cannot work!","user":{"login":"yuzhangiot","id":5793688,"avatar_url":"https://avatars.githubusercontent.com/u/5793688?v=3","gravatar_id":"","url":"https://api.github.com/users/yuzhangiot","html_url":"https://github.com/yuzhangiot","followers_url":"https://api.github.com/users/yuzhangiot/followers","following_url":"https://api.github.com/users/yuzhangiot/following{/other_user}","gists_url":"https://api.github.com/users/yuzhangiot/gists{/gist_id}","starred_url":"https://api.github.com/users/yuzhangiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuzhangiot/subscriptions","organizations_url":"https://api.github.com/users/yuzhangiot/orgs","repos_url":"https://api.github.com/users/yuzhangiot/repos","events_url":"https://api.github.com/users/yuzhangiot/events{/privacy}","received_events_url":"https://api.github.com/users/yuzhangiot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T12:34:17Z","updated_at":"2015-06-05T12:34:17Z","closed_at":null,"body":"For example: when I am trying to  ./run.py examples/escrow.py\r\nthere are some errors:\r\nsim          INFO    RUN Test insufficient fee: <tx sender=carol value=10 fee=1000000000000000 gas=100 gasprice=10000000000000 data=[] datan=0>\r\nsim          WARNING Stopped: Insufficient fee\r\nTraceback (most recent call last):\r\n  File \"./run.py\", line 44, in <module>\r\n    main(args.script)\r\n  File \"./run.py\", line 38, in main\r\n    simulation.run_all()\r\n  File \"./lib/sim.py\", line 218, in run_all\r\n    method()\r\n  File \"examples/escrow.py\", line 87, in test_insufficient_fee\r\n    self.run(tx, contract)\r\n  File \"./lib/sim.py\", line 244, in run\r\n    totalgas = gas.calculate_gas(contract)\r\n  File \"./lib/sim.py\", line 387, in calculate_gas\r\n    code_lines = contract.closure.split('\\n')\r\nAttributeError: 'Escrow' object has no attribute 'closure'\r\n\r\nLooks like I miss some libraries?"}}