Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Oct 14, 2024
1 parent 35dfdb2 commit 05155a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/katana/executor/tests/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn test_executor_with_valid_blocks_impl<EF: ExecutorFactory>(
// the contract address of the main account used to send most of the transactions (see the
// `valid_blocks` fixture)
let main_account =
address!("0x5a37d83d451063858217e9c510d6f45d6bd37ff8664a7c0466329316f7a2891");
address!("0x6850acd801c26e03cb7f25062731ba1a5c559b430c2ad94f41be334a3288c38");
// the contract address of the account deployed using the `DeployAccount` tx (see the
// `valid_blocks` fixture)
let new_acc = address!("0x3ddfa445a70b927497249f94ff7431fc2e2abc761a34417fd4891beb7c2db85");
Expand Down Expand Up @@ -197,7 +197,7 @@ fn test_executor_with_valid_blocks_impl<EF: ExecutorFactory>(
felt!("0x1b39"),
felt!("0x0"),
// this address must match with the `sender_address` in `valid_blocks` fixture
felt!("0x5a37d83d451063858217e9c510d6f45d6bd37ff8664a7c0466329316f7a2891"),
felt!("0x6850acd801c26e03cb7f25062731ba1a5c559b430c2ad94f41be334a3288c38"),
],
);

Expand Down
2 changes: 1 addition & 1 deletion crates/katana/executor/tests/fixtures/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub fn valid_blocks() -> [ExecutableBlock; 3] {
// one of the accounts that is generated by the `genesis` fixture. also one of the
// accounts generated by katana.
let sender_address =
address!("0x5a37d83d451063858217e9c510d6f45d6bd37ff8664a7c0466329316f7a2891");
address!("0x6850acd801c26e03cb7f25062731ba1a5c559b430c2ad94f41be334a3288c38");

let gas_prices = GasPrices { eth: 100 * u128::pow(10, 9), strk: 100 * u128::pow(10, 9) };

Expand Down
2 changes: 1 addition & 1 deletion crates/katana/primitives/src/genesis/constant.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub const DEFAULT_LEGACY_UDC_COMPILED_CLASS_HASH: CompiledClassHash = DEFAULT_LE

/// The class hash of [`DEFAULT_ACCOUNT_CLASS`].
pub const DEFAULT_ACCOUNT_CLASS_HASH: ClassHash =
felt!("0x06599b8b9b4b4d65da09c8f5bede6046908452fa8e112d6ad4a2f979a5e65bbd");
felt!("0x03a1cb99c855ca8ff11633e37a0a971e2af84239f127ff3022ce5d4c2dbf50cb");

/// The compiled class hash of [`DEFAULT_ACCOUNT_CLASS`].
pub const DEFAULT_ACCOUNT_COMPILED_CLASS_HASH: CompiledClassHash =
Expand Down

0 comments on commit 05155a1

Please sign in to comment.