Skip to content

Releases: ConsenSysDiligence/scribble

v0.6.17

10 Feb 02:52

Choose a tag to compare

This release bumps solc-typed-ast to version 12.0.0 and contains minor cleanup.

v0.6.16

30 Nov 13:45

Choose a tag to compare

This release bumps solc-typed-ast to version 11.0.2 to avoid a breakage in one of our dependencies (axios)

v0.6.15

13 Oct 05:13

Choose a tag to compare

This release brings:

  • Bump solc-typed-ast to 10.3.0
  • Fix for #195 Crash: SyntaxError during parsing of scribble file

v0.6.14

11 Oct 01:58

Choose a tag to compare

The release brings fixes for the following bugs:

#171 __scribble__ReentrancyUtils.sol compiler error.
#191 Instrumented try...catch fails compilation step with Mythril
#188 Scribble doesnt work for instrumenting libraries
#181 Properly support UserDefinedTypes to Scribble functions
#176 Annotation is skipped in specific case

v0.6.13

15 Jul 04:16

Choose a tag to compare

This release brings a new experimental annotation: User constants.

User constants allow to create constants attached to contracts (and their inheritance tree) that can be used in other annotation. For example:

/// #const uint256 H := 60 * 60;
/// #const uint256 D := H * 24;
contract A {
    /// #if_succeeds D == H * 24;
    function testHD() public {}
}

Please note that this feature is still in its experimental phase, and may undergo changes before its made concrete.

v0.6.12

11 Jul 22:50

Choose a tag to compare

This patch tweaks the behavior of the --debug-events flag. Specifically it changes the order of events emitted such that upon a property failure we first emit an AssertionFailedData event (containing the values of any variables found in the failing property) and then emit the AssertionFailed event, that marks the actual assertion failure.

v0.6.11

24 Jun 21:38

Choose a tag to compare

This patch release adds just 2 pieces of additional instrumentation metadata (#179 ):

  • the text of the original annotation
  • the names of variables in the debugEventEncoding

v0.6.10

09 Jun 03:34

Choose a tag to compare

This release brings fixes for:

- using Counters.Counter #174
- Cannot find module 'path/posix' #175

v0.6.9

25 May 03:45

Choose a tag to compare

This release contains:

  • new --base-path and --include-paths arguments to Scribble. These 2 arguments are passed down to solc when compiling code to obtain an AST.
  • Fix for a small bug in the grammar of fixed bytes type in Scribble (#173 )

v0.6.8

10 May 00:31

Choose a tag to compare

This release contains:

  • bump solc-typed-ast to 9.1.3
  • change scribble to use the better multi-file compiling support in solc-typed-ast (#164)
  • removed (now) obsolete merging and sanity checking logic