{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2977","labels_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2977/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2977/comments","events_url":"https://api.github.com/repos/ethereum/cpp-ethereum/issues/2977/events","html_url":"https://github.com/ethereum/cpp-ethereum/issues/2977","id":107225183,"number":2977,"title":"VM trace BlockGasLimitReached exception","user":{"login":"fe80ac","id":14337813,"avatar_url":"https://avatars.githubusercontent.com/u/14337813?v=3","gravatar_id":"","url":"https://api.github.com/users/fe80ac","html_url":"https://github.com/fe80ac","followers_url":"https://api.github.com/users/fe80ac/followers","following_url":"https://api.github.com/users/fe80ac/following{/other_user}","gists_url":"https://api.github.com/users/fe80ac/gists{/gist_id}","starred_url":"https://api.github.com/users/fe80ac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fe80ac/subscriptions","organizations_url":"https://api.github.com/users/fe80ac/orgs","repos_url":"https://api.github.com/users/fe80ac/repos","events_url":"https://api.github.com/users/fe80ac/events{/privacy}","received_events_url":"https://api.github.com/users/fe80ac/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-18T15:34:22Z","updated_at":"2015-09-30T10:42:55Z","closed_at":"2015-09-30T10:42:55Z","body":"I am trying to get a VM trace for a historical transaction using the admin_eth_vmTrace JSON RPC in eth/cpp-ethereum.\r\n\r\nI trigger the call with curl and get no result:\r\n```\r\n% curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"admin_eth_vmTrace\",\"params\":[\"0x8fadc1f1bbfdbdafee19e358cd5e3731cedd871f24be078c3aef071b8c78f470\",6,\"XXXXXXXXXXX=\"],\"id\":1}' http://localhost:8545\r\n\r\n{\"id\":1,\"jsonrpc\":\"2.0\",\"result\":null}\r\n```\r\n\r\nI believe that should return a VM trace for the transaction at index six of the block 0x8fadc1f1bbfdbdafee19e358cd5e3731cedd871f24be078c3aef071b8c78f470 (block #237,298, tx 0x87bc16547fe2be8f7e360df63ed1b88ca7a0c8b69cbc400681bc0be0e30761a8). 'XXXXXXXXXXX=' is the JSON RPC admin session key--if incorrect, the RPC returns an 'Invalid privilege' message.\r\n\r\nWhen eth runs the command, it outputs a message like this:\r\n```\r\n ✘  15:43:52|  /tmp/cpp-ethereum20150914-80200-1jb1ne0/libethereum/Executive.cpp(196): Throw in function void dev::eth::Executive::initialize(const dev::eth::Transaction &)\r\nDynamic exception type: boost::exception_detail::clone_impl\r\nstd::exception::what: BlockGasLimitReached\r\n[dev::tag_required*] = 5000\r\n[dev::tag_got*] = 21000\r\n```\r\n\r\nThe same thing happens with other transactions.\r\n\r\nThis is an OS X homebrew install with `--with-vmtrace`. Here is some status/version info:\r\n\r\n```\r\n% curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"eth_blockNumber\",\"params\":[],\"id\":1}' http://localhost:8545\r\n{\"id\":1,\"jsonrpc\":\"2.0\",\"result\":\"0x3caa5\"}\r\n```\r\n\r\n(0x3caa5 = 248,485 > 237,298)\r\n\r\n```\r\n% curl -X POST --data '{\"jsonrpc\":\"2.0\",\"method\":\"web3_clientVersion\",\"params\":[],\"id\":1}' http://localhost:8545\r\n\r\n{\"id\":1,\"jsonrpc\":\"2.0\",\"result\":\"++eth-v0.9.41-ed7a8a35//Debug-Darwin/clang/int\"}\r\n```\r\n\r\n```\r\n% eth --version\r\n\r\neth version 0.9.41\r\neth network protocol version: 61\r\nClient database version: 12041\r\nBuild: Darwin/clang/int/Debug\r\n```\r\n\r\nThe same issue is reported under 0.9.42 here: https://forum.ethereum.org/discussion/3515/vm-trace-blockgaslimitreached-exception .\r\n"}}