Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract deployment transaction from upgraded contract #46

Merged
merged 2 commits into from
Jan 24, 2024

Commits on Jan 23, 2024

  1. Extrct deployment transaction from upgraded contract

    After proxy contract is upgraded we had a problem with
    extracting deployment transaction via
    `contract.deploymentTransaction()` from ethers. It was happening
    because OpenZeppelin's `upgradeProxy` was replacing deployment
    tx on the proxy contract but the field was different than what ethers
    function expected. Let's make it work by directly using the field
    that `upgradeProxy` adds on the contact's object.
    jagodarybacka committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    5e1fda0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e077028 View commit details
    Browse the repository at this point in the history