Skip to content

v0.15.0

Latest

Choose a tag to compare

@edubart edubart released this 04 Aug 21:04
v0.15.0
23765c8

Added

  • Added revertRootHash argument to sendCmioResponse
  • Added imcyclemax deadline set by sendCmioResponse on advance-state responses
  • Added revert on rejected input to UArchReset.reset()
  • Added ROLLUP_LOG2_MAX_* limits and HTIF device/command/reason constants
  • Added revertState, readMcycle, writeImcyclemax, readHtifTohost and isYieldedManualWith to EmulatorCompat
  • Added tests for uarch reset, no-op response and step fixed points

Changed

  • Changed UArchStep.step to report overflow and halt on the step that reaches them
  • Changed UARCH_CYCLE_MAX from 0x100000 to 0xfffff
  • Changed UArchReset.reset to also read iflags.Y and htif.tohost
  • Changed sendCmioResponse failures into no-ops
  • Changed MetaStep uarch reset period from 2^10 to 2^20 meta-steps
  • Renamed UArchStepStatus.CycleOverflow to UArchCycleOverflow
  • Renamed getRevertRootHash/setRevertRootHash to readRevertRootHash/writeRevertRootHash
  • Renamed readHaltFlag/writeHaltFlag to readHalt/writeHalt
  • Renamed CMIO_YIELD_* constants to HTIF_YIELD_*, and UARCH_HALT_FLAG_ADDRESS to UARCH_HALT_ADDRESS
  • Updated UARCH_PRISTINE_STATE_HASH and shadow register addresses
  • Updated test artifact parsing for 0x-prefixed hexadecimal values
  • Updated machine-emulator version to v0.21.0
  • Bumped Foundry to 1.5.1

Removed

  • Removed AdvanceStatus library
  • Removed mark_dirty_page ECALL and markDirtyPageECALL
  • Removed LOG2_CYCLES_TO_RESET

Fixed

  • Fixed various Solidity and forge lint warnings