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: handle multi calls on RPC starkNet_executeTxn #457

Conversation

stanleyyconsensys
Copy link
Collaborator

@stanleyyconsensys stanleyyconsensys commented Dec 10, 2024

This PR is to add multi-calls support on RPC starkNet_executeTxn
It includes:

  • refactor RPC starkNet_executeTxn with v2 transaction state data and multi-calls
  • add transaction utils for transaction related helper function
  • moving some logic from starkscan to transaction utils , as it can be share

Requirements:

Below PR has to merged before hand:

@stanleyyconsensys stanleyyconsensys requested a review from a team as a code owner December 10, 2024 06:23
@stanleyyconsensys stanleyyconsensys requested review from Akaryatrh and wantedsystem and removed request for a team December 10, 2024 06:23
@stanleyyconsensys stanleyyconsensys changed the title chore: refactor RPC starkNet_executeTxn with v2 transaction state data chore: add v2 transaction state data handle on RPC starkNet_executeTxn, starkNet_createAccount , starkNet_createAccountLegacy, starkNet_upgradeAccContract Dec 10, 2024
@stanleyyconsensys stanleyyconsensys changed the title chore: add v2 transaction state data handle on RPC starkNet_executeTxn, starkNet_createAccount , starkNet_createAccountLegacy, starkNet_upgradeAccContract chore: handle multi calls on RPC starkNet_executeTxn Dec 10, 2024
Copy link

sonarcloud bot commented Dec 10, 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

sonarcloud bot commented Dec 10, 2024

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

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
1.8% 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

@stanleyyconsensys stanleyyconsensys merged commit c363481 into feat/refactor-list-transactions-with-starkscan Dec 11, 2024
14 checks passed
@stanleyyconsensys stanleyyconsensys deleted the chore/update-execute-txn-with-new-txn-data branch December 11, 2024 00:53
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