Skip to content

Instantly share code, notes, and snippets.

@gballet
Created January 30, 2020 09:01
Show Gist options
  • Save gballet/511c007814ebc0faa4011e0290f708fb to your computer and use it in GitHub Desktop.
Save gballet/511c007814ebc0faa4011e0290f708fb to your computer and use it in GitHub Desktop.
Various files needed when testing Jupiter
#!/bin/sh
go run ./cmd/evm/ \
--code=60966000600037600060016096600060ff600a6006f100 \
--prestate my_genesis.json \
--receiver a8c3eeb2915373139bcfc287d4ae9e660d734881 \
--inputfile callverify.evm \
-json \
run
60966000600037600060016096600060ff600a6006f100
00000: PUSH1 0x96
00002: PUSH1 0x00
00004: PUSH1 0x00
00006: CALLDATACOPY
00007: PUSH1 0x00
00009: PUSH1 0x01
0000b: PUSH1 0x96
0000d: PUSH1 0x00
0000f: PUSH1 0xff
00011: PUSH1 0x0a
00013: PUSH1 0x06
00015: CALL
00016: STOP
e5e4a00101010101010101010101010101010101010101010101010101010101010101808000f86ee1a0fb9184fc5cf9ca411410a020f6a39b7d11ba10ab406cfa463ccf10a4c729fc8ff838b3f29031111111111111111111111111111111a0010101010101010101010101010101010101010101010101010101010101010183c22080d1c101c28080c2021fc20401c20280c20402
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment