Note: Having installed substrate-contracts-node and Contracts UI I can easily deploy and interact with an ink! Smart contract
I am following the ink! Tutorial here https://use.ink/basics/cross-contract-calling/
A> I cargo +nighlty create new both ink! smart contracts "other_contract" and "MyContract". After successful compilation of the "other_contract" when I try to compile "MyContract" it errors saying it cannot find the other_contract module
After doing all the above I also found this post What is the best way to make a cross contract call on Ink! which suggests this is deprecated. Is this correct or there is a way to fix this please?
I am only trying to achieve as per the tutorial example calling one ink! sc method from within another
B> Moved on to https://github.com/paritytech/ink/tree/master/examples/delegator
Trying to compile this using $ sh build-all.sh It errors ERROR: No 'ink_lang' dependency found
(similar to Delegator-based contract causes UI interface to crash )
I have tried replacing ink = { path = "../../crates/ink", default-features = false }
With
ink_primitives = { version = "3.3", default-features = false }
ink_metadata = { version = "3.3", default-features = false, features = ["derive"], optional = true }
ink_env = { version = "3.3", default-features = false }
ink_storage = { version = "3.3", default-features = false }
ink_lang = { version = "3.3", default-features = false }
basically following the pattern ink! sc we get with the default contract cargo contract new flipper
But with no success
I would be grateful if anyone has a fix for either of the above solutions?