From f25df971e33c25ed6ec7a9b3fbbc710af572e17f Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Wed, 14 Jun 2023 23:14:21 -0300 Subject: [PATCH] update changesets update changeset --- .changeset/hot-coins-judge.md | 3 +-- .changeset/tough-drinks-hammer.md | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/tough-drinks-hammer.md diff --git a/.changeset/hot-coins-judge.md b/.changeset/hot-coins-judge.md index 5740e43a99e..e544af46723 100644 --- a/.changeset/hot-coins-judge.md +++ b/.changeset/hot-coins-judge.md @@ -1,6 +1,5 @@ --- -'openzeppelin-solidity': patch +'openzeppelin-solidity': minor --- `Arrays`: Add `unsafeMemoryAccess` helpers to read from a memory array without checking the length. -`ERC1155`: optimize memory accesses diff --git a/.changeset/tough-drinks-hammer.md b/.changeset/tough-drinks-hammer.md new file mode 100644 index 00000000000..51b3836e456 --- /dev/null +++ b/.changeset/tough-drinks-hammer.md @@ -0,0 +1,5 @@ +--- +'openzeppelin-solidity': patch +--- + +`ERC1155`: Optimize array accesses by skipping bounds checking when unnecessary.