Skip to content
Discussion options

You must be logged in to vote

Yes, looks like that bug applies.

The first situation, you're creating a coin, which is not emitting a module event.

The second situation, you're creating the coin, and adding liquidity. This likely is creating the issue when an event is created on transfer of coins.

There are a couple bugs like this one around init_module, and usually when I write my own contracts, I'll avoid using init_module. I'll only use it if it's simple enough.

Otherwise, I'll usually add an initialize() function, and call that after publishing.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Aladeenb
Comment options

@gregnazario
Comment options

Answer selected by gregnazario
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
move Questions related to the Move Language
2 participants