-
Notifications
You must be signed in to change notification settings - Fork 375
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
Merge Release 1 back into master #5328
Conversation
upgrade next.js (and by extention serialize-javascript) to latest version some ts warnings/ errors on both web and reserver * ran `yarn dev`, `yarn build` (ts compile), `next build`, opened locally and deployed to staging fixes #4675 _Brief explanation of why these changes are/are not backwards compatible._
### Description Add yarn resolution for `bl` because of security vulnerability See https://www.npmjs.com/advisories/1555 ### Other changes None ### Tested Waiting for test to pass on CircleCI. ### Related issues Discussed on Slack ### Backwards compatibility Not entirely sure since there was some packages depending on different major versions of `bl`: - `^1.0.0` - `^3.0.0` - `^4.0.0`
#4958) * ozaudit [L05] Interfaces are missing functions present in their implementations * Mock contracts can't extend interface if not fully implemented * getVersionNumber is only in ICeloVersionedContract interface
* Open 5048 for deleteElement lib * Open 5049 for UsingRegistry initialize * Open 5050 for target gold > 15 years * Open 5051 for revoke approval investigation * Open 5052 for parameter minimums * Open 5053 for upvote edge case * Open 5054 for attestations view calls * Open 5055 for linked list optimization * Open 5056 for governance proposal vote total optimization * Open 5057 for governance proposal execution and meta transaction standardization * Open 5059 for linkedlist isvaluebetween optimization * Open 5068 for linked list value update optimization * Open 5069 for empty indices optimization * Open 5070 for governance index out of bounds
#4914) * Clarify sender on BitmapSetForInterval event * Fix event test
* Require result value and add revert messages * Fix build error * Simplify stabletoken registry optimization
* Add revert messages to all require statements * Bump contract versions
* Remove extraneous imports from SortedOracles * Remove extraneous imports from Attestations * Remove extraneous imports from ReleaseGold * Remove extraneous imports from Validators
…for all contracts (#5032) * Pin solc compiler version to 0.5.13 * Bump solc version in certora test
* L16 * testing * [L16] Transfer of CELO may unexpectedly fail
* [L13] Not using the SafeMath library * Fix ++ typo * Add versioning * Fix inheritance graph * Further fix rebase
* L06: Lack of Validation * Update verions GoldToken/EpochRewards * EpochRewards carbon offsetting partner CAN be addr(0) * take out no-op checks
* L10: Missing Docstrings * address PR review
* MetaTransactionWallet upgrades M03: Check for unused data in executeTransactions data param index events emit event when receiving ether * fix linting issues * [L12] MetaTransactionWallet does not return transactions outputs * Address PR comments * linting and cleanup * index nonce in MetaTransactionExecution event
… governance" (#4706) into "oz-prerelease" (#5194) * Cherry pick 8a8b822 * Resolve merge conflicts from cherry-pick * Remove double-specification of ICeloVersionedContract Co-authored-by: Asa Oines <[email protected]>
* Remove fixiditylib external version getter and proxy * Change release reference to release 0 * Add FixidityLib to excluded from version check
@@ -724,7 +724,7 @@ exports[`About renders 1`] = ` | |||
/> | |||
</audio> | |||
</div> | |||
|
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.
someday id like to figure out why there are these whitespace changes sometimes on this files
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.
I think it's my VS Code config that automatically delete trailing whitespace (which we really should have everywhere)
7453623
to
511cd08
Compare
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.
hype
* @notice Returns the storage, major, minor, and patch version of the contract. | ||
* @return The storage, major, minor, and patch version of the contract. | ||
*/ | ||
* @notice Returns the storage, major, minor, and patch version of the contract. |
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.
this seems errant?
@@ -37,7 +37,7 @@ const BAKLAVA_FROM = '0x0Cc59Ed03B3e763c02d54D695FFE353055f1502D' | |||
const BAKLAVASTAGING_FROM = '0x4588ABb84e1BBEFc2BcF4b2296F785fB7AD9F285' | |||
|
|||
// Gas limit is doubled for initial contract deployment. | |||
const gasLimit = argv.reset ? 20000000 : 10000000 | |||
const gasLimit = argv.reset ? 20000000 : 12500000 |
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.
this should be 13M right?
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.
this can be a followup
I think I had to increase this for the deploy to work
Description
Branch
nambrot/master-into-release-1
represents a merge ofmaster
intorelease/celo-core-contracts/1
. The reason why it is separate is to make obvious the merge conflict resolution that happened since we want a clean merge-commit (instead of the typical squash merge). Thus the recommended sequence is:nambrot/master-into-release-1
fromrelease/celo-core-contracts/1
master
intonambrot/master-into-release-1
without resolving conflictsrelease/celo-core-contracts/1
tonambrot/master-into-release-1
release/celo-core-contracts/1
tomaster
Listed in #4812
The relevant diff to review becomes https://github.com/celo-org/celo-monorepo/pull/5328/files/a675fd719f7fe5ddd676affd69b263f21508b85f..1907dc071c5bf0fe4aaf1e60653523a4bdae66ed (i.e. the commits after the merge commit)