Skip to content

Commit

Permalink
fix: deployment of identity in tests, encoding of ByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Apr 17, 2024
1 parent 5a9531e commit 017a0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/utils.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ fn deploy(contract_class_hash: felt252, calldata: Array<felt252>) -> ContractAdd
}

fn deploy_identity() -> IIdentityDispatcher {
let address = deploy(Identity::TEST_CLASS_HASH, array![ADMIN, 0]);
let address = deploy(Identity::TEST_CLASS_HASH, array![ADMIN, 0, 0, 0]);
IIdentityDispatcher { contract_address: address }
}

0 comments on commit 017a0b5

Please sign in to comment.