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

[New chain]: Hemi Mainnet #771

Closed
1 of 2 tasks
rokso opened this issue Nov 12, 2024 · 8 comments · Fixed by #821
Closed
1 of 2 tasks

[New chain]: Hemi Mainnet #771

rokso opened this issue Nov 12, 2024 · 8 comments · Fixed by #821
Labels
new-chain Request to deploy to a new chain

Comments

@rokso
Copy link
Contributor

rokso commented Nov 12, 2024

Chain Name

Hemi Mainnet

RPC URL

https://8deb9c0b.rpc.hemi.network/rpc

The chain must be added to https://chainlist.org/

  • I confirm that the chain is added to chainlist

After creating the issue, a bot will estimate the required pre-fund and post it in the comments. Please check this checkbox after you send the pre-fund.

  • I sent the pre-fund in accordance with Github Action's comment

Relevant information

No response

@rokso rokso added the new-chain Request to deploy to a new chain label Nov 12, 2024
Copy link

⛔️ Error:
The factory is already deployed. Please use the existing factory at 0x914d7Fec6aaC8cd542e72Bca78B30650d45643d7.

@rokso
Copy link
Contributor Author

rokso commented Dec 5, 2024

@nlordell Above factory is deployed as predeploy. How can we add artifact for this factory?

@mmv08
Copy link
Member

mmv08 commented Dec 6, 2024

@rokso you can follow the worldchain example #705 and create a PR yourself

@mmv08 mmv08 reopened this Dec 6, 2024
rokso added a commit to rokso/safe-singleton-factory that referenced this issue Dec 6, 2024
@rokso
Copy link
Contributor Author

rokso commented Dec 9, 2024

@mmv08 We have 1.4.1 and 1.3.0 canonical deployment on Hemi but there is need for safe 1.3.0 with EIP-155, how can we get factory deployed for this specific version?

@mmv08
Copy link
Member

mmv08 commented Dec 9, 2024

@mmv08 We have 1.4.1 and 1.3.0 canonical deployment on Hemi but there is need for safe 1.3.0 with EIP-155, how can we get factory deployed for this specific version?

the same factory is used for 1.4.1 and 1.3.0 with eip-155, it's a general purpose create2 factory :)

@rokso
Copy link
Contributor Author

rokso commented Dec 9, 2024

@mmv08 We have 1.4.1 and 1.3.0 canonical deployment on Hemi but there is need for safe 1.3.0 with EIP-155, how can we get factory deployed for this specific version?

the same factory is used for 1.4.1 and 1.3.0 with eip-155, it's a general purpose create2 factory :)

So how we go about deploying factory at 0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC. We need this factory to claim same safe address as on OP/Base.

rokso added a commit to rokso/safe-singleton-factory that referenced this issue Dec 9, 2024
@mmv08
Copy link
Member

mmv08 commented Dec 9, 2024

@mmv08 We have 1.4.1 and 1.3.0 canonical deployment on Hemi but there is need for safe 1.3.0 with EIP-155, how can we get factory deployed for this specific version?

the same factory is used for 1.4.1 and 1.3.0 with eip-155, it's a general purpose create2 factory :)

So how we go about deploying factory at 0xC22834581EbC8527d974F8a1c97E1bEA4EF910BC. We need this factory to claim same safe address as on OP/Base.

See this paragraph in the docs here: https://github.com/safe-global/safe-smart-account/tree/v1.3.0-libs.0?tab=readme-ov-file#replay-protection-eip-155

You'll most likely need to replace the @gnosis.pm/safe-singleton-factory package with @safe-global/safe-singleton-factory or add the deployment artifact manually to the node_modules folder or edit the hardhat config directly

@rokso
Copy link
Contributor Author

rokso commented Dec 9, 2024

@mmv08 I was able to use this factory to deploy 1.3.0-libs-0 contracts. Thanks for pointing me in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-chain Request to deploy to a new chain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants