Skip to content

Commit

Permalink
docs: roll v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulRBerg committed Dec 4, 2022
1 parent f2d66a8 commit babc8d8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
31 changes: 28 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,36 @@ All notable changes to this project will be documented in this file.

The format is based on [Common Changelog](https://common-changelog.org/).

[0.1.3]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.3
[0.1.2]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.2
[0.1.1]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.1
[0.2.0]: https://github.com/paulrberg/prb-math/compare/v0.1.3...v0.2.0
[0.1.3]: https://github.com/paulrberg/prb-math/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/paulrberg/prb-math/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/paulrberg/prb-math/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/paulrberg/prb-test/releases/tag/v0.1.0

## [0.2.0] - 2022-12-04

### Changed

- Improve wording in CHANGELOG
- Name arguments in `Vm` interface functions
- Sync `Vm` with forge-std
- Set cheatcode mutability/ visibility
- Split `Vm` in `Vm` and `VmSafe` interfaces

### Added

- Add `allowCheatcodes` cheatcode
- Add `broadcast` and `startBroadcast` private key overloads
- Add `deriveKey` and `rememberKey` cheatcodes feat:
- Add `difficulty` cheatcode
- Add fork-related cheatcodes
- Add `getDeployedCode`
- Add parsing cheatcodes
- Add `parseJson` helper functions in `Vm`
- Add `projectRoot` cheatcode
- Add `transact` cheatcode
- Add emitter in `Log` struct

## [0.1.3] - 2022-10-29

### Changed
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ replacement for DSTest.
First, run the install step:

```sh
forge install --no-commit paulrberg/prb-test@0.1.3
forge install --no-commit paulrberg/prb-test@0.2.0
```

Your `.gitmodules` file should now contain the following entry:

```toml
[submodule "lib/prb-test"]
branch = "0.1.3"
path = "lib/prb-test"
url = "https://github.com/paulrberg/prb-test"
branch = "0.2.0"
path = "lib/prb-test"
url = "https://github.com/paulrberg/prb-test"
```

Finally, add this to your `remappings.txt` file:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@prb/test",
"description": "Modern collection of testing assertions and logging utilities for Solidity",
"version": "0.1.3",
"version": "0.2.0",
"author": {
"name": "Paul Razvan Berg",
"url": "https://github.com/paulrberg"
Expand Down

0 comments on commit babc8d8

Please sign in to comment.