Skip to content

Instantly share code, notes, and snippets.

@muxueqz
Created June 9, 2020 14:48
Show Gist options
  • Save muxueqz/a2c3e9f624fa1dcc1f2f81e89e3c68f8 to your computer and use it in GitHub Desktop.
Save muxueqz/a2c3e9f624fa1dcc1f2f81e89e3c68f8 to your computer and use it in GitHub Desktop.
root@42a0bbb23032:/app# ruby runner.rb /app/pkg/ckb_syscall_import 0x10000000
Executing: ckb-standalone-debugger/bins/target/release/ckb-debugger --tx-file tx.json --script-group-type type -i 0 -e input
Run result: Err(InvalidEcall(0))
Total cycles consumed: 570
Transfer cycles: 60, running cycles: 510
Machine status: pc : 0x 100CA
zero: 0x 0 ra : 0x 0 sp : 0x 3FFFF8 gp : 0x 0
tp : 0x 0 t0 : 0x 0 t1 : 0x 0 t2 : 0x 0
s0 : 0x 0 s1 : 0x 0 a0 : 0x 100D0 a1 : 0x 0
a2 : 0x 0 a3 : 0x 0 a4 : 0x 0 a5 : 0x 0
a6 : 0x 11000 a7 : 0x 0 s2 : 0x 0 s3 : 0x 0
s4 : 0x 0 s5 : 0x 0 s6 : 0x 0 s7 : 0x 0
s8 : 0x 0 s9 : 0x 0 s10 : 0x 0 s11 : 0x 0
t3 : 0x 0 t4 : 0x 0 t5 : 0x 0 t6 : 0x 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment