-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DuplicateTopics error when emitting event with equal values in topics #704
Comments
@usetech-llc Thanks for the bug report! I'm having a hard time replicating it though. I used this contract as a minimal example and can't provoke the error. I'm using the flipper/Cargo.toml, the canvas-node as the Substrate instance, and the Canvas UI for deployment. Some more questions: What version of Substrate are you using? What are the data types of Also we just released a new |
Isn't that #594? Those changes are in master but unreleased. |
We are using older (January ~8) version of Contracts pallet, but updating it at the moment. When we are done with update, I'll test it again and let you know, thanks! |
The problem isn't the old version of the pallet. The bug was in ink!. If you are using v3.0.0-rc2 the fix is not in. |
I see, thanks! Do you have any plans to release rc3 or the final release 3.0? |
@usetech-llc Yes, we want to do a rc3 asap. At the moment we are just waiting for a bug in our @athei Good catch! |
FAQ
Are you using the nightly Rust channel to compile your smart contract?
Yes, nightly-2021-01-15
Are you using an up-to-date
cargo-contract
? Check viacargo contract --version
.cargo contract 0.8.0
Are you using an up-to-date ink! version in your smart contract?
[dependencies]
section of yourCargo.toml
.v3.0.0-rc2
Describe the bug
When I post this event:
with collection_id = 1 and token_id = 1, I get DuplicateTopics error. But when I change token ID to 2, I don't get it, transaction runs OK.
The text was updated successfully, but these errors were encountered: