{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/solidity/issues/4394","repository_url":"https://api.github.com/repos/ethereum/solidity","labels_url":"https://api.github.com/repos/ethereum/solidity/issues/4394/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/solidity/issues/4394/comments","events_url":"https://api.github.com/repos/ethereum/solidity/issues/4394/events","html_url":"https://github.com/ethereum/solidity/issues/4394","id":337324246,"node_id":"MDU6SXNzdWUzMzczMjQyNDY=","number":4394,"title":"Using `create` opcode with arguments?","user":{"login":"YoonjaeYoo","id":938997,"node_id":"MDQ6VXNlcjkzODk5Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/938997?v=4","gravatar_id":"","url":"https://api.github.com/users/YoonjaeYoo","html_url":"https://github.com/YoonjaeYoo","followers_url":"https://api.github.com/users/YoonjaeYoo/followers","following_url":"https://api.github.com/users/YoonjaeYoo/following{/other_user}","gists_url":"https://api.github.com/users/YoonjaeYoo/gists{/gist_id}","starred_url":"https://api.github.com/users/YoonjaeYoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YoonjaeYoo/subscriptions","organizations_url":"https://api.github.com/users/YoonjaeYoo/orgs","repos_url":"https://api.github.com/users/YoonjaeYoo/repos","events_url":"https://api.github.com/users/YoonjaeYoo/events{/privacy}","received_events_url":"https://api.github.com/users/YoonjaeYoo/received_events","type":"User","site_admin":false},"labels":[{"id":275027668,"node_id":"MDU6TGFiZWwyNzUwMjc2Njg=","url":"https://api.github.com/repos/ethereum/solidity/labels/documentation%20:book:","name":"documentation :book:","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-01T21:35:59Z","updated_at":"2018-08-10T13:36:20Z","closed_at":null,"author_association":"NONE","body":"With opcode `create`, a new contract account is created mentioned in https://blog.aragon.one/advanced-solidity-code-deployment-techniques-dc032665f434.\r\n\r\nHow can I specify **arguments** for the constructor of the contract to be created?\r\nOn Yellow Paper of Ethereum, it only says `create` opcode requires only v, p, s and none of these explains about **arguments**."},"comment":{"url":"https://api.github.com/repos/ethereum/solidity/issues/comments/412084264","html_url":"https://github.com/ethereum/solidity/issues/4394#issuecomment-412084264","issue_url":"https://api.github.com/repos/ethereum/solidity/issues/4394","id":412084264,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjA4NDI2NA==","user":{"login":"Qkyrie","id":2153990,"node_id":"MDQ6VXNlcjIxNTM5OTA=","avatar_url":"https://avatars3.githubusercontent.com/u/2153990?v=4","gravatar_id":"","url":"https://api.github.com/users/Qkyrie","html_url":"https://github.com/Qkyrie","followers_url":"https://api.github.com/users/Qkyrie/followers","following_url":"https://api.github.com/users/Qkyrie/following{/other_user}","gists_url":"https://api.github.com/users/Qkyrie/gists{/gist_id}","starred_url":"https://api.github.com/users/Qkyrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Qkyrie/subscriptions","organizations_url":"https://api.github.com/users/Qkyrie/orgs","repos_url":"https://api.github.com/users/Qkyrie/repos","events_url":"https://api.github.com/users/Qkyrie/events{/privacy}","received_events_url":"https://api.github.com/users/Qkyrie/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T13:36:20Z","updated_at":"2018-08-10T13:36:20Z","author_association":"NONE","body":"@chriseth \r\nso, say you have 2 arguments you would like to append, would you use abi.encodePacked(arguments) before appending to the dynamic code, or what function would result in the correct encoding?"}}
{"actor":{"display_login":"Qkyrie"}}