{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/aleth/issues/5285","repository_url":"https://api.github.com/repos/ethereum/aleth","labels_url":"https://api.github.com/repos/ethereum/aleth/issues/5285/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/aleth/issues/5285/comments","events_url":"https://api.github.com/repos/ethereum/aleth/issues/5285/events","html_url":"https://github.com/ethereum/aleth/issues/5285","id":363363423,"node_id":"MDU6SXNzdWUzNjMzNjM0MjM=","number":5285,"title":"Creating new chain with aleth","user":{"login":"frods","id":62378,"node_id":"MDQ6VXNlcjYyMzc4","avatar_url":"https://avatars1.githubusercontent.com/u/62378?v=4","gravatar_id":"","url":"https://api.github.com/users/frods","html_url":"https://github.com/frods","followers_url":"https://api.github.com/users/frods/followers","following_url":"https://api.github.com/users/frods/following{/other_user}","gists_url":"https://api.github.com/users/frods/gists{/gist_id}","starred_url":"https://api.github.com/users/frods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frods/subscriptions","organizations_url":"https://api.github.com/users/frods/orgs","repos_url":"https://api.github.com/users/frods/repos","events_url":"https://api.github.com/users/frods/events{/privacy}","received_events_url":"https://api.github.com/users/frods/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"gumb0","id":1863135,"node_id":"MDQ6VXNlcjE4NjMxMzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1863135?v=4","gravatar_id":"","url":"https://api.github.com/users/gumb0","html_url":"https://github.com/gumb0","followers_url":"https://api.github.com/users/gumb0/followers","following_url":"https://api.github.com/users/gumb0/following{/other_user}","gists_url":"https://api.github.com/users/gumb0/gists{/gist_id}","starred_url":"https://api.github.com/users/gumb0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gumb0/subscriptions","organizations_url":"https://api.github.com/users/gumb0/orgs","repos_url":"https://api.github.com/users/gumb0/repos","events_url":"https://api.github.com/users/gumb0/events{/privacy}","received_events_url":"https://api.github.com/users/gumb0/received_events","type":"User","site_admin":false},"assignees":[{"login":"gumb0","id":1863135,"node_id":"MDQ6VXNlcjE4NjMxMzU=","avatar_url":"https://avatars0.githubusercontent.com/u/1863135?v=4","gravatar_id":"","url":"https://api.github.com/users/gumb0","html_url":"https://github.com/gumb0","followers_url":"https://api.github.com/users/gumb0/followers","following_url":"https://api.github.com/users/gumb0/following{/other_user}","gists_url":"https://api.github.com/users/gumb0/gists{/gist_id}","starred_url":"https://api.github.com/users/gumb0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gumb0/subscriptions","organizations_url":"https://api.github.com/users/gumb0/orgs","repos_url":"https://api.github.com/users/gumb0/repos","events_url":"https://api.github.com/users/gumb0/events{/privacy}","received_events_url":"https://api.github.com/users/gumb0/received_events","type":"User","site_admin":false},{"login":"halfalicious","id":15605026,"node_id":"MDQ6VXNlcjE1NjA1MDI2","avatar_url":"https://avatars1.githubusercontent.com/u/15605026?v=4","gravatar_id":"","url":"https://api.github.com/users/halfalicious","html_url":"https://github.com/halfalicious","followers_url":"https://api.github.com/users/halfalicious/followers","following_url":"https://api.github.com/users/halfalicious/following{/other_user}","gists_url":"https://api.github.com/users/halfalicious/gists{/gist_id}","starred_url":"https://api.github.com/users/halfalicious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halfalicious/subscriptions","organizations_url":"https://api.github.com/users/halfalicious/orgs","repos_url":"https://api.github.com/users/halfalicious/repos","events_url":"https://api.github.com/users/halfalicious/events{/privacy}","received_events_url":"https://api.github.com/users/halfalicious/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-09-25T00:04:16Z","updated_at":"2018-09-27T19:07:26Z","closed_at":null,"author_association":"NONE","body":"Hello, I'm experimenting with creating a new chain with aleth at tag v1.4.0rc7.\r\n\r\nI've updated the ```libethashseal/genisis/mainNetwork.cpp``` with content in this gist https://gist.github.com/frods/329089bdc3a428c1ec425403374ec96c\r\nI also changed the port used to connect to hosts in the code to ensure that it doesn't try to sync with existing nodes.\r\n\r\nI'm building on macos 10.13.6\r\n\r\nI then:\r\n- imported the key for the account ```00195f4b51509e358eadf8e5bd568a5240e8805f``` which is set to have some ether in the ```mainNetwork.cpp``` file\r\n- launch aleth with no arguments\r\n- connect with [ethereum-console](https://www.npmjs.com/package/ethereum-console)\r\n\r\nI am able to query the balance and see the correct value for the above account.\r\n\r\nWhen I try to transfer funds with:\r\n```\r\n> eth.sendTransaction({to:\"003d05ebe55c928e16e328a40f83f86c7bacd338\", from:\"00195f4b51509e358eadf8e5bd568a5240e8805f\", value:5000000, gas:22000})\r\n```\r\n\r\nI get the following output\r\n```\r\nError: Returned error: Block gas limit reached.\r\n    at Object.ErrorResponse (/Users/philip/Work/ethereumconsole/node_modules/web3-core-helpers/src/errors.js:29:16)\r\n    at Object.<anonymous> (/Users/philip/Work/ethereumconsole/node_modules/web3-core-requestmanager/src/index.js:140:36)\r\n    at callback (/Users/philip/Work/ethereumconsole/node_modules/web3-providers-ipc/src/index.js:65:40)\r\n    at Array.forEach (<anonymous>)\r\n    at Socket.<anonymous> (/Users/philip/Work/ethereumconsole/node_modules/web3-providers-ipc/src/index.js:76:51)\r\n    at Socket.emit (events.js:182:13)\r\n    at Socket.EventEmitter.emit (domain.js:442:20)\r\n    at addChunk (_stream_readable.js:283:12)\r\n    at readableAddChunk (_stream_readable.js:264:11)\r\n    at Socket.Readable.push (_stream_readable.js:219:10)\r\n    at Pipe.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)\r\n```\r\n\r\nI have tried with different gas amounts and always get errors even though it is within the min and max range set in the ```mainNetwork.cpp```\r\n\r\nWhat is missing/wrong with my setup? I guess something is wrong with the ```mainNetwork.cpp``` configuration.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ethereum/aleth/issues/comments/425208430","html_url":"https://github.com/ethereum/aleth/issues/5285#issuecomment-425208430","issue_url":"https://api.github.com/repos/ethereum/aleth/issues/5285","id":425208430,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTIwODQzMA==","user":{"login":"frods","id":62378,"node_id":"MDQ6VXNlcjYyMzc4","avatar_url":"https://avatars1.githubusercontent.com/u/62378?v=4","gravatar_id":"","url":"https://api.github.com/users/frods","html_url":"https://github.com/frods","followers_url":"https://api.github.com/users/frods/followers","following_url":"https://api.github.com/users/frods/following{/other_user}","gists_url":"https://api.github.com/users/frods/gists{/gist_id}","starred_url":"https://api.github.com/users/frods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frods/subscriptions","organizations_url":"https://api.github.com/users/frods/orgs","repos_url":"https://api.github.com/users/frods/repos","events_url":"https://api.github.com/users/frods/events{/privacy}","received_events_url":"https://api.github.com/users/frods/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T19:07:26Z","updated_at":"2018-09-27T19:07:26Z","author_association":"NONE","body":"I have been passing the account not the enode this whole time.\r\n\r\nI realize I could also define the peerset through the command line, I don't mind maintaining my own fork and merging with the main reopo which is why I did it this way.\r\n\r\nAny idea on why I can't issue transactions over the private network?"}}
{"actor":{"display_login":"frods"}}