madara-alliance / madara

Madara is a powerful hybrid Starknet client written in Rust.
https://madara.build
Apache License 2.0
77 stars 30 forks source link

feat: class import #235

Closed jbcaron closed 1 month ago

jbcaron commented 2 months ago

Pull Request type

What is the current behavior?

Resolves: #233

What is the new behavior?

Does this introduce a breaking change?

Other information

github-actions[bot] commented 2 months ago

Coverage report

The coverage rate is 70.13647742873293%

57% of new lines are covered.

Diff Coverage details (click to unfold) ### crates/client/rpc/src/test_utils.rs `100.0%` of new lines are covered ### crates/primitives/transactions/src/compute_hash.rs `100.0%` of new lines are covered ### crates/primitives/class/src/class_hash.rs `91.42857142857143%` of new lines are covered ### crates/primitives/class/src/class_update.rs `0.0%` of new lines are covered ### crates/client/block_import/src/pre_validate.rs `84.61538461538461%` of new lines are covered ### crates/primitives/state_update/src/lib.rs `0.0%` of new lines are covered ### crates/client/rpc/src/versions/v0_7_1/methods/read/get_class_at.rs `100.0%` of new lines are covered ### crates/primitives/block/src/lib.rs `25.0%` of new lines are covered ### crates/client/rpc/src/providers/mempool.rs `0.0%` of new lines are covered ### crates/primitives/class/src/into_starknet_core.rs `100.0%` of new lines are covered ### crates/client/rpc/src/versions/v0_7_1/methods/trace/simulate_transactions.rs `0.0%` of new lines are covered ### crates/primitives/transactions/src/broadcasted_to_blockifier.rs `0.0%` of new lines are covered ### crates/client/rpc/src/utils/transaction.rs `0.0%` of new lines are covered ### crates/client/db/src/storage_updates.rs `100.0%` of new lines are covered ### crates/primitives/chain_config/src/chain_config.rs `100.0%` of new lines are covered ### crates/primitives/class/src/compile.rs `76.59574468085106%` of new lines are covered ### crates/client/sync/src/fetch/fetchers.rs `89.79591836734694%` of new lines are covered ### crates/client/rpc/src/versions/v0_7_1/methods/read/get_class.rs `100.0%` of new lines are covered ### crates/primitives/class/src/lib.rs `46.666666666666664%` of new lines are covered ### crates/client/rpc/src/versions/v0_7_1/methods/read/estimate_fee.rs `0.0%` of new lines are covered ### crates/primitives/chain_config/src/starknet_version.rs `56.0%` of new lines are covered ### crates/client/db/src/class_db.rs `70.73170731707317%` of new lines are covered ### crates/client/exec/src/blockifier_state_adapter.rs `0.0%` of new lines are covered ### crates/client/block_import/src/types.rs `100.0%` of new lines are covered ### crates/primitives/transactions/src/from_broadcasted_transaction.rs `0.0%` of new lines are covered ### crates/primitives/block/src/header.rs `100.0%` of new lines are covered