Closed Hakimba closed 2 years ago
I added some include at some files because it doesn't work for me otherwise.
mint_interface
, wallet_interace
can be imported directly because there is no chusai_ticket
there.
It's the question for team, should we make the file in common can be importable? The common suppose should work like library but we might get Warning: The type of this value is ambiguous
again.
can you add readme to describe how inbox works here?
I added some include at some files because it doesn't work for me otherwise. I don't understand the problem. Is it because you rely on mint + wallet in the test ? In which case, don't ;)
mint_interface
,wallet_interace
can be imported directly because there is nochusai_ticket
there.It's the question for team, should we make the file in common can be importable? The common suppose should work like library but we might get
Warning: The type of this value is ambiguous
again.
What do you mean importable ? I think import are better than includes, to avoid ambiguity, but at the same time, currently in Ligo constructors can't be prefixed by the module in which they are defined, so it doesn't solve all problems.
I added some include at some files because it doesn't work for me otherwise. I don't understand the problem. Is it because you rely on mint + wallet in the test ? In which case, don't ;)
mint_interface
,wallet_interace
can be imported directly because there is nochusai_ticket
there. It's the question for team, should we make the file in common can be importable? The common suppose should work like library but we might getWarning: The type of this value is ambiguous
again.What do you mean importable ? I think import are better than includes, to avoid ambiguity, but at the same time, currently in Ligo constructors can't be prefixed by the module in which they are defined, so it doesn't solve all problems.
If you try to import mint_interface
in main branch version, you get Type "chusai_ticket" not found.
.
you have to include ticket_api_workaround
and then include mint_interface
.
To be able to importable, the change is like mint_interface
in this PR.
Hi,
I added some include at some files because it doesn't work for me otherwise.
I'm looking forward your thoughts and suggestions !