BEANSTALK
is hardcoded to 0xC1E088fC1323b20BCBee9bd1B9fC9546db5624C5
and further used in code to get BDV:
However after migration Beanstalk address will differ from hardcoded 0xC1E088fC1323b20BCBee9bd1B9fC9546db5624C5
because of 2 reasons:
ZkSync has different formula for address derivation https://docs.zksync.io/build/developer-reference/ethereum-differences/evm-instructions#address-derivation
Originally on Mainnet Beanstalk was deployed in 8th transaction from address Beanstalk: Publius
according to Etherscan. Theoretically it's possible to deploy into the same address on L2, however it's not done currently which can be derived from the Reseed scripts: firstly all the facets deployed, and only then Diamond contract
WellPrice.sol and BeanstalkPrice.sol will not work after migration.
Manual Review
Pass Beanstalk address into constructor in WellPrice.sol
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.