Skip to content

Instantly share code, notes, and snippets.

@jrhea
Last active March 9, 2019 14:25
Show Gist options
  • Save jrhea/baa563fc8dd36387f1b497bec702d1b7 to your computer and use it in GitHub Desktop.
Save jrhea/baa563fc8dd36387f1b497bec702d1b7 to your computer and use it in GitHub Desktop.
run Artemis run
# clone and build
$ git clone --recursive https://github.com/PegaSysEng/artemis.git
$ cd artemis && ./gradlew mash
# run with formatted output
$ ./gradlew run --args='-o=foo.csv'
@GregTheGreek
Copy link

Also found a bug where the headParentRoot doesn't match blockHeadRoot

  {
    "time": "'3145980'",
    "slot": "'524330'",
    "blockHeadRoot": "'0x6D9702A3CBADDDF7C2791588C1E9E8CC3A31A02A553AD2E883051F24E9DA9CCA'",
    "headStateRoot": "'0xB60BD9499DA6399D4E1A44372D12DEBD97F083E4C679CFB01B90A6AF13A523DC'",
    "headParentRoot": "'0x83699FC96F3332543D6E58E090D23D6D7F382B484695339D987330533AB34D40'"
  },
  {
    "time": "'3145986'",
    "slot": "'524331'",
    "blockHeadRoot": "'0x7A83D9A8123243AC4C95BE9EBF6CAB5227B97833D18C049A34AD8822C14A1A71'",
    "headStateRoot": "'0x028854FCBD6963FD69590440E20AA804D7EA80396FA88CAC449B032538F157E3'",
    "headParentRoot": "'0xF8C26F5431DD2F1BCD4AE81A3642400F10A84946684127C8AAD9D600987E5F24'"
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment