axelarnetwork / axelar-gmp-sdk-solidity

Solidity libraries and utilities provided by Axelar.
27 stars 32 forks source link

feat: create2 deployer #67

Closed re1ro closed 1 year ago

re1ro commented 1 year ago

https://axelarnetwork.atlassian.net/browse/AXE-1300

deanamiel commented 1 year ago

When adding unit tests I found an issue with native transfer during deployment. The create2Deployer was sending the native value to the wrong address because it was calculating the deployment address with the deployment salt not the original salt meant to be passed to the deployedAddress function. I tweaked the contract a bit so it works now, let me know your thoughts @re1ro @milapsheth