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

Commits on Oct 14, 2024

  1. Simplify CI

    - Remove unnecessary jobs
    palango authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3281d03 View commit details
    Browse the repository at this point in the history
  2. dependabot: no PRs for version updates

    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.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    e377366 View commit details
    Browse the repository at this point in the history
  3. adding trivy scanning to the Docker files (#41)

    * 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
    pputman-clabs authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2645f00 View commit details
    Browse the repository at this point in the history
  4. Update op-geth

    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a9d3622 View commit details
    Browse the repository at this point in the history
  5. Add fee currency parameter to IntrinsicGas

    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`.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    e7a5994 View commit details
    Browse the repository at this point in the history
  6. Add forkdiff comparison to optimism (#32)

    * Add pages workflow and forkdiff config
    
    * Remove TODOs
    
    * Update trigger to reflect future celo default branch pattern
    
    * Update latest rebased commit
    Eela Nagaraj authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    b100563 View commit details
    Browse the repository at this point in the history
  7. Add Celo contracts

    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.
    pahor167 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    52a02ef View commit details
    Browse the repository at this point in the history
  8. Enable cel2 fork by default

    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    8a9d20b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    18fdc5e View commit details
    Browse the repository at this point in the history
  10. Enable Cel2 in e2e tests

    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    9c250c7 View commit details
    Browse the repository at this point in the history
  11. Add token duality e2e test

    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    529170a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    73fed00 View commit details
    Browse the repository at this point in the history
  13. Add cel2 testnet setup code

    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a55118c View commit details
    Browse the repository at this point in the history
  14. Skip shellcheck for now

    palango authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    234c7aa View commit details
    Browse the repository at this point in the history
  15. Add license identifier to ISortedOracles

    palango authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    32e2277 View commit details
    Browse the repository at this point in the history
  16. Add celo deployment to L2Genesis

    palango authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    ebd8210 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d376d7b View commit details
    Browse the repository at this point in the history
  18. Add more powerful MockSortedOracles

    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).
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    a60843d View commit details
    Browse the repository at this point in the history
  19. Add fee currency functions to MintableERC20

    so that BridgedETH and other bridged ERC20 tokens can be used as fee
    currencies. I won't included testing until the FeeCurrencyDirectory is
    ready.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    c0fa138 View commit details
    Browse the repository at this point in the history
  20. Update soldity pragma for interfaces

    to avoid using old 0.5 solidity versions.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    4d8a7fb View commit details
    Browse the repository at this point in the history
  21. Add Fee Currency directory

    pahor167 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    e951ae9 View commit details
    Browse the repository at this point in the history
  22. address update + sorted oracles update

    pahor167 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    8a927ba View commit details
    Browse the repository at this point in the history
  23. register cUSD to FeeDirectory

    pahor167 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7b37efe View commit details
    Browse the repository at this point in the history
  24. Disable cUSD in L2 genesis for now

    Until we fix the errors caused by enabling it.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    35989a1 View commit details
    Browse the repository at this point in the history
  25. Fix Genesis contract count test

    We need to include Celo's contracts in the count to make it succeed.
    karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    3088bde View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ea8392d View commit details
    Browse the repository at this point in the history
  27. Fixes

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    94feda4 View commit details
    Browse the repository at this point in the history
  28. Executable

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    42a732e View commit details
    Browse the repository at this point in the history
  29. Branch to commit

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    e9e2b3b View commit details
    Browse the repository at this point in the history
  30. GH Action to deploy celo4 contracts

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    bf5c303 View commit details
    Browse the repository at this point in the history
  31. --legacy for celo4 GH Action

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    5a09579 View commit details
    Browse the repository at this point in the history
  32. envsubst for op-ufm

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    59454a5 View commit details
    Browse the repository at this point in the history
  33. op-ufm GH Action

    alvarof2 authored and karlb committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    cc6a74f View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    d729ab8 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Change config script to pass verification on deploy (#150)

    * faultGameMaxDuration -> faultGameMaxClockDuration.
    
    * Add faultgamewithdrawaldelay (take sepolia value).
    rkachowski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3f31c6d View commit details
    Browse the repository at this point in the history
  2. IOracle to MockSortedOracles

    pahor167 authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    84ee4b0 View commit details
    Browse the repository at this point in the history
  3. Remove cel2-testnet directory (#156)

    Our current testnet setup does not rely on this code anymore, so I don't
    see a reason for keeping it.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4908346 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a39f93e View commit details
    Browse the repository at this point in the history
  5. Update config-vars-celo.sh

    Included Fjord hardfork
    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2783ae5 View commit details
    Browse the repository at this point in the history
  6. Exposed DEPLOY_CELO_CONTRACTS in envrc

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    57badf2 View commit details
    Browse the repository at this point in the history
  7. Deploy Celo contracts on devnet

    Without those we can't test most of the Celo-specific functionality.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e7c3178 View commit details
    Browse the repository at this point in the history
  8. Update op-geth for devnet

    This includes the important fix for PUSH0 support:
    celo-org/op-geth@26b8a1d
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3abd726 View commit details
    Browse the repository at this point in the history
  9. Set devAccount[0] as owner of FeeCurrencyDirectory

    This makes it possible to modify the FeeCurrencyDirectory entries in
    devnet.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    44b911e View commit details
    Browse the repository at this point in the history
  10. Update op-geth (both go.mod and devnet container)

    The new version uses a different FeeCurrencyDirectory address, so we
    also need to update that.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    e15421d View commit details
    Browse the repository at this point in the history
  11. Add e2e test for bridging WETH to L2

    It is also prepared for using the bridged WETH as fee currency, but we
    are currently lacking a simple way to send fee currency txs, so I left
    the final tx out.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3f8a4e3 View commit details
    Browse the repository at this point in the history
  12. Log out l2 predeploy addresses.

    rkachowski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    dbc62d2 View commit details
    Browse the repository at this point in the history
  13. Log config location.

    rkachowski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4d8fff6 View commit details
    Browse the repository at this point in the history
  14. Add map script.

    rkachowski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    caa151d View commit details
    Browse the repository at this point in the history
  15. Update plasma-eigenda config

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    6886911 View commit details
    Browse the repository at this point in the history
  16. Add celo-migrate script

    This works by loading the database of a celo
    node. It then removes all existing blocks and
    generates a new genesis block including the
    existing state tree.
    
    Migrate to urfave/cli/v2
    
    Update op-chain-ops/cmd/op-migrate/main.go
    
    Co-authored-by: Karl Bartel <[email protected]>
    
    Combine Cel2 migration scripts (#148)
    
    * Initial script to play with celo DB history migration
    
    * Can Read All the headers
    
    Co-authored-by: Alec Schaefer <[email protected]>
    
    * Adds new command to migrate ancients db
    
    * Adds comment
    
    * Adds extension methods for transformation
    
    * Implements Transform CeloBody
    
    * Adds impl that runs steps in a concurrent pipeline
    
    * Adds transformHead, verify hashing works
    
    cleanup
    
    * add migration for non-frozen blocks
    
    * copy over entire db and modify in place, works with op-geth at piersy/minimal-data-migration
    
    * remove unecessary copying, cleanup code
    
    * close and reopen DBs
    
    * migrate newdb in place
    
    * saving progress
    
    Co-authored-by: Mariano Cortesi <[email protected]>
    
    * Refactor code to improve database migration process
    
    * better logging
    
    * refactor: inline parMigrateAncientRange
    
    * Remove frozen blocks from nonAncient DB
    
    * check hash matches on nonAncients migration
    
    * clean up branch
    
    Removes unused code, move code for better separation of concerns.
    
    * decode into new types
    
    * fix transformHeader
    
    * make old freezer not readonly so that .meta files are created
    
    * add configurable memory limit
    
    * add comment about memory
    
    * Added celo-dbmigrate Makefile target
    
    * Added dockerfile for celo-dbmigrate and celo-migrate tools
    
    * Workflow for running cel2-migration-tool
    
    * Update cel2-migration-tool image registry
    
    * update op-geth to point to https://github.com/celo-org/op-geth/commits/piersy/for-use-with-migrated-celo-datadir-use-gas-limit-differentiation-rebased-celo6/
    
    * add celo6 logging
    
    * rename scripts to celo-migrate-state and celo-migrate-blocks
    
    * first pass at combining scripts
    
    * saving progress on testing
    
    * fix lint error, use %w to fmt errors
    
    * add updated state migration input files to testdata
    
    * add ability to run block and state migration seperately or together
    
    * add option for migrating only frozen blocks
    
    * remove old scripts
    
    * minor logging improvements in block migrations
    
    * invert clearNonAncients flag logic --> keepNonAncients, make dry-run flag only apply to state migration
    
    * adds README, improves logging
    
    * fix lint err
    
    * Fix Makefile and Dockerfile
    
    * move createNewDbIfNotExists
    
    * rename keep-non-ancients
    
    * update TODO to add more context and state changes
    
    * Remove channel buffers from ancients migration
    
    Co-authored-by: Valentin Rodygin <[email protected]>
    
    * bump default batch size to 100000
    
    * add back extended usage string
    
    * add info on state migration to README
    
    * remove --state-dry-run flag
    
    * update default batch size to 50k
    
    * Adding building for op images
    
    * Setting our values for image registry and repository
    
    * update README
    
    * fix logging when newAncients > oldAncients
    
    * fix return value when skipping ancients
    
    * skip transforming block bodies that have already been transformed
    
    * misc. fixes to get re-runs with --keep-non-ancients working
    
    * adds TODO
    
    * addresses cosmetic feedback
    
    * add flag for specifying a buffer
    
    * Show progress on rsync
    
    * Update to latest op-geth
    
    * state-migration: Refactor subtask
    
    * state-migration: Use EIP1559 settings from deploy config
    
    Fixes #135
    
    * state-migration: Enable Fjord hardfork during migration
    
    Fixes #160
    
    * state-migration: Deterministicly set migration block timestamp
    
    Fixes #157
    
    Sets the timestamp to be 5s after the last block.
    
    * state-migration: Set WithdrawalsHash in Cel2 migration block
    
    * fixup! Fix Makefile and Dockerfile
    
    * add note to README about using snapshots for pre-migration
    
    * Set blob gas header fields for transition block
    
    These are now required to be set since cancun was activated.
    
    * Use InitialBaseFee for pre-gingerbread transitionb
    
    * Fix warnings about capitalized error strings
    
    * Output chain config as marshalled JSON
    
    * state-migration: Handle accounts with existing balance
    
    Fixes #158
    
    * remove allocs file, add instructions for how to generate allocs file to README, update TODOs
    
    ---------
    
    Co-authored-by: Mariano Cortesi <[email protected]>
    Co-authored-by: Alec Schaefer <[email protected]>
    Co-authored-by: Mariano Cortesi <[email protected]>
    Co-authored-by: Javier Cortejoso <[email protected]>
    Co-authored-by: Paul Lange <[email protected]>
    Co-authored-by: Valentin Rodygin <[email protected]>
    Co-authored-by: Piers Powlesland <[email protected]>
    
    Set balance of `CeloDistributionSchedule` contract (#162)
    
    * state-migration: Initialize CeloDistributionSchedule
    
    Fixes #155
    
    * state-migration: Don't fail when distribution schedule update errors
    
    * Review comments
    
    state-migration: Set ParentBeaconRoot (#176)
    
    This allows header validation to pass during snap sync
    
    state-migration: Set address of distribution schedule (#177)
    
    state-migration: Read total supply directly from state (#182)
    
    * state-migration: Read totalSupply directly from storage
    
    * Added trigger for updated dependencies
    
    * Removen token bindings
    
    ---------
    
    Co-authored-by: Javier Cortejoso <[email protected]>
    
    Fix l2 block older than l1 origin error (#184) (#187)
    
    * Revert to using time.Now() for migration block
    
    Instead of simply adding 5 to the parent block time.
    
    We really do need a deterministic time for the migration block so that
    all parties that run the migration arrive at the same migration block
    but the problem is that op-geth requires that the L2 migration block
    (aka l2 origin) occurs after the l1 origin (I guess the point where you
    deploy the bridge contracts to the l1). When we migrate a partially
    synced datadir the block before the transition block will be very old,
    up to 4 years old! So of course it occurs before the l1 origin. So a fix
    just to get things working is to use time.Now(), but probably we should
    make this a configurable parameter.
    
    * add flag to specify timestamp
    
    * Update op-chain-ops/cmd/celo-migrate/main.go
    
    ---------
    
    Co-authored-by: piersy <[email protected]>
    
    Migration script fixes (#179)
    
    * Fixed migration for datadirs without ancients
    
    The script was assuming that ancients would have been migrated and was
    considering the numAncients-1 to be the next block to migrate but when
    numAncients is zero that's a problem.
    
    Also remved logic for  picking up where db migration left of for the
    level db since it was complicating the logic and that process takes a
    few seconds, which is nothing compared with the minutes taken to migrate
    the ancients.
    
    * Ensure that we set gas limit if migrating at pre-gingerbread point
    
    Fix migration script gap in migrated blocks (#189)
    
    * Fix migration script gap in migrated blocks
    
    The range of ancient blocks to remove from the non ancients database was
    off by one and resulted in a gap between ancients and non ancients.
    
    Also corrected some log statements that were off by one.
    
    Add pre-migration command to migration script (#192)
    
    * add pre-migration command, rsync and ancients run in parallel, remove onlyAncients flag
    
    * remove block and state migration sub-commands
    
    * make non ancient migration its own step, add flag to measure time
    
    * add more granular timers
    
    * open db without freezer in state migration, remove clearAll
    
    * fix error
    
    * remove update flag from rsync command, add rsync comments
    
    * delete commented out versions of checkForPrevFullMigration
    
    * remove aliases
    
    * remove clearNonAncients flag
    
    * remove measureTime flag, always log time measurements
    
    * remove logging from help text
    
    * remove db reset
    
    * move scan for extra ancients into pre-migration
    
    * update README
    
    * rename extraAncientNumHashes to strayAncientBlocks
    
    state-migration: Fail if account would be overwritten (#202)
    
    * state-migration: Fail if account would be overwritten
    
    * Review changes
    
    * Review changes 2
    
    * Fail in unclear state
    
    * more changes
    
    * Use whitelist to decide if nonce and state are overwritten
    
    Cosmetic changes to the migration script
    
    - Use more lists for added readability
    - Capitalize Alfajores and Celo
    - Reorder scripting instructions to fit the actual order or operations
    - Use GitHub callouts
    
    migration: Add tests (#217)
    
    * migration: Add tests for state migration
    
    * migration: Fix issues shown by tests
    
    * migration: pass allowlist into state migration
    
    Allows for easier testing
    
    * migration: Add test with allowlist
    
    * Correct overwrite counter
    
    * Use in memory DB
    
    migration: Add working allowlist for Alfajores (#220)
    
    * migration: Simplify tests
    
    * migration: Add working allowlist for Alfajores
    
    Adapt migration code to changes in StateDB
    
    StateDB.CreateAccount used to copy existing balance, now it does not any
    more.
    
    migration: Set fields correctly for migration block (#212)
    
    migration: Enable Granite (#226)
    
    Write genesis file in state migration (#219)
    
    * squash of #167
    
    * add writeGenesis
    
    * open old freezer in readonly mode, fix locking error
    
    * remove devAlloc
    
    * Revert "open old freezer in readonly mode, fix locking error"
    
    This reverts commit e3fddea.
    
    * fix locking error
    
    * fix lint error, check errors, add comment
    
    * remove comment
    
    * filter extra genesis fields
    
    * fix issue with genesis extra data
    
    * update testdata
    
    ---------
    
    Co-authored-by: Javier Cortejoso <[email protected]>
    
    migration: Overwrite create2deployer code (#233)
    
    migration: Allow 'createx' preinstall (#238)
    
    The code already exists on Alfajores and matches the one that would be
    deployed, therefore we just allow this address.
    
    add migration-block-number flag (#245)
    
    * add migration-block-number flag
    
    * address feedback
    
    * move migration-block-number flag out of state migration options
    
    Fixes for re-running migration script on same destination db  (#246)
    
    * add reset flag
    
    * add --checksum to rsync options
    palango authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    dfd6802 View commit details
    Browse the repository at this point in the history
  17. Trigger workflow changes

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    25a8e32 View commit details
    Browse the repository at this point in the history
  18. File trigger updated

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    488ece9 View commit details
    Browse the repository at this point in the history
  19. Update docker-build-scan.yaml

    Improving the docker tagging logic.
    
    [Context](https://github.com/orgs/community/discussions/25191) (thanks @alvarof2 for the link)
    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    96ab119 View commit details
    Browse the repository at this point in the history
  20. Fix shellcheck.

    rkachowski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    f146a1f View commit details
    Browse the repository at this point in the history
  21. Use name AbstractFeeCurrency to avoid confusion

    ...with the FeeCurrency in celo/testing/FeeCurrency.sol . It also is a
    good idea to clearly name abstract contracts, so that nobody tries to
    use them as a non-abstract contract (e.g. tries a deployment).
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    b841774 View commit details
    Browse the repository at this point in the history
  22. ci: Add shellcheck job (#191)

    * ci: Add shellcheck job
    
    * Update op-e2e/celo/run_all_tests.sh
    
    Co-authored-by: Karl Bartel <[email protected]>
    
    ---------
    
    Co-authored-by: Karl Bartel <[email protected]>
    2 people authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7b4e18a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7399a99 View commit details
    Browse the repository at this point in the history
  24. Rename NativeToken to CeloTokenL1

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7bf6bf1 View commit details
    Browse the repository at this point in the history
  25. Use ERC1967 proxy and init from Safe

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2462ad8 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    baf44fe View commit details
    Browse the repository at this point in the history
  27. Add CeloTokenL1 chain assertions

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c92fd70 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    73ad489 View commit details
    Browse the repository at this point in the history
  29. Deploy multicall contract on devnet L1

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    5f4bd1f View commit details
    Browse the repository at this point in the history
  30. Add viem E2E testsuite

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    af6abaf View commit details
    Browse the repository at this point in the history
  31. Fix l1-deployments check

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    57af1c9 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    bca15ce View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0f17d63 View commit details
    Browse the repository at this point in the history
  34. Use L2OutputOracle in celo e2e tests

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    fe7f5bb View commit details
    Browse the repository at this point in the history
  35. Update plasma config

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    d0cf417 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    7195c3c View commit details
    Browse the repository at this point in the history
  37. Add docker-build job to CircleCI

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    1078913 View commit details
    Browse the repository at this point in the history
  38. Add celo devnet-allocs CI test

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c2974ff View commit details
    Browse the repository at this point in the history
  39. Run Celo E2E test in CircleCI

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    6e57109 View commit details
    Browse the repository at this point in the history
  40. Update node packages for e2e test

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bfcb48a View commit details
    Browse the repository at this point in the history
  41. Add node dependency caching

    ezdac authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    00f008d View commit details
    Browse the repository at this point in the history
  42. Use RPC URLs from env in JS tests

    This makes sure we use the same configuration across all tests.
    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c93f56e View commit details
    Browse the repository at this point in the history
  43. Create funding.json

    Adding funding.json file required to apply for retropgf
    marekolszewski authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    8351b3e View commit details
    Browse the repository at this point in the history
  44. Remove state op-hearbeat builds

    the heartbeat program was removed in 0da4ba1
    palango authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c40c392 View commit details
    Browse the repository at this point in the history
  45. Temporarily skip tests after rebase

    karlb authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    bf403e9 View commit details
    Browse the repository at this point in the history
  46. build: Fix outdated dockerfile (#224)

    palango authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2ad5132 View commit details
    Browse the repository at this point in the history
  47. Update deployment scripts

    jcortejoso authored and alecps committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7db939f View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Configuration menu
    Copy the full SHA
    c81fea1 View commit details
    Browse the repository at this point in the history
  2. migration: Fix baseFee calculation (#240)

    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]>
    2 people authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    efe4943 View commit details
    Browse the repository at this point in the history
  3. migration: Make migration-block-time a required flag (#242)

    Make migration-block-time a required flag
    
    ---------
    
    Co-authored-by: alecps <[email protected]>
    Co-authored-by: piersy <[email protected]>
    3 people committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0234f48 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f23ef1b View commit details
    Browse the repository at this point in the history
  5. Increase MaxFrameLen to 16 MB

    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)).
    jcortejoso authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    ac1694e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ec1f607 View commit details
    Browse the repository at this point in the history
  7. Update base comit in fork.yml

    palango authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    feeeb26 View commit details
    Browse the repository at this point in the history
  8. Simplify CI

    palango authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2e66531 View commit details
    Browse the repository at this point in the history
  9. contracts: Update allowed interface list with Celo interfaces

    Those have warnings with `check-interfaces.sh`. Ignore those warnings
    for now.
    palango authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7568d8b View commit details
    Browse the repository at this point in the history
  10. Update eip1558 config in template

    jcortejoso authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    14cf272 View commit details
    Browse the repository at this point in the history
  11. Use a new batcher deposer address

    jcortejoso authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    308fbb2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7672c9d View commit details
    Browse the repository at this point in the history
  13. Skip fee tests for now

    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    a2817da View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bda0e35 View commit details
    Browse the repository at this point in the history
  15. Skip interop tests for now

    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4211ca4 View commit details
    Browse the repository at this point in the history
  16. op-chain-ops: Use noop for unimplemented writeJson

    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.
    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7acfe8c View commit details
    Browse the repository at this point in the history
  17. contracts: versioning for Celo modified contracts

    Changes in implementation require changes in version. This is ensured
    by `./scripts/checks/check-semver-diff.sh`.
    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f4647a8 View commit details
    Browse the repository at this point in the history
  18. Update semver-lock

    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    36f1da1 View commit details
    Browse the repository at this point in the history
  19. Update snapshots

    karlb authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e565e0e View commit details
    Browse the repository at this point in the history
  20. Build op-conductor

    alvarof2 authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2bb9245 View commit details
    Browse the repository at this point in the history
  21. OptimismPortal2 set initial _balance through StorageSetter pattern (#…

    …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]>
    2 people authored and alecps committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e618044 View commit details
    Browse the repository at this point in the history