Skip to content

Commit 9d08a58

Browse files
Dargon789ernestognwheueristikMaksgithub-actions[bot]
authored
Test CI/CD OpenZeppelin (#7)
* Update ReentrancyGuardTransient documentation (OpenZeppelin#5417) * Optimize `MerkleTree` for loops by using `uint256` iterators (OpenZeppelin#5415) Co-authored-by: Ernesto García <[email protected]> * Update `_revokeRole` documentation in AccessControl (OpenZeppelin#5321) Co-authored-by: Ernesto García <[email protected]> * Merge release-v5.2 branch (OpenZeppelin#5424) Signed-off-by: Hadrien Croubois <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Sam Bugs <[email protected]> Co-authored-by: Ernesto García <[email protected]> Co-authored-by: Arr00 <[email protected]> Co-authored-by: wizard <[email protected]> Co-authored-by: leopardracer <[email protected]> Co-authored-by: cairo <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <[email protected]> Co-authored-by: Simka <[email protected]> Co-authored-by: Voronor <[email protected]> * Add a Calldata library with `emptyBytes` and `emptyString` functions (OpenZeppelin#5422) Co-authored-by: Ernesto García <[email protected]> * Update governor docs (OpenZeppelin#5420) * Add missing `Calldata`, `Bytes`, `CAIP2` and `CAIP10` API references (OpenZeppelin#5428) * Expose `_isTrustedByTarget` internally in ERC2771Forwarder (OpenZeppelin#5416) * Update LICENSE (OpenZeppelin#5434) * Refactor EnumerableSet.behavior.js for reuse in the community repo (OpenZeppelin#5441) * Replace `overriden` with `overridden` in GovernorCountingOverridable.sol (OpenZeppelin#5446) Co-authored-by: Arr00 <[email protected]> Co-authored-by: ernestognw <[email protected]> * Remove Unnecessary Initialisation of `_paused` (OpenZeppelin#5448) Co-authored-by: Ernesto García <[email protected]> * Fix Broken Docs References (OpenZeppelin#5436) * Update actions/upload-artifact action to v4 (OpenZeppelin#4826) * Remove unused `setBaseURI` tests (OpenZeppelin#5456) Co-authored-by: Hadrien Croubois <[email protected]> * Group typographical errors (OpenZeppelin#5443) Co-authored-by: futreall <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: Dmytrol <[email protected]> Co-authored-by: Noisy <[email protected]> Co-authored-by: Danil <[email protected]> Co-authored-by: CrazyFrog <[email protected]> Co-authored-by: Bryer <[email protected]> Co-authored-by: Viktor Pavlik <[email protected]> Co-authored-by: Skylar Ray <[email protected]> Co-authored-by: Brawn <[email protected]> Co-authored-by: fuder.eth <[email protected]> Co-authored-by: FT <[email protected]> Co-authored-by: Ann Wagner <[email protected]> Co-authored-by: Hopium <[email protected]> Co-authored-by: Arr00 <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]> * Fix interface docs ordering and add missing interface (OpenZeppelin#5460) * Add a governor extension that implements a proposal guardian (OpenZeppelin#5303) Co-authored-by: Arr00 <[email protected]> Co-authored-by: Ernesto García <[email protected]> * Fix the CLI output of formal verification runs (OpenZeppelin#5445) * Update dependency halmos to v0.2.4 (OpenZeppelin#5461) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Use stable foundry version in CI (OpenZeppelin#5465) * Add stake management function to ERC4337Utils (OpenZeppelin#5471) * Add forum badge correct link (OpenZeppelin#5481) * SafeERC20.trySafeTransfer{,from} (OpenZeppelin#5483) * Improve promise rejections handling in hardhat/async-test-sanity.js (OpenZeppelin#5429) Co-authored-by: Arr00 <[email protected]> * Use slither v0.10.4 (OpenZeppelin#5488) * Add ERC6909 Implementation along with extensions (OpenZeppelin#5394) Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Ernesto García <[email protected]> * Rename ERC4337Utils ENTRYPOINT to ENTRYPOINT_V07 (OpenZeppelin#5472) Co-authored-by: Hadrien Croubois <[email protected]> * Add Bytes32x2Set (OpenZeppelin#5442) Co-authored-by: Ernesto García <[email protected]> * Add clear function to Enumerable{Set,Map} (OpenZeppelin#5486) Co-authored-by: Hadrien Croubois <[email protected]> * Make set-max-old-space-size.sh compatible with sh (OpenZeppelin#5493) Co-authored-by: Hadrien Croubois <[email protected]> * Update FUNDING.json (OpenZeppelin#5496) Co-authored-by: Hadrien Croubois <[email protected]> * Update FUNDING.json hierarchy (OpenZeppelin#5500) Co-authored-by: Hadrien Croubois <[email protected]> * Test behavior of SignatureChecker against the identity precompile (0x4) (OpenZeppelin#5501) * Treat code-size warnings as errors (OpenZeppelin#5101) Co-authored-by: Hadrien Croubois <[email protected]> * Make `TimelockController` receive function virtual (OpenZeppelin#5506) Co-authored-by: Arr00 <[email protected]> Co-authored-by: Hadrien Croubois <[email protected]> --------- Signed-off-by: Hadrien Croubois <[email protected]> Co-authored-by: Ernesto García <[email protected]> Co-authored-by: Michael <[email protected]> Co-authored-by: Maks <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Hadrien Croubois <[email protected]> Co-authored-by: Sam Bugs <[email protected]> Co-authored-by: Arr00 <[email protected]> Co-authored-by: wizard <[email protected]> Co-authored-by: leopardracer <[email protected]> Co-authored-by: cairo <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Francisco Giordano <[email protected]> Co-authored-by: Simka <[email protected]> Co-authored-by: Voronor <[email protected]> Co-authored-by: Eric Lau <[email protected]> Co-authored-by: planetBoy <[email protected]> Co-authored-by: sudo rm -rf --no-preserve-root / <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Renan Souza <[email protected]> Co-authored-by: futreall <[email protected]> Co-authored-by: Marco <[email protected]> Co-authored-by: Dmitry <[email protected]> Co-authored-by: Dmytrol <[email protected]> Co-authored-by: Noisy <[email protected]> Co-authored-by: Danil <[email protected]> Co-authored-by: CrazyFrog <[email protected]> Co-authored-by: Bryer <[email protected]> Co-authored-by: Viktor Pavlik <[email protected]> Co-authored-by: Skylar Ray <[email protected]> Co-authored-by: Brawn <[email protected]> Co-authored-by: fuder.eth <[email protected]> Co-authored-by: FT <[email protected]> Co-authored-by: Ann Wagner <[email protected]> Co-authored-by: Hopium <[email protected]> Co-authored-by: Yan Victor SN <[email protected]> Co-authored-by: Ursula <[email protected]> Co-authored-by: Michalis Kargakis <[email protected]> Co-authored-by: luca <[email protected]> Co-authored-by: Jonas <[email protected]> Co-authored-by: Joseph Delong <[email protected]>
1 parent 90cbc00 commit 9d08a58

File tree

147 files changed

+2258
-325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+2258
-325
lines changed

.changeset/brown-seals-sing.md

+5

.changeset/brown-turkeys-marry.md

+5

.changeset/dirty-bananas-shake.md

+5

.changeset/eighty-hounds-promise.md

-5
This file was deleted.

.changeset/famous-timers-compare.md

+5

.changeset/four-chairs-help.md

-5
This file was deleted.

.changeset/good-cameras-rush.md

+5

.changeset/good-cameras-serve.md

+5

.changeset/gorgeous-apes-jam.md

+5

.changeset/great-lions-hear.md

-5
This file was deleted.

.changeset/green-drinks-report.md

+5

.changeset/healthy-books-shout.md

-5
This file was deleted.

.changeset/hot-shrimps-wait.md

-5
This file was deleted.

.changeset/lovely-dodos-lay.md

-5
This file was deleted.

.changeset/lucky-teachers-sip.md

+5

.changeset/pink-wasps-hammer.md

-5
This file was deleted.

.changeset/pretty-lobsters-tan.md

+5

.changeset/proud-cooks-do.md

+5

.changeset/proud-planes-arrive.md

-5
This file was deleted.

.changeset/seven-donkeys-tap.md

-5
This file was deleted.

.changeset/sixty-tips-wink.md

+5

.changeset/small-seahorses-bathe.md

-5
This file was deleted.

.changeset/ten-hats-begin.md

+5

.changeset/ten-peas-mix.md

+5

.changeset/tricky-bats-pretend.md

-5
This file was deleted.

.changeset/weak-roses-bathe.md

-5
This file was deleted.

.github/actions/gas-compare/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ runs:
4444
shell: bash
4545
- name: Save report
4646
if: github.event_name != 'pull_request'
47-
uses: actions/upload-artifact@v3
47+
uses: actions/upload-artifact@v4
4848
with:
4949
name: gasreport
50+
overwrite: true
5051
path: ${{ inputs.out_report }}

.github/actions/setup/action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ runs:
1919
- name: Install Foundry
2020
uses: foundry-rs/foundry-toolchain@v1
2121
with:
22-
version: nightly
22+
version: stable

.github/actions/storage-layout/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ runs:
5050
shell: bash
5151
- name: Save artifacts
5252
if: github.event_name != 'pull_request'
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: layout
56+
overwrite: true
5657
path: ${{ inputs.out_layout }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ npm-debug.log
3737

3838
# docs artifacts
3939
docs/modules/api
40+
build/site
4041

4142
# only used to package @openzeppelin/contracts
4243
contracts/build/

CHANGELOG.md

+51-1

FUNDING.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@
33
"ethereum": {
44
"ownedBy": "0xAeb37910f93486C85A1F8F994b67E8187554d664"
55
}
6+
},
7+
"opRetro": {
8+
"projectId": "0x939241afa4c4b9e1dda6b8250baa8f04fa8b0debce738cfd324c0b18f9926d25"
69
}
710
}

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2024 Zeppelin Group Ltd
3+
Copyright (c) 2016-2025 Zeppelin Group Ltd
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

README.md

+2-2

RELEASING.md

+1-1

SECURITY.md

+1-1

audits/2017-03.md

+1-1

certora/README.md

+2-2

certora/run.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ function writeEntry(spec, contract, success, url) {
160160
formatRow(
161161
spec,
162162
contract,
163-
success ? ':x:' : ':heavy_check_mark:',
163+
success ? ':heavy_check_mark:' : ':x:',
164164
url ? `[link](${url?.replace('/output/', '/jobStatus/')})` : 'error',
165165
url ? `[link](${url})` : 'error',
166166
),

certora/specs/AccessControlDefaultAdminRules.spec

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ rule renounceRoleEffect(env e, bytes32 role) {
176176

177177
/*
178178
┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
179-
│ Rule: defaultAdmin is only affected by accepting an admin transfer or renoucing
179+
│ Rule: defaultAdmin is only affected by accepting an admin transfer or renouncing
180180
└─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
181181
*/
182182
rule noDefaultAdminChange(env e, method f, calldataarg args) {
@@ -188,7 +188,7 @@ rule noDefaultAdminChange(env e, method f, calldataarg args) {
188188
f.selector == sig:acceptDefaultAdminTransfer().selector ||
189189
f.selector == sig:renounceRole(bytes32,address).selector
190190
),
191-
"default admin is only affected by accepting an admin transfer or renoucing";
191+
"default admin is only affected by accepting an admin transfer or renouncing";
192192
}
193193

194194
/*

certora/specs/ERC20FlashMint.spec

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ methods {
1818
*/
1919
ghost mapping(address => mathint) trackedMintAmount;
2020
ghost mapping(address => mathint) trackedBurnAmount;
21-
ghost mapping(address => mapping(address => mathint)) trackedTransferedAmount;
21+
ghost mapping(address => mapping(address => mathint)) trackedTransferredAmount;
2222

2323
function specUpdate(address from, address to, uint256 amount) {
2424
if (from == 0 && to == 0) { assert(false); } // defensive
@@ -28,7 +28,7 @@ function specUpdate(address from, address to, uint256 amount) {
2828
} else if (to == 0) {
2929
trackedBurnAmount[from] = amount;
3030
} else {
31-
trackedTransferedAmount[from][to] = amount;
31+
trackedTransferredAmount[from][to] = amount;
3232
}
3333
}
3434

@@ -51,5 +51,5 @@ rule checkMintAndBurn(env e) {
5151

5252
assert trackedMintAmount[receiver] == to_mathint(amount);
5353
assert trackedBurnAmount[receiver] == amount + to_mathint(recipient == 0 ? fees : 0);
54-
assert (fees > 0 && recipient != 0) => trackedTransferedAmount[receiver][recipient] == to_mathint(fees);
54+
assert (fees > 0 && recipient != 0) => trackedTransferredAmount[receiver][recipient] == to_mathint(fees);
5555
}

contracts/access/AccessControl.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ abstract contract AccessControl is Context, IAccessControl, ERC165 {
191191
}
192192

193193
/**
194-
* @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.
194+
* @dev Attempts to revoke `role` from `account` and returns a boolean indicating if `role` was revoked.
195195
*
196196
* Internal function without access restriction.
197197
*

0 commit comments

Comments
 (0)