Skip to content
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

Contract instance identifier should start from 1 #227

Open
DariuszDepta opened this issue Dec 30, 2024 · 0 comments
Open

Contract instance identifier should start from 1 #227

DariuszDepta opened this issue Dec 30, 2024 · 0 comments
Assignees
Labels
backlog Backlog
Milestone

Comments

@DariuszDepta
Copy link
Member

DariuszDepta commented Dec 30, 2024

In wasmd contract instances are numbered starting from 1. In MultiTest they are numbered starting from zero. Contract addresses differ between real-life blockchain and MultiTest when the same contracts are instantiated in the same order.

Change the instance_id numbering in MultiTest to start from 1.

This is a breaking change, especially in existing tests that compare contract addresses.

@DariuszDepta DariuszDepta added the backlog Backlog label Dec 30, 2024
@DariuszDepta DariuszDepta added this to the Backlog milestone Dec 30, 2024
@DariuszDepta DariuszDepta self-assigned this Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Backlog
Projects
None yet
Development

No branches or pull requests

1 participant