Skip to content

Commit

Permalink
Merge branch 'master' into code-size-warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Amxx authored Oct 23, 2024
2 parents e781cd0 + 28aed34 commit 640787e
Show file tree
Hide file tree
Showing 296 changed files with 13,259 additions and 2,239 deletions.
5 changes: 0 additions & 5 deletions .changeset/chilled-walls-develop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-humans-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-cheetahs-check.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cool-mangos-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-crabs-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dirty-cobras-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-eyes-burn.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/eighty-hounds-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`Strings`: Add `parseUint`, `parseInt`, `parseHexUint` and `parseAddress` to parse strings into numbers and addresses. Also provide variants of these functions that parse substrings, and `tryXxx` variants that do not revert on invalid input.
5 changes: 0 additions & 5 deletions .changeset/eleven-planets-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/flat-turtles-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-steaks-exist.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-dodos-visit.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/four-chairs-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"openzeppelin-solidity": minor
---

`Clones`: Add `cloneWithImmutableArgs` and `cloneDeterministicWithImmutableArgs` variants that create clones with per-instance immutable arguments. The immutable arguments can be retrieved using `fetchCloneArgs`. The corresponding `predictDeterministicWithImmutableArgs` function is also included.
5 changes: 0 additions & 5 deletions .changeset/friendly-nails-push.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-bulldogs-turn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gorgeous-badgers-vanish.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/great-lions-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': patch
---

`VotesExtended`: Create an extension of `Votes` which checkpoints balances and delegates.
5 changes: 5 additions & 0 deletions .changeset/healthy-books-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`CAIP2` and `CAIP10`: Add libraries for formatting and parsing CAIP-2 and CAIP-10 identifiers.
5 changes: 0 additions & 5 deletions .changeset/heavy-baboons-give.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/hot-shrimps-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`Packing`: Add variants for packing `bytes10` and `bytes22`
5 changes: 0 additions & 5 deletions .changeset/kind-planets-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/light-news-listen.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/lovely-dodos-lay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`NoncesKeyed`: Add a variant of `Nonces` that implements the ERC-4337 entrypoint nonce system.
5 changes: 0 additions & 5 deletions .changeset/lucky-crews-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-eyes-teach.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nervous-pans-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nice-paws-pull.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/odd-files-protect.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/pink-wasps-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': patch
---

`GovernorCountingOverridable`: Add a governor counting module that enables token holders to override the vote of their delegate.
5 changes: 0 additions & 5 deletions .changeset/poor-chefs-cheat.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/proud-planes-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`Bytes`: Add a library of common operation that operate on `bytes` objects.
5 changes: 5 additions & 0 deletions .changeset/seven-donkeys-tap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': patch
---

Update some pragma directives to ensure that all file requirements match that of the files they import.
5 changes: 0 additions & 5 deletions .changeset/shiny-poets-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-swans-promise.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/small-seahorses-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`ERC7579Utils`: Add a reusable library to interact with ERC-7579 modular accounts
5 changes: 0 additions & 5 deletions .changeset/smart-bugs-switch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-falcons-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-singers-talk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-pumpkins-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thin-walls-drop.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/tricky-bats-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`ERC1363Utils`: Add helper similar to the existing `ERC721Utils` and `ERC1155Utils`
5 changes: 0 additions & 5 deletions .changeset/twenty-feet-grin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/violet-moons-tell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-sheep-cover.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/weak-roses-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'openzeppelin-solidity': minor
---

`ERC4337Utils`: Add a reusable library to manipulate user operations and interact with ERC-4337 contracts
5 changes: 0 additions & 5 deletions .changeset/wise-bobcats-speak.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-chicken-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-deers-walk.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/yellow-moles-hammer.md

This file was deleted.

1 change: 1 addition & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ coverage:
ignore:
- "test"
- "contracts/mocks"
- "contracts/vendor"
20 changes: 0 additions & 20 deletions .eslintrc

This file was deleted.

1 change: 1 addition & 0 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
set -euo pipefail

if [ "${CI:-"false"}" != "true" ]; then
npm run test:generation
npm run lint
fi
8 changes: 6 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
run: npm run test
- name: Check linearisation of the inheritance graph
run: npm run test:inheritance
- name: Check pragma consistency between files
run: npm run test:pragma
- name: Check proceduraly generated contracts are up-to-date
run: npm run test:generation
- name: Compare gas costs
Expand Down Expand Up @@ -68,6 +70,8 @@ jobs:
run: npm run test
- name: Check linearisation of the inheritance graph
run: npm run test:inheritance
- name: Check pragma consistency between files
run: npm run test:pragma
- name: Check storage layout
uses: ./.github/actions/storage-layout
continue-on-error: ${{ contains(github.event.pull_request.labels.*.name, 'breaking change') }}
Expand Down Expand Up @@ -125,8 +129,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run CodeSpell
uses: codespell-project/actions-codespell@v2.0
uses: codespell-project/actions-codespell@v2.1
with:
check_hidden: true
check_filenames: true
skip: package-lock.json,*.pdf
skip: package-lock.json,*.pdf,vendor
2 changes: 1 addition & 1 deletion .github/workflows/formal-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch: {}

env:
PIP_VERSION: '3.10'
PIP_VERSION: '3.11'
JAVA_VERSION: '11'
SOLC_VERSION: '0.8.20'

Expand Down
8 changes: 8 additions & 0 deletions .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ module.exports = {
fgrep: '[skip-on-coverage]',
invert: true,
},
// Work around stack too deep for coverage
configureYulOptimizer: true,
solcOptimizerDetails: {
yul: true,
yulDetails: {
optimizerSteps: '',
},
},
};
Loading

0 comments on commit 640787e

Please sign in to comment.