-
Notifications
You must be signed in to change notification settings - Fork 4
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
Re enroll #4
Re enroll #4
Conversation
byteZorvin
commented
Aug 1, 2024
- This adds the reactivate and unblock functionality for a token
- A token that has been active can be only be deactivated
- Only Unknown token can be blocked
- Adds relevant testcases
Co-authored-by: Apoorv Sadana <[email protected]>
tests/token_bridge_test.cairo
Outdated
#[test] | ||
fn unblock_token_ok() { | ||
let mut mock = mock_state_testing(); | ||
let usdc_address = deploy_erc20("usdc", "usdc"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need to deploy a token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh ya makes sense, can mock an address to do so as well. Do you want me change this in this pr?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, makes sense to do it here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated ✅