Releases: Consensys/sol-dbg
Releases · Consensys/sol-dbg
v0.1.5
Expand extracted contract metadata with bzzr1 and experimental fields
v0.1.4
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
This patch makes sure the debugger doesn't crash when encountering an unsupported cheatcode.
v0.1.1
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
This release patches a crash in findEntryPoint
when some contracts ASTs are missing.
v0.0.8
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
This patch relaxes an over-zealous check in checkAddrOoB
to allow for debugger to handle malformed msg.data.
v0.0.6
Nit: Freeze remix-simulator library to 0..2.14 as later version break something in the test runner.
v0.0.5
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
Tiny patch fixing a bug in event payload decoding.