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

Feature/review pre audit #67

Merged
merged 4 commits into from
May 27, 2024
Merged

Feature/review pre audit #67

merged 4 commits into from
May 27, 2024

Conversation

alfredolopez80
Copy link
Collaborator

No description provided.

@alfredolopez80 alfredolopez80 requested a review from jozer-rami May 15, 2024 08:43
Comment on lines +17 to +28
// These are different chain test scenarios, specifically for the execTransactionOnBehalf function in Polygon and Sepolia.
// We test each scenario independently manually and get the results on the Live Mainnet on Polygon and Sepolia.
// testCannot_ExecTransactionOnBehalf_Wrapper_ExecTransactionOnBehalf_ChildSquad_over_RootSafe_With_SAFE(); // ✅
// testCan_ExecTransactionOnBehalf_ROOT_SAFE_as_SAFE_is_TARGETS_ROOT_SameTree(); // ✅
// testCan_ExecTransactionOnBehalf_as_EOA_is_NOT_ROLE_with_RIGHTS_SIGNATURES(); // ✅
// testCan_ExecTransactionOnBehalf_SUPER_SAFE_as_SAFE_is_TARGETS_LEAD_SameTree(); // ✅
// testRevert_ExecTransactionOnBehalf_as_EOA_is_NOT_ROLE_with_WRONG_SIGNATURES(); // ✅
// testRevert_ExecTransactionOnBehalf_as_EOA_is_NOT_ROLE_with_INVALID_SIGNATURES(); // ✅
// testRevertInvalidSignatureExecOnBehalf(); // ✅
// testRevertInvalidAddressProvidedExecTransactionOnBehalfScenarioOne(); // ✅
// testRevertZeroAddressProvidedExecTransactionOnBehalfScenarioTwo(); // ✅
// testRevertSuperSafeExecOnBehalf(); // ✅
Copy link
Contributor

Choose a reason for hiding this comment

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

If we are not using these ones, just remove it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not in this case we used, the point is you can run one by one not all in the same moment because are the on-chain test for verify all process in Unit-test on foundry

script/SkipExecutionOnBehalf.s.sol Outdated Show resolved Hide resolved
script/SkipExecutionOnBehalf.s.sol Outdated Show resolved Hide resolved
script/SkipExecutionOnBehalf.s.sol Outdated Show resolved Hide resolved
script/SkipExecutionOnBehalf.s.sol Outdated Show resolved Hide resolved
test/ExecTransactionOnBehalf.t.sol Show resolved Hide resolved
test/ExecTransactionOnBehalf.t.sol Outdated Show resolved Hide resolved
@alfredolopez80 alfredolopez80 merged commit 70923a6 into dev May 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants