-
Notifications
You must be signed in to change notification settings - Fork 239
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
Fixes during GDA mainnet rollout #1780
Merged
Merged
Changes from 46 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
1944426
make superfluidPoolBeacon part of GeneralDistributionAgreementV1 logic
hellwolf f229b9c
fix up nft constructor
0xdavinchee 317bad7
update deploy script to latest changes
d10r 301805d
fix gov script
d10r 9f3200e
2-phase GDA bootstrapping
d10r 6c1f47c
pool placeholder contract
d10r 9fec9c8
2-step GDA bootstrapping, fix verification script
d10r d6779f5
more consistent naming
d10r fbe9cd8
token update: skip tokens we don't own (not pointing to a previous ca…
d10r 77c6d0f
updated bsc metadata
d10r 53b6242
Merge branch 'dev' into gda-deployment-fixes
d10r 1b3de2c
Merge branch 'dev' into gda-deployment-fixes
d10r a0055f1
piggyback: added aux contracts to scroll-mainnet metadata
d10r d687d85
please the linter
d10r a2eeaaa
metadata changelog
d10r 7231c13
improved verification script
d10r c9ce6f4
refine deploy script
d10r 56253e8
Merge branch 'dev' into gda-deployment-fixes
d10r a83ad3a
patch gas settings into truffle contract object, various small ops-sc…
d10r ba64895
patch gas settings into truffle contract object, various small ops-sc…
d10r eaed537
fix for local testing
d10r f2dd1f1
fix gas price for other ops scripts too
d10r 922319f
polygon-mainnet gda and new loader in metadata
d10r 7468d47
smol fix
d10r 87c939d
fix tests
d10r 0fe4da6
smol fixes
d10r 955589d
inlike function for getting gas settings in Framework.js to fix faili…
d10r f7ede8f
consider new admin override when upgrading SuperTokens
d10r ec9ea01
Merge branch 'dev' into gda-deployment-fixes
d10r 2c1eb89
fix test failure
d10r ecd39d2
Merge branch 'dev' into gda-deployment-fixes
d10r 127acec
add forwarders to verification
d10r 91631e5
Merge remote-tracking branch 'origin/dev' into gda-deployment-fixes
hellwolf e46cd19
refactor SuperfluidFrameworkDeploymentSteps to reduce sizes
hellwolf 699ae0d
[WORKFLOWS] make sure linting happens in more places
hellwolf bbf188f
[WORKFLOWS] fix the shell script
hellwolf 7fcaaa4
Merge branch 'fix-strict-lint-in-ci' into gda-deployment-fixes
hellwolf a13ab58
fix typo: SuperfluidGDAv1DeployerLibrary
hellwolf d541155
fix typo: SuperfluidGDAv1DeployerLibrary
hellwolf 3c8586e
fix build warning SuperfluidPoolPlaceholder.sol
hellwolf b4c0b80
fixes
hellwolf 4e6c60b
fixes
hellwolf 00fc206
Merge branch 'fix-strict-lint-in-ci' into gda-deployment-fixes
hellwolf 670ec8c
Merge remote-tracking branch 'origin/dev' into gda-deployment-fixes
hellwolf 59963c2
some fixes to
hellwolf 15ce2ca
fix gov.updateContracts
hellwolf eeab842
already remove the deprecated overloaded method, too much fallout
d10r 82e0787
revert ugly workaround for overloaded (nomore) method
d10r 3acba5e
[WORKFLOW] cleanups to root package.json
hellwolf b931a6a
audit changelog
0xdavinchee 3690477
Merge branch 'dev' into gda-deployment-fixes
0xdavinchee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You sure we have to use it instead of just using ZERO_ADDRESS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need it in order to have a compatible logic:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, checkout the SuperfluidDeployer code, it uses zero address, what's the difference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there were 2 reasons:
and more importantly:
SuperfluidPool.initialize()
reverts, thenGeneralDistributionAgreementV1.createPool()
reverts too, thus we know for sure there's no way to use the agreement to manipulate SuperToken state as long as we're not done with the setup).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove this after upgrading all mainnets, not needed for new deployments