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

dex/networks/eth: ETHSwapV0 testnet address #1440

Merged
merged 1 commit into from
Feb 3, 2022

Conversation

martonp
Copy link
Contributor

@martonp martonp commented Jan 23, 2022

ETHSwapV0 is on the Goerli Testnet.

@chappjc
Copy link
Member

chappjc commented Jan 23, 2022

Very nice. I see you submitted the source too https://goerli.etherscan.io/address/0xa7767db7335EEF856B9319e9c7A98abEA0B78b61#code

Out of curiosity, did you deploy from the geth console with personal.sendTransaction and a data field, or someother way like Ganache?

@martonp
Copy link
Contributor Author

martonp commented Jan 23, 2022

I used this website: https://www.myetherwallet.com/wallet/access. Once you connect metamask, there's an option to deploy a contract. You just have to copy paste the bytecode.

@JoeGruffins
Copy link
Member

Will sync up my internal testnet node and try a swap.

@JoeGruffins
Copy link
Member

JoeGruffins commented Jan 26, 2022

The tx data for the creating tx looks exactly like one deployed on our simnet except for the last 43 bytes:
0950527708e41e3a18f2f7c8ab9ce2a2234c7a8430d6611288ef953b68e4523464736f6c63430008060033
Any idea what it is?

Also awesome!

Copy link
Member

@JoeGruffins JoeGruffins left a comment

Choose a reason for hiding this comment

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

Are we locked into this as v0 now? I hope no, as maybe #1427 can still happen.

@chappjc
Copy link
Member

chappjc commented Jan 26, 2022

I think it will be fine to change the v0 contract as long as it's not on mainnet. Plus there are no public testnet servers on master that I'm aware of, so any testnet action will likely be trading with self (consistent "v0" contract) in a controlled setup.

That said, let's get v0 locked down ASAP. We need to start an audit if possible.

Who's is doing #1427? Are you on that issue @JoeGruffins?

@chappjc
Copy link
Member

chappjc commented Jan 31, 2022

Let's get #1455 merged first and then we can update this.

@chappjc
Copy link
Member

chappjc commented Feb 2, 2022

Can update with #1455 merged

@JoeGruffins
Copy link
Member

I guess need to submit a new tx? @martonp going to do it? I kinda messed up the original so can do it if you want me to.

@martonp
Copy link
Contributor Author

martonp commented Feb 3, 2022

It's ok, I can do it.

@martonp
Copy link
Contributor Author

martonp commented Feb 3, 2022

It's updated.

Copy link
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

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

Confirmed latest contract at https://goerli.etherscan.io/address/0xa483b6166dA8Da6748B29Af35f96C4F9388c456C#code

@martonp @JoeGruffins Looks like we might want to update our solc: https://goerli.etherscan.io/solcbuginfo?a=SignedImmutables
linked from our contract's code page

@chappjc chappjc merged commit c8081b7 into decred:master Feb 3, 2022
@JoeGruffins
Copy link
Member

Confirmed latest contract at https://goerli.etherscan.io/address/0xa483b6166dA8Da6748B29Af35f96C4F9388c456C#code

@martonp @JoeGruffins Looks like we might want to update our solc: https://goerli.etherscan.io/solcbuginfo?a=SignedImmutables linked from our contract's code page

oh, just seeing this

@chappjc chappjc added this to the 0.5 milestone Apr 21, 2022
@chappjc chappjc added the ETH label Aug 26, 2022
@martonp martonp deleted the ethSwapV0Testnet branch December 20, 2022 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants