{"action":"created","comment":{"url":"https://api.github.com/repos/EOSIO/eos/pulls/comments/180080327","pull_request_review_id":110437151,"id":180080327,"diff_hunk":"@@ -0,0 +1,211 @@\n+#pragma GCC diagnostic push\n+#pragma GCC diagnostic ignored \"-Wsign-compare\"\n+#include <boost/test/unit_test.hpp>\n+#pragma GCC diagnostic pop\n+#include <boost/algorithm/string/predicate.hpp>\n+#include <eosio/testing/tester.hpp>\n+#include <eosio/chain/contracts/abi_serializer.hpp>\n+\n+#include <tic_tac_toe/tic_tac_toe.wast.hpp>\n+#include <tic_tac_toe/tic_tac_toe.abi.hpp>\n+#include <eosio.system/eosio.system.wast.hpp>\n+#include <eosio.system/eosio.system.abi.hpp>\n+\n+#include <proxy/proxy.wast.hpp>\n+#include <proxy/proxy.abi.hpp>\n+\n+#include <Runtime/Runtime.h>\n+\n+#include <fc/variant_object.hpp>\n+#include <fc/io/json.hpp>\n+\n+#ifdef NON_VALIDATING_TEST\n+#define TESTER tester\n+#else\n+#define TESTER validating_tester\n+#endif\n+\n+using namespace eosio;\n+using namespace eosio::chain;\n+using namespace eosio::chain::contracts;\n+using namespace eosio::testing;\n+using namespace fc;\n+\n+struct movement {\n+   uint32_t    row;\n+   uint32_t    column;\n+\n+   template<typename DataStream>\n+   friend DataStream& operator << ( DataStream& ds, const movement& t ){ \\\n+      return ds << t.row << t.column;\n+   }\n+   template<typename DataStream>\n+   friend DataStream& operator >> ( DataStream& ds, movement& t ){\n+      return ds >> t.row >> t.column;\n+   }\n+};\n+\n+BOOST_AUTO_TEST_SUITE(tic_tac_toe_tests)\n+\n+BOOST_AUTO_TEST_CASE( tic_tac_toe_game ) try {\n+   TESTER chain;\n+   abi_serializer abi_ser = json::from_string(tic_tac_toe_abi).as<abi_def>();\n+\n+   chain.set_code(config::system_account_name, eosio_system_wast);\n+   chain.set_abi(config::system_account_name, eosio_system_abi);","path":"tests/wasm_tests/tic_tac_toe_tests.cpp","position":55,"original_position":55,"commit_id":"b81ac07c22d28bb9b20222ee13690cf374fbbc90","original_commit_id":"b81ac07c22d28bb9b20222ee13690cf374fbbc90","user":{"login":"heifner","id":3933649,"avatar_url":"https://avatars3.githubusercontent.com/u/3933649?v=4","gravatar_id":"","url":"https://api.github.com/users/heifner","html_url":"https://github.com/heifner","followers_url":"https://api.github.com/users/heifner/followers","following_url":"https://api.github.com/users/heifner/following{/other_user}","gists_url":"https://api.github.com/users/heifner/gists{/gist_id}","starred_url":"https://api.github.com/users/heifner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heifner/subscriptions","organizations_url":"https://api.github.com/users/heifner/orgs","repos_url":"https://api.github.com/users/heifner/repos","events_url":"https://api.github.com/users/heifner/events{/privacy}","received_events_url":"https://api.github.com/users/heifner/received_events","type":"User","site_admin":false},"body":"Do you need to set the system account for this to work?","created_at":"2018-04-09T12:41:25Z","updated_at":"2018-04-09T12:44:49Z","html_url":"https://github.com/EOSIO/eos/pull/2216#discussion_r180080327","pull_request_url":"https://api.github.com/repos/EOSIO/eos/pulls/2216","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/comments/180080327"},"html":{"href":"https://github.com/EOSIO/eos/pull/2216#discussion_r180080327"},"pull_request":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/2216"}}},"pull_request":{"url":"https://api.github.com/repos/EOSIO/eos/pulls/2216","id":180130365,"html_url":"https://github.com/EOSIO/eos/pull/2216","diff_url":"https://github.com/EOSIO/eos/pull/2216.diff","patch_url":"https://github.com/EOSIO/eos/pull/2216.patch","issue_url":"https://api.github.com/repos/EOSIO/eos/issues/2216","number":2216,"state":"open","locked":false,"title":"add tic tac toe","user":{"login":"brianjohnson5972","id":10270043,"avatar_url":"https://avatars1.githubusercontent.com/u/10270043?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjohnson5972","html_url":"https://github.com/brianjohnson5972","followers_url":"https://api.github.com/users/brianjohnson5972/followers","following_url":"https://api.github.com/users/brianjohnson5972/following{/other_user}","gists_url":"https://api.github.com/users/brianjohnson5972/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjohnson5972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjohnson5972/subscriptions","organizations_url":"https://api.github.com/users/brianjohnson5972/orgs","repos_url":"https://api.github.com/users/brianjohnson5972/repos","events_url":"https://api.github.com/users/brianjohnson5972/events{/privacy}","received_events_url":"https://api.github.com/users/brianjohnson5972/received_events","type":"User","site_admin":false},"body":"#2214 \r\nAdded tic tac toe into the build, brought it up to date with contract API and added unit test to ensure it stays up to date with contract API.","created_at":"2018-04-07T23:32:59Z","updated_at":"2018-04-09T12:44:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c90d54dcc994691edfcc01f22589e39b40f28ea8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/EOSIO/eos/milestones/9","html_url":"https://github.com/EOSIO/eos/milestone/9","labels_url":"https://api.github.com/repos/EOSIO/eos/milestones/9/labels","id":3210403,"number":9,"title":"RC2","description":"May the source be with you!\r\n\r\nThe source awakens!\r\n\r\nCan you tell we are Star Wars fans?!?!?!","creator":{"login":"coreylederer","id":32078160,"avatar_url":"https://avatars0.githubusercontent.com/u/32078160?v=4","gravatar_id":"","url":"https://api.github.com/users/coreylederer","html_url":"https://github.com/coreylederer","followers_url":"https://api.github.com/users/coreylederer/followers","following_url":"https://api.github.com/users/coreylederer/following{/other_user}","gists_url":"https://api.github.com/users/coreylederer/gists{/gist_id}","starred_url":"https://api.github.com/users/coreylederer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreylederer/subscriptions","organizations_url":"https://api.github.com/users/coreylederer/orgs","repos_url":"https://api.github.com/users/coreylederer/repos","events_url":"https://api.github.com/users/coreylederer/events{/privacy}","received_events_url":"https://api.github.com/users/coreylederer/received_events","type":"User","site_admin":false},"open_issues":79,"closed_issues":14,"state":"open","created_at":"2018-03-22T20:08:42Z","updated_at":"2018-04-09T04:23:00Z","due_on":"2018-05-04T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/EOSIO/eos/pulls/2216/commits","review_comments_url":"https://api.github.com/repos/EOSIO/eos/pulls/2216/comments","review_comment_url":"https://api.github.com/repos/EOSIO/eos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EOSIO/eos/issues/2216/comments","statuses_url":"https://api.github.com/repos/EOSIO/eos/statuses/b81ac07c22d28bb9b20222ee13690cf374fbbc90","head":{"label":"brianjohnson5972:2214-add-tic-tac-toe","ref":"2214-add-tic-tac-toe","sha":"b81ac07c22d28bb9b20222ee13690cf374fbbc90","user":{"login":"brianjohnson5972","id":10270043,"avatar_url":"https://avatars1.githubusercontent.com/u/10270043?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjohnson5972","html_url":"https://github.com/brianjohnson5972","followers_url":"https://api.github.com/users/brianjohnson5972/followers","following_url":"https://api.github.com/users/brianjohnson5972/following{/other_user}","gists_url":"https://api.github.com/users/brianjohnson5972/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjohnson5972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjohnson5972/subscriptions","organizations_url":"https://api.github.com/users/brianjohnson5972/orgs","repos_url":"https://api.github.com/users/brianjohnson5972/repos","events_url":"https://api.github.com/users/brianjohnson5972/events{/privacy}","received_events_url":"https://api.github.com/users/brianjohnson5972/received_events","type":"User","site_admin":false},"repo":{"id":95491721,"name":"eos","full_name":"brianjohnson5972/eos","owner":{"login":"brianjohnson5972","id":10270043,"avatar_url":"https://avatars1.githubusercontent.com/u/10270043?v=4","gravatar_id":"","url":"https://api.github.com/users/brianjohnson5972","html_url":"https://github.com/brianjohnson5972","followers_url":"https://api.github.com/users/brianjohnson5972/followers","following_url":"https://api.github.com/users/brianjohnson5972/following{/other_user}","gists_url":"https://api.github.com/users/brianjohnson5972/gists{/gist_id}","starred_url":"https://api.github.com/users/brianjohnson5972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianjohnson5972/subscriptions","organizations_url":"https://api.github.com/users/brianjohnson5972/orgs","repos_url":"https://api.github.com/users/brianjohnson5972/repos","events_url":"https://api.github.com/users/brianjohnson5972/events{/privacy}","received_events_url":"https://api.github.com/users/brianjohnson5972/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brianjohnson5972/eos","description":null,"fork":true,"url":"https://api.github.com/repos/brianjohnson5972/eos","forks_url":"https://api.github.com/repos/brianjohnson5972/eos/forks","keys_url":"https://api.github.com/repos/brianjohnson5972/eos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianjohnson5972/eos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianjohnson5972/eos/teams","hooks_url":"https://api.github.com/repos/brianjohnson5972/eos/hooks","issue_events_url":"https://api.github.com/repos/brianjohnson5972/eos/issues/events{/number}","events_url":"https://api.github.com/repos/brianjohnson5972/eos/events","assignees_url":"https://api.github.com/repos/brianjohnson5972/eos/assignees{/user}","branches_url":"https://api.github.com/repos/brianjohnson5972/eos/branches{/branch}","tags_url":"https://api.github.com/repos/brianjohnson5972/eos/tags","blobs_url":"https://api.github.com/repos/brianjohnson5972/eos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianjohnson5972/eos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianjohnson5972/eos/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianjohnson5972/eos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianjohnson5972/eos/statuses/{sha}","languages_url":"https://api.github.com/repos/brianjohnson5972/eos/languages","stargazers_url":"https://api.github.com/repos/brianjohnson5972/eos/stargazers","contributors_url":"https://api.github.com/repos/brianjohnson5972/eos/contributors","subscribers_url":"https://api.github.com/repos/brianjohnson5972/eos/subscribers","subscription_url":"https://api.github.com/repos/brianjohnson5972/eos/subscription","commits_url":"https://api.github.com/repos/brianjohnson5972/eos/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianjohnson5972/eos/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianjohnson5972/eos/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianjohnson5972/eos/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianjohnson5972/eos/contents/{+path}","compare_url":"https://api.github.com/repos/brianjohnson5972/eos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianjohnson5972/eos/merges","archive_url":"https://api.github.com/repos/brianjohnson5972/eos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianjohnson5972/eos/downloads","issues_url":"https://api.github.com/repos/brianjohnson5972/eos/issues{/number}","pulls_url":"https://api.github.com/repos/brianjohnson5972/eos/pulls{/number}","milestones_url":"https://api.github.com/repos/brianjohnson5972/eos/milestones{/number}","notifications_url":"https://api.github.com/repos/brianjohnson5972/eos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianjohnson5972/eos/labels{/name}","releases_url":"https://api.github.com/repos/brianjohnson5972/eos/releases{/id}","deployments_url":"https://api.github.com/repos/brianjohnson5972/eos/deployments","created_at":"2017-06-26T21:38:58Z","updated_at":"2018-03-28T16:17:28Z","pushed_at":"2018-04-07T23:30:22Z","git_url":"git://github.com/brianjohnson5972/eos.git","ssh_url":"git@github.com:brianjohnson5972/eos.git","clone_url":"https://github.com/brianjohnson5972/eos.git","svn_url":"https://github.com/brianjohnson5972/eos","homepage":null,"size":41123,"stargazers_count":0,"watchers_count":0,"language":"WebAssembly","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EOSIO:master","ref":"master","sha":"124c62d0e1b3974bcd551b885518ff05301b39c9","user":{"login":"EOSIO","id":26932212,"avatar_url":"https://avatars2.githubusercontent.com/u/26932212?v=4","gravatar_id":"","url":"https://api.github.com/users/EOSIO","html_url":"https://github.com/EOSIO","followers_url":"https://api.github.com/users/EOSIO/followers","following_url":"https://api.github.com/users/EOSIO/following{/other_user}","gists_url":"https://api.github.com/users/EOSIO/gists{/gist_id}","starred_url":"https://api.github.com/users/EOSIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EOSIO/subscriptions","organizations_url":"https://api.github.com/users/EOSIO/orgs","repos_url":"https://api.github.com/users/EOSIO/repos","events_url":"https://api.github.com/users/EOSIO/events{/privacy}","received_events_url":"https://api.github.com/users/EOSIO/received_events","type":"Organization","site_admin":false},"repo":{"id":87335980,"name":"eos","full_name":"EOSIO/eos","owner":{"login":"EOSIO","id":26932212,"avatar_url":"https://avatars2.githubusercontent.com/u/26932212?v=4","gravatar_id":"","url":"https://api.github.com/users/EOSIO","html_url":"https://github.com/EOSIO","followers_url":"https://api.github.com/users/EOSIO/followers","following_url":"https://api.github.com/users/EOSIO/following{/other_user}","gists_url":"https://api.github.com/users/EOSIO/gists{/gist_id}","starred_url":"https://api.github.com/users/EOSIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EOSIO/subscriptions","organizations_url":"https://api.github.com/users/EOSIO/orgs","repos_url":"https://api.github.com/users/EOSIO/repos","events_url":"https://api.github.com/users/EOSIO/events{/privacy}","received_events_url":"https://api.github.com/users/EOSIO/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EOSIO/eos","description":"An open source smart contract platform ","fork":false,"url":"https://api.github.com/repos/EOSIO/eos","forks_url":"https://api.github.com/repos/EOSIO/eos/forks","keys_url":"https://api.github.com/repos/EOSIO/eos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EOSIO/eos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EOSIO/eos/teams","hooks_url":"https://api.github.com/repos/EOSIO/eos/hooks","issue_events_url":"https://api.github.com/repos/EOSIO/eos/issues/events{/number}","events_url":"https://api.github.com/repos/EOSIO/eos/events","assignees_url":"https://api.github.com/repos/EOSIO/eos/assignees{/user}","branches_url":"https://api.github.com/repos/EOSIO/eos/branches{/branch}","tags_url":"https://api.github.com/repos/EOSIO/eos/tags","blobs_url":"https://api.github.com/repos/EOSIO/eos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EOSIO/eos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EOSIO/eos/git/refs{/sha}","trees_url":"https://api.github.com/repos/EOSIO/eos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EOSIO/eos/statuses/{sha}","languages_url":"https://api.github.com/repos/EOSIO/eos/languages","stargazers_url":"https://api.github.com/repos/EOSIO/eos/stargazers","contributors_url":"https://api.github.com/repos/EOSIO/eos/contributors","subscribers_url":"https://api.github.com/repos/EOSIO/eos/subscribers","subscription_url":"https://api.github.com/repos/EOSIO/eos/subscription","commits_url":"https://api.github.com/repos/EOSIO/eos/commits{/sha}","git_commits_url":"https://api.github.com/repos/EOSIO/eos/git/commits{/sha}","comments_url":"https://api.github.com/repos/EOSIO/eos/comments{/number}","issue_comment_url":"https://api.github.com/repos/EOSIO/eos/issues/comments{/number}","contents_url":"https://api.github.com/repos/EOSIO/eos/contents/{+path}","compare_url":"https://api.github.com/repos/EOSIO/eos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EOSIO/eos/merges","archive_url":"https://api.github.com/repos/EOSIO/eos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EOSIO/eos/downloads","issues_url":"https://api.github.com/repos/EOSIO/eos/issues{/number}","pulls_url":"https://api.github.com/repos/EOSIO/eos/pulls{/number}","milestones_url":"https://api.github.com/repos/EOSIO/eos/milestones{/number}","notifications_url":"https://api.github.com/repos/EOSIO/eos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EOSIO/eos/labels{/name}","releases_url":"https://api.github.com/repos/EOSIO/eos/releases{/id}","deployments_url":"https://api.github.com/repos/EOSIO/eos/deployments","created_at":"2017-04-05T17:09:53Z","updated_at":"2018-04-09T12:18:57Z","pushed_at":"2018-04-09T12:37:59Z","git_url":"git://github.com/EOSIO/eos.git","ssh_url":"git@github.com:EOSIO/eos.git","clone_url":"https://github.com/EOSIO/eos.git","svn_url":"https://github.com/EOSIO/eos","homepage":"https://eosio.github.io/eos/","size":41761,"stargazers_count":5908,"watchers_count":5908,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1319,"mirror_url":null,"archived":false,"open_issues_count":427,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":1319,"open_issues":427,"watchers":5908,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/2216"},"html":{"href":"https://github.com/EOSIO/eos/pull/2216"},"issue":{"href":"https://api.github.com/repos/EOSIO/eos/issues/2216"},"comments":{"href":"https://api.github.com/repos/EOSIO/eos/issues/2216/comments"},"review_comments":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/2216/comments"},"review_comment":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EOSIO/eos/pulls/2216/commits"},"statuses":{"href":"https://api.github.com/repos/EOSIO/eos/statuses/b81ac07c22d28bb9b20222ee13690cf374fbbc90"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"heifner"}}