Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

UpgradesUseDefenderDeployTest

Inherits: Test

Tests that the defender.useDefenderDeploy flag is recognized in the Upgrades library. These do not perform any actual deployments, but just checks that the Defender CLI is invoked and catches its error message since we are using a dev network.

State Variables

d

Deployer d;

Functions

setUp

function setUp() public;

_assertDefenderNotAvailable

function _assertDefenderNotAvailable(string memory str) private;

testDeployUUPSProxy

function testDeployUUPSProxy() public;

testDeployTransparentProxy

function testDeployTransparentProxy() public;

testUpgradeProxy

function testUpgradeProxy() public;

testDeployBeacon

function testDeployBeacon() public;

testDeployBeaconProxy

function testDeployBeaconProxy() public;

testUpgradeBeacon

function testUpgradeBeacon() public;

testPrepareUpgrade

function testPrepareUpgrade() public;

testValidateImplementation

function testValidateImplementation() public;

testValidateUpgrade

function testValidateUpgrade() public;