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

Withdrawal tests #11

Merged
merged 71 commits into from
Aug 20, 2024
Merged

Withdrawal tests #11

merged 71 commits into from
Aug 20, 2024

Conversation

byteZorvin
Copy link
Member

  • This adds withdrawal limit component tests

src/withdrawal_limit/mock.cairo Outdated Show resolved Hide resolved
src/withdrawal_limit/mock.cairo Outdated Show resolved Hide resolved
}


pub fn deploy_erc20(name: ByteArray, symbol: ByteArray) -> ContractAddress {
Copy link
Contributor

Choose a reason for hiding this comment

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

we already have this function in other test cases, can we not move to utils and reuse?

Copy link
Member Author

Choose a reason for hiding this comment

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

Did not find a way to import files from the tests/ folder into src/ so had to replicate

Copy link
Contributor

Choose a reason for hiding this comment

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

can you create an issue for this w/ an enhancement tag and add a todo on code as well

src/withdrawal_limit/tests/withdrawal_limit_test.cairo Outdated Show resolved Hide resolved
src/withdrawal_limit/tests/withdrawal_limit_test.cairo Outdated Show resolved Hide resolved
src/withdrawal_limit/tests/withdrawal_limit_test.cairo Outdated Show resolved Hide resolved
src/withdrawal_limit/tests/withdrawal_limit_test.cairo Outdated Show resolved Hide resolved
src/withdrawal_limit/tests/withdrawal_limit_test.cairo Outdated Show resolved Hide resolved
@apoorvsadana apoorvsadana merged commit b753a64 into main Aug 20, 2024
2 checks 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