mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-04-25 05:57:57 +00:00
68ec8be49f
Introduction and raison d'être in solc: https://github.com/ethereum/solidity/pull/3203 TL;DR: Exists to guard libraries from being called directly. Hence we substitute PUSHDEPLOYADDRESS (the zero address) via a call to the address API to let the library constructor fetch its own address. In the zkSync target they do exactly the same. Signed-off-by: xermicus <cyrill@parity.io>