-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes during GDA mainnet rollout (#1780)
* make superfluidPoolBeacon part of GeneralDistributionAgreementV1 logic * fix up nft constructor * update deploy script to latest changes * fix gov script * 2-phase GDA bootstrapping * pool placeholder contract * 2-step GDA bootstrapping, fix verification script * more consistent naming * token update: skip tokens we don't own (not pointing to a previous canonical logic) * updated bsc metadata * piggyback: added aux contracts to scroll-mainnet metadata * please the linter * metadata changelog * improved verification script * refine deploy script * patch gas settings into truffle contract object, various small ops-script improvements * patch gas settings into truffle contract object, various small ops-script improvements * fix for local testing * fix gas price for other ops scripts too * polygon-mainnet gda and new loader in metadata * smol fix * fix tests * smol fixes * inlike function for getting gas settings in Framework.js to fix failing package building * consider new admin override when upgrading SuperTokens * fix test failure * add forwarders to verification * refactor SuperfluidFrameworkDeploymentSteps to reduce sizes * [WORKFLOWS] make sure linting happens in more places * [WORKFLOWS] fix the shell script * fix typo: SuperfluidGDAv1DeployerLibrary * fix typo: SuperfluidGDAv1DeployerLibrary * fix build warning SuperfluidPoolPlaceholder.sol * fixes * fixes * some fixes to * fix gov.updateContracts * already remove the deprecated overloaded method, too much fallout * revert ugly workaround for overloaded (nomore) method * [WORKFLOW] cleanups to root package.json * audit changelog --------- Co-authored-by: 0xdavinchee <0xdavinchee@gmail.com> Co-authored-by: didi <git@d10r.net>
- Loading branch information
1 parent
2d2d66f
commit 80099ac
Showing
38 changed files
with
1,017 additions
and
1,049 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
packages/ethereum-contracts/contracts/agreements/gdav1/SuperfluidPoolPlaceholder.sol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// SPDX-License-Identifier: AGPLv3 | ||
// solhint-disable not-rely-on-time | ||
pragma solidity 0.8.19; | ||
|
||
import { BeaconProxiable } from "../../upgradability/BeaconProxiable.sol"; | ||
|
||
/** | ||
* @title used on first deployment (upgrade case) of GDA | ||
* in order to solve the circular dependency between GDA and SuperfluidPool | ||
*/ | ||
contract SuperfluidPoolPlaceholder is BeaconProxiable { | ||
// don't allow to create instances of the placeholder | ||
function initialize(address, address, bool ,bool) external pure { | ||
// solhint-disable-next-line reason-string | ||
revert(); | ||
} | ||
|
||
function proxiableUUID() public pure override returns (bytes32) { | ||
return keccak256("org.superfluid-finance.contracts.SuperfluidPool.implementation"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.