Skip to content

Commit e1817b3

Browse files
authored
Redeploy contracts from the same deployer (#59)
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 contract 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 networks, that their contract code is verified matches the ETH flow, and that the deployment parameters are the expected ones.
1 parent f466b7a commit e1817b3

13 files changed

+320
-325
lines changed

broadcast/Deploy.sol/1/deployment.barn.json

Lines changed: 45 additions & 12 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/1/deployment.prod.json

Lines changed: 45 additions & 12 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/100/deployment.barn.json

Lines changed: 45 additions & 15 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/100/deployment.prod.json

Lines changed: 29 additions & 30 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/11155111/deployment.barn.json

Lines changed: 28 additions & 29 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/11155111/deployment.prod.json

Lines changed: 28 additions & 29 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/42161/deployment.barn.json

Lines changed: 25 additions & 25 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/42161/deployment.prod.json

Lines changed: 24 additions & 24 deletions
Large diffs are not rendered by default.

broadcast/Deploy.sol/5/deployment.barn.json

Lines changed: 0 additions & 66 deletions
This file was deleted.

broadcast/Deploy.sol/5/deployment.prod.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)