Skip to content

Releases: Consensys/sol-dbg

v0.1.5

15 Jun 23:45
Compare
Choose a tag to compare

Expand extracted contract metadata with bzzr1 and experimental fields

v0.1.4

14 Jun 01:09
Compare
Choose a tag to compare

This release hardens sol-dbg to not crash when a contract doesn't have metadata, or when decoding of internal function arguments fail due to stack underflow (potentially related to optimized code).

v0.1.2

05 May 01:43
Compare
Choose a tag to compare

This patch makes sure the debugger doesn't crash when encountering an unsupported cheatcode.

v0.1.1

01 May 19:02
Compare
Choose a tag to compare

This release brings support for the following Foundry cheatcodes:

  function warp(uint256 timestamp) external;
  function roll(uint256 number) external;
  function load(address c, bytes32 loc) external returns (bytes32 val);
  function store(address c, bytes32 loc, bytes32 val) external;
  function sign(uint256 sk, bytes32 digest) external returns (uint8 v, bytes32 r, bytes32 s);
  function addr(uint256 sk) external returns (address addr);
  function prank(address addr) external;
  function startPrank(address addr) external;
  function prank(address addr,address origin) external;
  function startPrank(address addr,address origin) external;
  function stopPrank() external;
  function deal(address addr, uint256 balance) external;
  function assume(bool cond) external;

To enable this support instantiate SolTxDebugger with the foundryCheatcodes option set to true like so:

    const debugger = new SolTxDebugger(artifactManager, { foundryCheatcodes: true });

v0.0.9

25 Apr 17:34
Compare
Choose a tag to compare

This release patches a crash in findEntryPoint when some contracts ASTs are missing.

v0.0.8

21 Apr 17:01
Compare
Choose a tag to compare

This release fixes a bug in the selection of callee on an external call frame, when calling a base contract function. Before the logic only looked through the functions/getters of the most derived contract, ignoring function/getters of base contracts.

v0.0.7

21 Apr 11:15
Compare
Choose a tag to compare

This patch relaxes an over-zealous check in checkAddrOoB to allow for debugger to handle malformed msg.data.

v0.0.6

20 Apr 23:26
Compare
Choose a tag to compare

Nit: Freeze remix-simulator library to 0..2.14 as later version break something in the test runner.

v0.0.5

20 Apr 22:45
Compare
Choose a tag to compare

This release includes the following fixes:

  • Fix minor bugs in calldata decoding;
  • Bump solc-typed-ast to 13.0.2;
  • Speed up decoding source maps
  • Add non-strict mode for stack trace decoding, where we allow some mismatch in internal call frame jump in/outs

v0.0.2

07 Jul 04:36
Compare
Choose a tag to compare

Tiny patch fixing a bug in event payload decoding.