Skip to content

Commit 2d3517f

Browse files
committed
docs: roll v4.0.0-beta.5
chore: remove unused remapping chore: add "prepack" script in "package.json" chore: update pnpm lockfile refactor: update precompiles
1 parent 2f16676 commit 2d3517f

File tree

10 files changed

+27
-12
lines changed

10 files changed

+27
-12
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Common Changelog](https://common-changelog.org/), and this project adheres to
66
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

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

17+
## [4.0.0-beta.5] - 2023-05-30
18+
19+
### Changed
20+
21+
- Change key name in `nextSeeds` (@PaulRBerg)
22+
- Simplify nesting structure in `script` (@PaulRBerg)
23+
- Revert with reason strings in precompiles (@PaulRBerg)
24+
- Various small improvements (@PaulRBerg)
25+
- Use relative paths in imports in `script` and `test` (@PaulRBerg)
26+
1627
## [4.0.0-beta.4] - 2023-05-19
1728

1829
### Changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ The registry and the enshrined target are deployed at the same address on the fo
108108

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

114114
### Targets
115115

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@prb/proxy",
33
"description": "Proxy contract to compose Ethereum transactions on behalf of the owner",
4-
"version": "4.0.0-beta.4",
4+
"version": "4.0.0-beta.5",
55
"author": {
66
"name": "Paul Razvan Berg",
77
"url": "https://github.com/PaulRBerg"
@@ -39,11 +39,12 @@
3939
"scripts": {
4040
"build": "forge build",
4141
"build:optimized": "FOUNDRY_PROFILE=optimized forge build",
42-
"clean": "rm -rf artifacts broadcast cache docs out-optimized out",
42+
"clean": "rm -rf artifacts broadcast cache docs out out-optimized",
4343
"lint": "pnpm lint:sol && pnpm prettier:check",
4444
"lint:sol": "forge fmt --check && pnpm solhint \"{script,src,test}/**/*.sol\"",
4545
"gas:report": "forge test --gas-report --no-match-test \"test(Fuzz)?_RevertWhen_\"",
4646
"gas:snapshot": "forge snapshot --no-match-test \"test(Fuzz)?_RevertWhen_\"",
47+
"prepack": "bash ./shell/prepare-artifacts.sh",
4748
"gas:snapshot:optimized": "pnpm build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --no-match-test \"test(Fuzz)?_RevertWhen_\"",
4849
"prettier:check": "prettier --check \"**/*.{json,md,yml}\"",
4950
"prettier:write": "prettier --write \"**/*.{json,md,yml}\""

pnpm-lock.yaml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

remappings.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
@prb/contracts/=lib/prb-contracts/src/
21
@prb/test/=lib/prb-test/src/
32
forge-std/=lib/forge-std/src/

src/PRBProxyAnnex.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ contract PRBProxyAnnex is
3434
//////////////////////////////////////////////////////////////////////////*/
3535

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

3939
/*//////////////////////////////////////////////////////////////////////////
4040
NON-CONSTANT FUNCTIONS

src/PRBProxyRegistry.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ contract PRBProxyRegistry is IPRBProxyRegistry {
3131
//////////////////////////////////////////////////////////////////////////*/
3232

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

3636
/*//////////////////////////////////////////////////////////////////////////
3737
PUBLIC STORAGE

test/annex/version/version.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Annex_Test } from "../Annex.t.sol";
66
contract Version_Test is Annex_Test {
77
function test_Version() external {
88
string memory actualVersion = annex.VERSION();
9-
string memory expectedVersion = "4.0.0-beta.4";
9+
string memory expectedVersion = "4.0.0-beta.5";
1010
assertEq(actualVersion, expectedVersion, "annex version mismatch");
1111
}
1212
}

test/registry/version/version.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Registry_Test } from "../Registry.t.sol";
66
contract Version_Test is Registry_Test {
77
function test_Version() external {
88
string memory actualVersion = registry.VERSION();
9-
string memory expectedVersion = "4.0.0-beta.4";
9+
string memory expectedVersion = "4.0.0-beta.5";
1010
assertEq(actualVersion, expectedVersion, "registry version mismatch");
1111
}
1212
}

0 commit comments

Comments
 (0)