upgrade_proxy

Function upgrade_proxy 

Source
pub async fn upgrade_proxy(
    wallet: &RootProvider,
    proxy_admin_addr: Address,
    proxy_addr: Address,
    implementation_addr: Address,
    data: Bytes,
) -> Result<()>
Expand description

Helper function to upgrade a proxy with an implementation

ยงErrors

Returns an error if the upgrade fails or if there are issues with the transaction receipt.