The starknet plugin generates a dispatcher object and a dispatcher trait for each contract_interface.
In this new case, the generated dispatcher object for ITestContract should also implement the dispatcher trait for IY.
Relevant file for this is crates/cairo-lang-starknet/src/plugin/dispatcher.rs
The way to define trait dependence in Cairo is this:
this should be extended to
#[contract_interface]
of the starknet plugin:The starknet plugin generates a dispatcher object and a dispatcher trait for each contract_interface. In this new case, the generated dispatcher object for
ITestContract
should also implement the dispatcher trait for IY.Relevant file for this is crates/cairo-lang-starknet/src/plugin/dispatcher.rs