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

Add Foundry unit test coverage for token bridge factory #64

Merged
merged 119 commits into from
Dec 21, 2023

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    ca71072 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db2face View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f60ec86 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d4a34e View commit details
    Browse the repository at this point in the history
  5. Refactor

    gvladika committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    efce336 View commit details
    Browse the repository at this point in the history
  6. Add to CI

    gvladika committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    2de56b5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6389b4a View commit details
    Browse the repository at this point in the history
  8. Revert "Check CI will fail if constructor is modified"

    This reverts commit 6389b4a.
    gvladika committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    6e14a45 View commit details
    Browse the repository at this point in the history
  9. Clean up

    gvladika committed Nov 17, 2023
    Configuration menu
    Copy the full SHA
    879c9b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    778ee85 View commit details
    Browse the repository at this point in the history
  2. Change _creationCodeFor so that it uses the same constructor as the o…

    …ne compiler would generate
    
    This will enable source code verification of the deployed token bridge contracts on the child chain
    gvladika committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    9907fa2 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Init logic contract

    gvladika committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    7f07b3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a2da1b3 View commit details
    Browse the repository at this point in the history
  3. Remove comment

    gvladika committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    d0bf7fd View commit details
    Browse the repository at this point in the history
  4. Add deployment script

    gvladika committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    865a1a7 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    76231f5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #12 from OffchainLabs/address-calc-update

    Calculate properly canonical address of L1 router
    gzeoneth authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    dda5bd1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #11 from OffchainLabs/exec-init

    Logic contract init and test
    gzeoneth authored Nov 27, 2023
    Configuration menu
    Copy the full SHA
    506509f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b2e62e1 View commit details
    Browse the repository at this point in the history
  5. docs: explain

    gzeoneth committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    63b44da View commit details
    Browse the repository at this point in the history
  6. format: fix

    gzeoneth committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    a9a932a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2023

  1. Merge pull request #15 from OffchainLabs/constructor-bytecode

    fix: creation code generation
    gzeoneth authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    7674d4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a0fde8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d29f80c View commit details
    Browse the repository at this point in the history
  4. fix: remove create1 import

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    14b13df View commit details
    Browse the repository at this point in the history
  5. fix: fmt

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    f141c11 View commit details
    Browse the repository at this point in the history
  6. feat: add create1 util

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    e94ee86 View commit details
    Browse the repository at this point in the history
  7. feat: remove logic salt

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    3cc138f View commit details
    Browse the repository at this point in the history
  8. fix: interface name

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    af0b2ab View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0b543c6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a405376 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7b66e28 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4511b7b View commit details
    Browse the repository at this point in the history
  13. Use chai test format

    gvladika committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    bde2b4a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    55d6f07 View commit details
    Browse the repository at this point in the history
  15. feat: add e2e tests to CI (#18)

    * Add e2e tests to CI
    
    * Use custom testnode branch
    
    * Set testnode ref
    
    * Set correct ref
    
    * Specify main
    gvladika authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    fb6f99c View commit details
    Browse the repository at this point in the history
  16. Update comment

    Co-authored-by: gzeon <hng@offchainlabs.com>
    gvladika and gzeoneth authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    7abf8c3 View commit details
    Browse the repository at this point in the history
  17. Remove intermediary function

    gvladika committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    607d631 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #17 from OffchainLabs/creation-code

    Refactor and test creation code generation
    gzeoneth authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    d527518 View commit details
    Browse the repository at this point in the history
  19. Update out-of-date comments

    gvladika committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    c93197b View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a96b658 View commit details
    Browse the repository at this point in the history
  21. chore: rename error

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    8bcbf6e View commit details
    Browse the repository at this point in the history
  22. ci: wait-for-l3

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    11a3f66 View commit details
    Browse the repository at this point in the history
  23. ci: switch back to main

    gzeoneth committed Nov 28, 2023
    Configuration menu
    Copy the full SHA
    43640cb View commit details
    Browse the repository at this point in the history
  24. Merge pull request #19 from OffchainLabs/disable-update

    feat: disable template update
    gzeoneth authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    b975cbb View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    01cf841 View commit details
    Browse the repository at this point in the history
  26. Merge pull request #20 from OffchainLabs/test-addresses

    Test canonical address for multicall, beacon proxy and proxy admin are correct
    gzeoneth authored Nov 28, 2023
    Configuration menu
    Copy the full SHA
    ed24e1e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    b2c8e4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a33258f View commit details
    Browse the repository at this point in the history
  3. fix: beacon deploy

    gzeoneth committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    c28aebf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f46c61 View commit details
    Browse the repository at this point in the history
  5. Add test info

    gvladika committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    d36902a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bcb00d5 View commit details
    Browse the repository at this point in the history
  7. Fetch rollup owner from logs

    gvladika committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    e9ff618 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d92b55 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1d11a54 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0a87b57 View commit details
    Browse the repository at this point in the history
  11. Remove unnecessary structs

    gvladika committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    f7bdc1d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0f36d7a View commit details
    Browse the repository at this point in the history
  13. refactor: flatten more

    gzeoneth committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    b49be0d View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a2276ef View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0b9968b View commit details
    Browse the repository at this point in the history
  16. refactor: remove return val

    gzeoneth committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    b164913 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    84a190d View commit details
    Browse the repository at this point in the history
  18. feat: add deployment setter

    gzeoneth committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    1e512e5 View commit details
    Browse the repository at this point in the history
  19. fix: l2 multicall template

    gzeoneth committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    8868ddc View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b17231b View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. docs: sendRetryable

    gzeoneth committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    c596691 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5325170 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a168fa6 View commit details
    Browse the repository at this point in the history
  4. Change action name

    gvladika committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    a524b74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c14a31 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    541d549 View commit details
    Browse the repository at this point in the history
  7. docs: add more comments

    gzeoneth committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    742c9a8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cb00c5e View commit details
    Browse the repository at this point in the history
  9. refactor: trycatch

    gzeoneth committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    192d983 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d12bd6c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    bcac012 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ca76b16 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #23 from OffchainLabs/e2e-fee-token

    Add to CI e2e test on top of custom fee token chain
    gzeoneth authored Dec 1, 2023
    Configuration menu
    Copy the full SHA
    ca4a2dc View commit details
    Browse the repository at this point in the history
  14. Remove unused error

    gvladika committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f3922cf View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    652b943 View commit details
    Browse the repository at this point in the history
  16. Test setTemplates

    gvladika committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    9138364 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    e2537f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c90260 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c8e3759 View commit details
    Browse the repository at this point in the history
  4. Test setTemplates

    gvladika committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    734b152 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ed3d817 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    321e982 View commit details
    Browse the repository at this point in the history
  7. Add createTokenBridge tests

    gvladika committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    6937f8f View commit details
    Browse the repository at this point in the history
  8. Add more L1 creator tests

    gvladika committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    afe7c3b View commit details
    Browse the repository at this point in the history
  9. Test ERC20 chain

    gvladika committed Dec 4, 2023
    Configuration menu
    Copy the full SHA
    540902f View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Configuration menu
    Copy the full SHA
    5f21244 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    882fd94 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. fix: unsalted deployment

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    b6f67bf View commit details
    Browse the repository at this point in the history
  2. Complete L2 factory tests

    gvladika committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    83751fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d0bc46 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bde8041 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    95faf65 View commit details
    Browse the repository at this point in the history
  6. test: deployment fail case

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    fa36997 View commit details
    Browse the repository at this point in the history
  7. feat: allow retry

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    08f4c50 View commit details
    Browse the repository at this point in the history
  8. fix: typo

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    96fb990 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0ff8288 View commit details
    Browse the repository at this point in the history
  10. test: fix new test

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e831aa8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    97138a1 View commit details
    Browse the repository at this point in the history
  12. docs: more comments

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    7ad4ad6 View commit details
    Browse the repository at this point in the history
  13. docs: explain more

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    6549657 View commit details
    Browse the repository at this point in the history
  14. refactor: rename to resend

    gzeoneth committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    ad122d3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7a20b4c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e0b7e52 View commit details
    Browse the repository at this point in the history
  17. Add more L1 factory tests

    gvladika committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    ba8f5d2 View commit details
    Browse the repository at this point in the history
  18. Add missing L1 factory tests

    gvladika committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    9f72fc8 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Configuration menu
    Copy the full SHA
    d702e7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d1dbf1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adda8e6 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Configuration menu
    Copy the full SHA
    875c48b View commit details
    Browse the repository at this point in the history
  2. Stack too deep fix

    gvladika committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    7ca2343 View commit details
    Browse the repository at this point in the history
  3. Adapt tests

    gvladika committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    9ebe8b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc1f8f5 View commit details
    Browse the repository at this point in the history