Skip to content

Instantly share code, notes, and snippets.

@dakk
Created May 23, 2025 16:03
Show Gist options
  • Save dakk/26094b80420b06a53478f6ae8d5d3bbe to your computer and use it in GitHub Desktop.
Save dakk/26094b80420b06a53478f6ae8d5d3bbe to your computer and use it in GitHub Desktop.
test_traces_127__testvectors_jamtestvectors_traces_reports_l0_00000041_json (jamtv.test_traces.TestTraces.test_traces_127__testvectors_jamtestvectors_traces_reports_l0_00000041_json) ... Processing: ./testvectors/jamtestvectors/traces/reports-l0/00000041.json
State imported
Block loaded
Tracing for block: 41
single_service_accumulation(service_idx=0)
[Hostcall] accumulate_invoke()
program_argument_invoke()
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 4) 55357
host_call_invoke() => handling hostcall 4
host_call_invoke() => g=96811 reg=[2138, 4278056696, 0, 184, 4278058592, 197072, 76, 18446744073709551615, 197072, 0, 4278056720, 197148, 76]
[Hostcall] HCFInfo (service_idx=0)
[Hostcall] HCFInfo info=0x2ab7237c521b1e5f8e86da6fde8755290a5a9d495059fecc5b90a66c0e282dd2 18446744073709551615 153890 10 10 153640 15
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 100) 11201
host_call_invoke() => handling hostcall 100
host_call_invoke() => g=94105 reg=[422, 4278056960, 14, 8, 4278056666, 0, 197148, 2, 67382, 4, 197148, 58, 48]
[Hostcall] HCFDebug
[Hostcall] HCFDebug => debug(2): Bootstrap Service Accumulate, 0h @41 $18446744073709551615
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 100) 11834
host_call_invoke() => handling hostcall 100
host_call_invoke() => g=25540 reg=[450, 4278056960, 4278056800, 664, 198392, 199062, 1344, 3, 67382, 4, 199062, 949, 4278056496]
[Hostcall] HCFDebug
[Hostcall] HCFDebug => debug(3): Decoded instruction: DeleteItems { storage_items: [[2, 69, 201, 204, 26, 62, 135, 20, 93, 84, 170, 129, 204, 191, 101, 115, 112, 178, 248, 138, 130, 238, 127, 255, 164, 87, 163, 231, 45, 104, 199, 13], [3, 150, 214, 227, 158, 2, 95, 27, 26, 1, 78, 255, 79, 11, 111, 182, 136, 156, 108, 51, 65, 87, 211, 103, 155, 143, 221, 76, 59, 31, 166, 167], [44, 102, 59, 169, 242, 57, 38, 231, 150, 192, 124, 228, 84, 45, 97, 114, 64, 33, 182, 39, 116, 187, 237, 16, 85, 225, 224, 118, 79, 46, 133, 18], [93, 33, 253, 177, 123, 228, 141, 39, 117, 33, 22, 0, 27, 32, 103, 159, 150, 13, 151, 254, 13, 221, 167, 206, 193, 127, 69, 231, 237, 223, 182, 71], [107, 93, 229, 214, 104, 25, 152, 243, 161, 253, 185, 209, 248, 21, 53, 117, 84, 63, 197, 240, 255, 212, 141, 125, 165, 116, 42, 190, 185, 58, 103, 93], [110, 79, 212, 140, 204, 114, 138, 3, 162, 78, 244, 78, 187, 109, 167, 254, 221, 146, 105, 99, 236, 237, 214, 102, 183, 250, 175, 36, 224, 70, 150, 53]] }
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 100) 14629
host_call_invoke() => handling hostcall 100
host_call_invoke() => g=14219 reg=[522, 4278056960, 4278056800, 120, 200496, 1018, 240, 2, 67382, 4, 200616, 164, 2290]
[Hostcall] HCFDebug
[Hostcall] HCFDebug => debug(2): Deleting item: [2, 69, 201, 204, 26, 62, 135, 20, 93, 84, 170, 129, 204, 191, 101, 115, 112, 178, 248, 138, 130, 238, 127, 255, 164, 87, 163, 231, 45, 104, 199, 13]
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 3) 14730
host_call_invoke() => handling hostcall 3
host_call_invoke() => g=14170 reg=[528, 4278056880, 4278056800, 120, 200496, 1018, 240, 197568, 32, 0, 0, 164, 2290]
[Hostcall] HCFWrite (service_idx=0)
[Hostcall] HCFWrite (service_idx=0) => delete key: TypedBytes(0x00ff00ff00ff00ffb878a791af6412848007548b4ea5e4e74531cd1fae3eb0)
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 100) 14629
host_call_invoke() => handling hostcall 100
host_call_invoke() => g=2900 reg=[522, 4278056960, 4278056800, 112, 200952, 1018, 240, 2, 67382, 4, 201066, 157, 2290]
[Hostcall] HCFDebug
[Hostcall] HCFDebug => debug(2): Deleting item: [3, 150, 214, 227, 158, 2, 95, 27, 26, 1, 78, 255, 79, 11, 111, 182, 136, 156, 108, 51, 65, 87, 211, 103, 155, 143, 221, 76, 59, 31, 166, 167]
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 3) 14730
host_call_invoke() => handling hostcall 3
host_call_invoke() => g=2851 reg=[528, 4278056880, 4278056800, 112, 200952, 1018, 240, 197600, 32, 0, 0, 157, 2290]
[Hostcall] HCFWrite (service_idx=0)
[Hostcall] HCFWrite (service_idx=0) => delete key: TypedBytes(0x00ff00ff00ff00ff4ee62211508b2e321715b50384c62435a6cd7fb332fd16)
host_call_invoke()
pvm_invoke()
pvm_invoke() => status: (<PVMExitReasonConstants.HOST: 3>, 100) 14629
[Hostcall] transfer_invoke(service_idx=0)
[Hostcall] transfer_invoke(service_idx=0) => no transfers
Block imported
FAIL
======================================================================
FAIL: test_traces_127__testvectors_jamtestvectors_traces_reports_l0_00000041_json (jamtv.test_traces.TestTraces.test_traces_127__testvectors_jamtestvectors_traces_reports_l0_00000041_json)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/dakk/Repositories/MyRepos/jampy/test/jamtv/test_traces.py", line 34, in test_traces
run_trace(trace, "tiny")
File "/home/dakk/Repositories/MyRepos/jampy/jampy/run_trace.py", line 98, in run_trace
if not check_seralized_state(
^^^^^^^^^^^^^^^^^^^^^^
File "/home/dakk/Repositories/MyRepos/jampy/jampy/run_trace.py", line 57, in check_seralized_state
raise RuntimeError(
RuntimeError: (13, 'π: statistics') differs from ours: they have 0x01000000000000000000000000000000020000000200000001000000000000000000000000000000000000000200000001000000000000000000000000000000020000000200000001000000000000000000000000000000020000000200000000000000000000000000000000000000000000000200000002000000000000000000000000000000000000000200000001000000000000000000000000000000020000000300000004000000000000000000000000000000020000000300000001000000000000000000000000000000010000000300000001000000000000000000000000000000010000000300000003000000000000000000000000000000010000000300000002000000000000000000000000000000020000000300000081ae0600000000000000000000000000000100000000000000000000000001c19e860000 instead of 0x01000000000000000000000000000000020000000200000001000000000000000000000000000000000000000200000001000000000000000000000000000000020000000200000001000000000000000000000000000000020000000200000000000000000000000000000000000000000000000200000002000000000000000000000000000000000000000200000001000000000000000000000000000000020000000300000004000000000000000000000000000000020000000300000001000000000000000000000000000000010000000300000001000000000000000000000000000000010000000300000003000000000000000000000000000000010000000300000002000000000000000000000000000000020000000300000081ae0600000000000000000000000000000100000000000000000000000001c1a0860000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment