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

Add unit tests for token bridge L2 contracts #74

Merged
merged 29 commits into from
Mar 5, 2024
Merged

Add unit tests for token bridge L2 contracts #74

merged 29 commits into from
Mar 5, 2024

Conversation

gvladika
Copy link
Contributor

@gvladika gvladika commented Feb 8, 2024

No description provided.

@cla-bot cla-bot bot added the cla-signed label Feb 8, 2024
@gvladika gvladika marked this pull request as ready for review February 9, 2024 17:52
@gvladika gvladika requested a review from gzeoneth February 9, 2024 17:52
Copy link
Member

@gzeoneth gzeoneth left a comment

Choose a reason for hiding this comment

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

need to fix a new slither test

INFO:Detectors:
0: Multiple retryable tickets created in the same function:
	 -_deployL2Factory(inbox,gasPriceBid,isUsingFeeToken) (contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol#341)
	 -_deployL2Factory(inbox,gasPriceBid,isUsingFeeToken) (contracts/tokenbridge/ethereum/L1AtomicTokenBridgeCreator.sol#341)
1: Multiple retryable tickets created in the same function:
	 -_createRetryableUsingEth(retryableParams,maxSubmissionCost,retryableValue,data) (contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol#113)
	 -_createRetryableUsingEth(retryableParams,maxSubmissionCost,retryableValue,data) (contracts/tokenbridge/ethereum/L1TokenBridgeRetryableSender.sol#113)
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#out-of-order-retryable-transactions
@gvladika
Copy link
Contributor Author

gvladika commented Mar 5, 2024

need to fix a new slither test

Updated triage db

@gzeoneth gzeoneth merged commit b3894ec into main Mar 5, 2024
9 checks passed
@gzeoneth gzeoneth deleted the unit-tests branch March 5, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants