Closed hbriese closed 9 months ago
Both createAddress and create2Address provide incorrect addresses. zksync-web3 provide the correct addresses
createAddress
create2Address
zksync-web3
zksync2-js
Functions predict addresses as network deploys
Functions produce valid, but inccorrect addresses
zksync2-js: 0.3.0
0.3.0
🐛 Bug Report for zksync2-js JavaScript SDK
📝 Description
Both
createAddress
andcreate2Address
provide incorrect addresses.zksync-web3
provide the correct addresses🔄 Reproduction Steps
createAddress
fromzksync-web3
createAddress
fromzksync2-js
🤔 Expected Behavior
Functions predict addresses as network deploys
😯 Current Behavior
Functions produce valid, but inccorrect addresses
🖥️ Environment
zksync2-js
:0.3.0