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

chore: refactor TransactionStateManager to handle new transaction data structure #450

Merged
merged 32 commits into from
Dec 5, 2024

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Dec 5, 2024

This PR is to refactor TransactionStateManager to handle new transaction data structure.

it include:

  • adding dataVersion filter on findTransactions to make sure it only return new version data
  • update test helper to only generate transactions that fit to new transaction data structure.

it wont break current snap work flow, as get data from TransactionStateManager is not yet being used in any RPC / function

Requirements:
Below PR(s) has to merged beforehand

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner December 5, 2024 03:54
@stanleyyconsensys stanleyyconsensys requested review from Julink-eth and jonesho and removed request for a team December 5, 2024 03:54
Copy link

sonarqubecloud bot commented Dec 5, 2024

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-wallet-ui'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Copy link

sonarqubecloud bot commented Dec 5, 2024

Quality Gate Passed Quality Gate passed for 'consensys_starknet-snap-starknet-snap'

Issues
2 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Copy link
Collaborator

@khanti42 khanti42 left a comment

Choose a reason for hiding this comment

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

LGTM

@khanti42 khanti42 added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit bc1b207 Dec 5, 2024
14 checks passed
@khanti42 khanti42 deleted the chore/refactor-txn-mgr branch December 5, 2024 07:51
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