Skip to content

Commit

Permalink
docs: roll v4.0.0-beta.5
Browse files Browse the repository at this point in the history
chore: remove unused remapping
chore: add "prepack" script in "package.json"
chore: update pnpm lockfile
refactor: update precompiles
  • Loading branch information
PaulRBerg committed May 30, 2023
1 parent 2f16676 commit 2d3517f
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 12 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Common Changelog](https://common-changelog.org/), and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

[4.0.0-beta.5]: https://github.com/PaulRBerg/prb-proxy/compare/v4.0.0-beta.4...v4.0.0-beta.5
[4.0.0-beta.4]: https://github.com/PaulRBerg/prb-proxy/compare/v4.0.0-beta.3...v4.0.0-beta.4
[4.0.0-beta.3]: https://github.com/PaulRBerg/prb-proxy/compare/v4.0.0-beta.2...v4.0.0-beta.3
[4.0.0-beta.2]: https://github.com/PaulRBerg/prb-proxy/compare/v4.0.0-beta.1...v4.0.0-beta.2
Expand All @@ -13,6 +14,16 @@ The format is based on [Common Changelog](https://common-changelog.org/), and th
[1.0.1]: https://github.com/PaulRBerg/prb-proxy/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/PaulRBerg/prb-proxy/releases/tag/v1.0.0

## [4.0.0-beta.5] - 2023-05-30

### Changed

- Change key name in `nextSeeds` (@PaulRBerg)
- Simplify nesting structure in `script` (@PaulRBerg)
- Revert with reason strings in precompiles (@PaulRBerg)
- Various small improvements (@PaulRBerg)
- Use relative paths in imports in `script` and `test` (@PaulRBerg)

## [4.0.0-beta.4] - 2023-05-19

### Changed
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ The registry and the enshrined target are deployed at the same address on the fo

| Contract | Chain | [Chain ID](https://chainlist.org/) | Address |
| -------- | ----------------------- | ---------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| Annex | Ethereum Goerli Testnet | 5 | [0xB82EC38478FDC4A7517BC04E79af9a05B50aAB3d](https://goerli.etherscan.io/address/0xB82EC38478FDC4A7517BC04E79af9a05B50aAB3d#code) |
| Registry | Ethereum Goerli Testnet | 5 | [0xFA1D45343396F5640B1a677Ea93D808748714706](https://goerli.etherscan.io/address/0xFA1D45343396F5640B1a677Ea93D808748714706#code) |
| Registry | Ethereum Goerli Testnet | 5 | [0xa87bc4C1Bc54E1C1B28d2dD942A094A6B665B8C9](https://goerli.etherscan.io/address/0xa87bc4C1Bc54E1C1B28d2dD942A094A6B665B8C9#code) |
| Annex | Ethereum Goerli Testnet | 5 | [0x0254C4467cBbdbe8d5E01e68de0DF7b20dD2A167](https://goerli.etherscan.io/address/0x0254C4467cBbdbe8d5E01e68de0DF7b20dD2A167#code) |

### Targets

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@prb/proxy",
"description": "Proxy contract to compose Ethereum transactions on behalf of the owner",
"version": "4.0.0-beta.4",
"version": "4.0.0-beta.5",
"author": {
"name": "Paul Razvan Berg",
"url": "https://github.com/PaulRBerg"
Expand Down Expand Up @@ -39,11 +39,12 @@
"scripts": {
"build": "forge build",
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
"clean": "rm -rf artifacts broadcast cache docs out-optimized out",
"clean": "rm -rf artifacts broadcast cache docs out out-optimized",
"lint": "pnpm lint:sol && pnpm prettier:check",
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
"gas:report": "forge test --gas-report --no-match-test \"test(Fuzz)?_RevertWhen_\"",
"gas:snapshot": "forge snapshot --no-match-test \"test(Fuzz)?_RevertWhen_\"",
"prepack": "bash ./shell/prepare-artifacts.sh",
"gas:snapshot:optimized": "pnpm build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --no-match-test \"test(Fuzz)?_RevertWhen_\"",
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""
Expand Down
6 changes: 5 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion remappings.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
@prb/contracts/=lib/prb-contracts/src/
@prb/test/=lib/prb-test/src/
forge-std/=lib/forge-std/src/
2 changes: 1 addition & 1 deletion src/PRBProxyAnnex.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ contract PRBProxyAnnex is
//////////////////////////////////////////////////////////////////////////*/

/// @inheritdoc IPRBProxyAnnex
string public constant override VERSION = "4.0.0-beta.4";
string public constant override VERSION = "4.0.0-beta.5";

/*//////////////////////////////////////////////////////////////////////////
NON-CONSTANT FUNCTIONS
Expand Down
2 changes: 1 addition & 1 deletion src/PRBProxyRegistry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ contract PRBProxyRegistry is IPRBProxyRegistry {
//////////////////////////////////////////////////////////////////////////*/

/// @inheritdoc IPRBProxyRegistry
string public constant override VERSION = "4.0.0-beta.4";
string public constant override VERSION = "4.0.0-beta.5";

/*//////////////////////////////////////////////////////////////////////////
PUBLIC STORAGE
Expand Down
2 changes: 1 addition & 1 deletion test/annex/version/version.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Annex_Test } from "../Annex.t.sol";
contract Version_Test is Annex_Test {
function test_Version() external {
string memory actualVersion = annex.VERSION();
string memory expectedVersion = "4.0.0-beta.4";
string memory expectedVersion = "4.0.0-beta.5";
assertEq(actualVersion, expectedVersion, "annex version mismatch");
}
}
2 changes: 1 addition & 1 deletion test/registry/version/version.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Registry_Test } from "../Registry.t.sol";
contract Version_Test is Registry_Test {
function test_Version() external {
string memory actualVersion = registry.VERSION();
string memory expectedVersion = "4.0.0-beta.4";
string memory expectedVersion = "4.0.0-beta.5";
assertEq(actualVersion, expectedVersion, "registry version mismatch");
}
}
Loading

0 comments on commit 2d3517f

Please sign in to comment.