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

✅ Added tests for starknet_simulate_transactions and bump starknet.rs version to maintain compatibility with Deoxys #29

Merged
merged 10 commits into from
Jan 12, 2024

Conversation

Tbelleng
Copy link
Contributor

Adding following tests for simulate_transactions call

  1. fail_non_existing_block

  2. fail_max_fee_too_big

  3. fail_if_one_txn_cannot_be_executed

  4. works_ok_on_no_validate

  5. works_ok_on_validate_with_signature

  6. works_ok_on_validate_without_signature_with_skip_validate

Adding simulate transaction type for Ditto test, TODO : Add constant
…nsactions.rs to lib.rs

Transfert simulate_transactions utils from test_simulate_transactions.rs to lib.rs for a better code format
Changing tests results for better reliability
bump starknet.rs version to maintain compatibility with Deoxys
@Tbelleng
Copy link
Contributor Author

Last commit resolve #30

@Tbelleng Tbelleng changed the title ✅ Added tests for starknet_simulate_transactions ✅ Added tests for starknet_simulate_transactions and bump starknet.rs version to maintain compatibility with Deoxys Jan 11, 2024
unit_tests/src/lib.rs Outdated Show resolved Hide resolved
Improve code format
@antiyro antiyro merged commit dd994d0 into KasarLabs:main Jan 12, 2024
1 check passed
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