Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to OZ 4.9.3 #2901

Merged
merged 4 commits into from
Nov 8, 2023
Merged

Upgrade to OZ 4.9.3 #2901

merged 4 commits into from
Nov 8, 2023

Conversation

yorhodes
Copy link
Member

@yorhodes yorhodes commented Nov 7, 2023

Description

  • Upgrades OpenZeppelin contracts to latest compatible version

Related issues

Backward compatibility

Yes

Testing

  • Unit Tests

@yorhodes yorhodes force-pushed the oz-dep branch 2 times, most recently from c4e5c7d to baae3ab Compare November 8, 2023 19:31
@yorhodes yorhodes changed the title Upgrade to OZ 4.9.3 and trim upgradeable fat Upgrade to OZ 4.9.3 Nov 8, 2023
@@ -69,7 +69,7 @@ contract MerkleTreeHook is AbstractPostDispatchHook, MailboxClient, Indexed {

// ensure messages which were not dispatched are not inserted into the tree
bytes32 id = message.id();
require(_isLatestDispatched(id), "message not dispatching");
require(id == mailbox.latestDispatchedId(), "message not dispatching");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
require(id == mailbox.latestDispatchedId(), "message not dispatching");
require(id == mailbox.latestDispatchedId(), "MerkleTreeHook: message not currently in transit");

@yorhodes yorhodes merged commit bf82623 into yarn-upgrade Nov 8, 2023
@yorhodes yorhodes deleted the oz-dep branch November 8, 2023 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants