Skip to content

Commit

Permalink
fix: add missing param
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Aug 11, 2023
1 parent 19f4675 commit 4f91334
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/tests/test_naming.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ fn deploy() -> INamingDispatcher {
let admin = 0x123;
calldata.append(starknetid);
calldata.append(pricing.into());
calldata.append(0);
calldata.append(admin);
let address = utils::deploy(Naming::TEST_CLASS_HASH, calldata);
INamingDispatcher { contract_address: address }
Expand Down
1 change: 0 additions & 1 deletion src/tests/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use array::ArrayTrait;
use core::result::ResultTrait;
use option::OptionTrait;
use starknet::{class_hash::Felt252TryIntoClassHash, ContractAddress, SyscallResultTrait};

use traits::TryInto;

fn deploy(contract_class_hash: felt252, calldata: Array<felt252>) -> ContractAddress {
Expand Down

0 comments on commit 4f91334

Please sign in to comment.