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

remap genesis contracts like pox-3 from mainnet address to testnet address for deployments #1311

Open
friedger opened this issue Jan 19, 2024 · 3 comments
Assignees

Comments

@friedger
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As a developer, I am building on top of existing contracts on mainnet. In my contract, I use the addresses of the mainnet contract as specified in the requirements. They are mapped correctly. However, genesis contracts are not mapped.

Describe the solution you'd like
Either allow to specify in contract-deploy

remap-principals:
                SP000000000000000000002Q6VF78: ST000000000000000000002AMW42H

Or do it automatically

Describe alternatives you've considered
Manually replace this address

@planbetterHQ
Copy link

This happens to us too, is there any updates on this or someway we can help? Also, is there any workaround for it?

@hugocaillard
Copy link
Collaborator

@planbetterHQ @friedger
I'm assuming both of your use case are about PoX contracts right?

@friedger
Copy link
Contributor Author

If there is a solution for pox that is already good.

@smcclellan smcclellan assigned hugocaillard and unassigned lgalabru Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants