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

Function register_contract in wasm module should behave more like real blockchain #66

Closed
DariuszDepta opened this issue Sep 21, 2023 · 0 comments · Fixed by #83
Closed
Assignees
Milestone

Comments

@DariuszDepta
Copy link
Member

DariuszDepta commented Sep 21, 2023

let contract_addr = self.register_contract(
    storage,
    code_id,
    sender.clone(),
    admin.map(Addr::unchecked),
    label,
    block.height,
)?;

For the same sender, checksum / code id and salt, the implementation above should generate the same address and fail, just like here.

@DariuszDepta DariuszDepta added the enhancement New feature or request label Sep 21, 2023
@DariuszDepta DariuszDepta self-assigned this Sep 21, 2023
@DariuszDepta DariuszDepta removed their assignment Sep 26, 2023
@DariuszDepta DariuszDepta added this to the 0.18.0 milestone Oct 6, 2023
@DariuszDepta DariuszDepta self-assigned this Oct 6, 2023
@DariuszDepta DariuszDepta removed the enhancement New feature or request label Oct 11, 2023
@DariuszDepta DariuszDepta linked a pull request Oct 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant