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

Create token v2 tests #582

Merged
merged 4 commits into from
Nov 1, 2024
Merged

Create token v2 tests #582

merged 4 commits into from
Nov 1, 2024

Conversation

rtso
Copy link
Collaborator

@rtso rtso commented Oct 31, 2024

Description

Add tests for token v2 processor
Test coverage increased:
Before: Screenshot 2024-10-31 at 8 47 41 PM
After: Screenshot 2024-10-31 at 8 56 08 PM

To get even higher coverage we can add some tests for token v1s

Testing

test_token_v2_burn_event_v1

Screenshot 2024-10-31 at 5 24 54 PM
Screenshot 2024-10-31 at 8 05 54 PM

test_token_v2_burn_event_v2

Screenshot 2024-10-31 at 8 09 45 PM

test_token_v2_concurrent_aptos_mint

Screenshot 2024-10-31 at 8 27 33 PM Screenshot 2024-10-31 at 8 25 05 PM Screenshot 2024-10-31 at 8 20 33 PM Screenshot 2024-10-31 at 8 11 32 PM

test_token_v2_fixed_supply

Screenshot 2024-10-31 at 8 36 02 PM Screenshot 2024-10-31 at 8 34 57 PM (token ownership amount in BQ is incorrect) Screenshot 2024-10-31 at 8 33 58 PM Screenshot 2024-10-31 at 8 32 32 PM

test_token_v2_mint_and_transfer_event_v1

Number of token activities matches and data is correct
Screenshot 2024-10-31 at 8 39 45 PM

test_token_v2_mutation_event

Screenshot 2024-10-31 at 8 41 07 PM

test_token_v2_unlimited_supply

Screenshot 2024-10-31 at 8 42 21 PM

@rtso rtso changed the title create token v2 tests Create token v2 tests Oct 31, 2024
Copy link
Collaborator Author

rtso commented Oct 31, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @rtso and the rest of your teammates on Graphite Graphite

@rtso rtso marked this pull request as ready for review October 31, 2024 20:00
@rtso rtso marked this pull request as draft October 31, 2024 20:00
@rtso rtso requested review from dermanyang, yuunlimm and a team November 1, 2024 00:42
@rtso rtso marked this pull request as ready for review November 1, 2024 00:42
Copy link
Contributor

@yuunlimm yuunlimm left a comment

Choose a reason for hiding this comment

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

@rtso rtso merged commit ed32dad into main Nov 1, 2024
7 checks passed
@rtso rtso deleted the 10-31-create_token_v2_tests branch November 1, 2024 17:45
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