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

Redeploy contracts from the same deployer #59

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fedgiac
Copy link
Contributor

@fedgiac fedgiac commented Jan 21, 2025

There have been instances of a user sending ETH to the ETH-flow address in the wrong network, which has a high chance of making the funds completely unrecoverable.

To reduce concerns of this kind, the ETH-flow contract has been redeployed to the same address on all supported chains. There is still a risk when sending a transaction for a network to another one, but in many cases the order should just expire and the refunder should eventually reimburse the user. Note that the deployed doesn't use CREATE2, meaning that there's no guarantee that the contract at the target address is indeed the ETH-flow contract code.

I also added the standard json representation of the solc input (and successfully tested it). If Etherscan verification through the verification script fails (unfortunately, a common occurrence) it should be possible to give verification another shot through the Etherscan web interface.

How to test

Confirm that the barn deployment (0x04501b9b1d52e67f6862d157e00d13419d2d6e95) and the prod one (0xba3cb449bd2b4adddbc894d8697f5170800eadec) exist on all network, that their contract code is verified matches the ETH flow, and that the deployment parameters are the expected ones.

@fedgiac fedgiac requested review from anxolin and sunce86 January 21, 2025 16:57
@fedgiac fedgiac requested a review from a team as a code owner January 21, 2025 16:57
Copy link

@bh2smith bh2smith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks legit.

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 this pull request may close these issues.

2 participants