Skip to content

Commit

Permalink
feat: add native to testing suite
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-pino authored and varex83 committed Oct 17, 2024
1 parent ecae898 commit a0aef94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions crates/blockifier/src/test_utils/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ impl FeatureContract {
match self.cairo_version() {
CairoVersion::Cairo0 => "0",
CairoVersion::Cairo1 | CairoVersion::Native => "1",
CairoVersion::Native => "_native",
},
self.get_non_erc20_base_name()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const CAIRO_NATIVE_FEATURE_CONTRACTS_DIR: &str = "feature_contracts/cairo1";
const COMPILED_CONTRACTS_SUBDIR_CAIRO0: &str = "compiled";
const COMPILED_CONTRACTS_SUBDIR_CASM: &str = "compiled_casm";
const COMPILED_CONTRACTS_SUBDIR_SIERRA: &str = "compiled_sierra";

const FIX_COMMAND: &str = "FIX_FEATURE_TEST=1 cargo test -p blockifier --test \
feature_contracts_compatibility_test --features testing -- \
--include-ignored";
Expand Down

0 comments on commit a0aef94

Please sign in to comment.