Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addint --verbose 4 causing error #279

Open
AskAlexSharov opened this issue Nov 4, 2024 · 0 comments
Open

addint --verbose 4 causing error #279

AskAlexSharov opened this issue Nov 4, 2024 · 0 comments

Comments

@AskAlexSharov
Copy link
Contributor

AskAlexSharov commented Nov 4, 2024

--verbose 4 causing error:

python3 ./run_tests.py -c -k jwt.hex -b mainnet -r --verbose 4 -f --json-diff -x trace_,admin_,erigon_,eth_,net_,ots_,parity_,engine_,txpool_,unknown_,web3_,debug_accountAt,debug_accountRange,debug_getModifiedAccountsByHash,debug_getModifiedAccountsByNumber,debug_storageRangeAt,debug_traceBlockByHash,debug_traceBlockByNumber,debug_traceCall

0134. http           ::debug_traceTransaction/test_01.json
 target: localhost:8545
{"id": 1, "jsonrpc": "2.0", "method": "debug_traceTransaction", "params": ["0x4438834aa595a9b8f0ab97cde0946f163f57ca4dff78ee93a9daa660c43e8666", {"disableMemory": true, "disableStack": true, "disableStorage": true}]}
Response.len: 3
Response: {'jsonrpc': '2.0', 'id': 1, 'result': {'structLogs': [], 'gas': 21000, 'failed': False, 'returnValue': ''}}
Traceback (most recent call last):
  File "/home/erigon/rpc-tests/integration/./run_tests.py", line 903, in <module>
    sys.exit(main(sys.argv))
             ^^^^^^^^^^^^^^
  File "/home/erigon/rpc-tests/integration/./run_tests.py", line 869, in main
    ret = run_test(json_test_full_name, test_number_in_any_loop, transport_type, config)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/erigon/rpc-tests/integration/./run_tests.py", line 796, in run_test
    return process_response(
           ^^^^^^^^^^^^^^^^^
  File "/home/erigon/rpc-tests/integration/./run_tests.py", line 664, in process_response
    response = get_json_from_response(config.daemon_under_test, config.verbose_level, json_file, result, test_number, config.exit_on_fail)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/erigon/rpc-tests/integration/./run_tests.py", line 481, in get_json_from_response
    print(msg + " :[" + result + "]")
          ~~~~~~~~~~~~^~~~~~~~
TypeError: can only concatenate str (not "dict") to str

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant