Aptos Move conflicting dependencies of imported dependencies

159 views Asked by At

I have two dependencies that I need, they both created a module called U256 with different addresses. is there a way to fix this dependency conflict?

Unable to resolve package dependency 'U256': Conflicting dependencies found: package 'U256' conflicts with 'U256'"

1

There are 1 answers

0
john stewart On

The address system of aptos module is based on {address}::{module_name}::{struct_name}.

Here U256 you mentioned here is just for {struct_name}. I think you have some misunderstanding on importing correct dependency.