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

Fix forge tests post V3 #2661

Merged
merged 8 commits into from
Aug 17, 2023
Merged

Fix forge tests post V3 #2661

merged 8 commits into from
Aug 17, 2023

Conversation

aroralanuk
Copy link
Contributor

@aroralanuk aroralanuk commented Aug 15, 2023

Description

  • fixes GasRouter expectRevert message
  • added TestMerkleRootHook for proof() and fixes MerkleRootMultisig test
  • fixes ERC5164 tests post v3 changes

Drive-by changes

  • added contract name to mailbox and abstractHook error messages
  • removed unnecessary tests for "message too large"
  • downgrade slither in actions to 0.3.0 because of their recent "missing inheritance" bug on main

Related issues

  • V3

Backward compatibility

Yes

Testing

Unit tests

@aroralanuk aroralanuk changed the title Kunal/fix-forge-t Fix forge tests post V3 Aug 15, 2023
.github/workflows/node.yml Show resolved Hide resolved
@@ -144,7 +174,7 @@ contract ERC5164ISMTest is Test {
vm.startPrank(address(executor));

ism.verifyMessageId(messageId);
assertTrue(ism.verifiedMessages(messageId));
assertTrue(ism.verifiedMessages(messageId).isBitSet(255));
Copy link
Member

Choose a reason for hiding this comment

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

hmm
is there a simpler boolean interface for external consumption?

solidity/test/lib/mailboxes.ts Show resolved Hide resolved
solidity/test/mailbox.test.ts Show resolved Hide resolved
@aroralanuk aroralanuk merged commit 2e67868 into v3 Aug 17, 2023
@aroralanuk aroralanuk deleted the kunal/fix-forge-t branch August 17, 2023 18:08
yorhodes pushed a commit that referenced this pull request Aug 18, 2023
- fixes GasRouter expectRevert message
- added TestMerkleRootHook for proof() and fixes MerkleRootMultisig test
- fixes ERC5164 tests post v3 changes

- added contract name to mailbox and abstractHook error messages
- removed unnecessary tests for "message too large"
- downgrade slither in actions to 0.3.0 because of their recent "missing
inheritance" bug on main

- V3

Yes

Unit tests
@yorhodes yorhodes mentioned this pull request Aug 18, 2023
yorhodes pushed a commit that referenced this pull request Sep 13, 2023
- fixes GasRouter expectRevert message
- added TestMerkleRootHook for proof() and fixes MerkleRootMultisig test
- fixes ERC5164 tests post v3 changes

- added contract name to mailbox and abstractHook error messages
- removed unnecessary tests for "message too large"
- downgrade slither in actions to 0.3.0 because of their recent "missing
inheritance" bug on main

- V3

Yes

Unit tests
@yorhodes yorhodes mentioned this pull request Nov 16, 2023
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