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

Squash migration changes into single commit #259

Closed
wants to merge 102 commits into from

Conversation

alecps
Copy link

@alecps alecps commented Oct 15, 2024

No description provided.

palango and others added 30 commits October 14, 2024 10:36
- Remove unnecessary jobs
Setting `open-pull-requests-limit: 0` prevent version updates but should
keep the security scans and updates according to
https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#overriding-the-default-behavior-with-a-configuration-file

> If you only require security updates and want to exclude version
> updates, you can set open-pull-requests-limit to 0 in order to prevent
> version updates for a given package-ecosystem.
* adding trivy scanning to the Docker files

* adding docker build scan

* fixing typo

* adding context for bedrock images

* adding context to ops dockerfile packages

* fixing context for ops packges:

* removing push/pull triggers and adding just a manual workflow run with workflow_dispatch
As far as I understand, all gas values are for the L1 transaction that
submits the tx batches. Therefore, the fee currency can be set to `nil`.
* Add pages workflow and forkdiff config

* Remove TODOs

* Update trigger to reflect future celo default branch pattern

* Update latest rebased commit
Remove common/interfaces/IExchange.sol (duplicate)

We keep the one in the `mento` directory.

Remove common/libraries/ReentrancyGuard.sol (duplicate)

Directly use the original from OpenZeppelin.
This allows testing of newly deployed fee currencies even when
MockSortedOracles is used. This is the some implementation used in
celo-monorepo (except for updating it to a more recent solidity
version).
so that BridgedETH and other bridged ERC20 tokens can be used as fee
currencies. I won't included testing until the FeeCurrencyDirectory is
ready.
to avoid using old 0.5 solidity versions.
Until we fix the errors caused by enabling it.
We need to include Celo's contracts in the count to make it succeed.
karlb and others added 24 commits October 15, 2024 16:27
Change base fee calculation for transition block

Previously we used the parent base fee, now we use the eip1559
calculation to calculate the base fee for the transition block.

Also updated the referenced op-geth that includes an updated
CalcBaseFee function.

The approach was changed to remove reliance on IsCel2 inside CalcBaseFee
which helps to avoid unexpected consequences when working with tests that
do or don't set the cel2 fork

Co-authored-by: Piers Powlesland <[email protected]>
Make migration-block-time a required flag

---------

Co-authored-by: alecps <[email protected]>
Co-authored-by: piersy <[email protected]>
EigenDA current limit for Holesky (their documentation is currently outdated but the limit seems to be set to 16 MB based on the updated tests from [this PR](Layr-Labs/eigenda-proxy#100)).
Those have warnings with `check-interfaces.sh`. Ignore those warnings
for now.
This cheatcode is used to store the Celo L2 predeploy addresses in a
JSON file when run with forge. Inside TestEndToEndApply/initial_chain ,
the same code is called but we don't care for the generated JSON file.
So just returning `nil` makes the test work without any disadvantages.
Changes in implementation require changes in version. This is ensured
by `./scripts/checks/check-semver-diff.sh`.
…254)

* OptimismPortal2 set initial `_balance` through StorageSetter pattern

Fixes #239

The custom gas-token feature adaptation for the fault-proof system using
the `OptimismPortal2` contract has been merged recently upstream.

We are using the custom-gas-token feature and additionally require a
modification of the OptimismPortal's `_balance` value to be set
to the entire allocation of Celo on the L2 - meaning that all L1 token is
initially locked in the bridge and only usable on the L2.

Those changes are now adapted also to the `OptimismPortal2`, which
was a requirement to make our custom-gas-token pre-locked balance
feature work in conjunction with fault-proofs.

* Adapt withdraw e2e-tests to work with fault-proofs

* Use prettier for formatting e2e tests

* Fix typo

Co-authored-by: Valentin Rodygin <[email protected]>

* Set L1-fee scalars to zero in devnet

---------

Co-authored-by: Valentin Rodygin <[email protected]>
@karlb
Copy link

karlb commented Oct 16, 2024

This is included in the current celo10 branch.

@karlb karlb closed this Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.