We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
Transferring from #484:
Refactoring will probably have to deal with this problem of redundant state committing:
In handle_accepted_transaction, we call commit_with_diff and optionally generate_new_block_and_state: https://github.com/0xSpaceShard/starknet-devnet-rs/blob/3ad81456092a2da939be1f590855cea2c18ce40c/crates/starknet-devnet-core/src/starknet/mod.rs#L457-L480
handle_accepted_transaction
commit_with_diff
generate_new_block_and_state
In generate_new_block_and_state we call commit_with_diff again: https://github.com/0xSpaceShard/starknet-devnet-rs/blob/3ad81456092a2da939be1f590855cea2c18ce40c/crates/starknet-devnet-core/src/starknet/mod.rs#L335
Sorry, something went wrong.
mikiw
Successfully merging a pull request may close this issue.
No description provided.
The text was updated successfully, but these errors were encountered: