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

ABI dir fixes #2003

Merged
merged 37 commits into from
Jul 11, 2023
Merged

ABI dir fixes #2003

merged 37 commits into from
Jul 11, 2023

Commits on Jul 11, 2023

  1. beamer: move load_rpc_info from beamer.deploy.config to beamer.util

    It makes more sense to be there.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9090183 View commit details
    Browse the repository at this point in the history
  2. beamer: tests: config: add missing --abi-dir option

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ff393cd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6560468 View commit details
    Browse the repository at this point in the history
  4. beamer: deploy: move artifacts generation to util

    This is in preparation for the move of artifacts module outside of
    beamer.deploy package.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    030e906 View commit details
    Browse the repository at this point in the history
  5. beamer: contract: add obtain_contract

    This is paving the way to remove Deployment.obtain_contract and related infrastructure.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9da442a View commit details
    Browse the repository at this point in the history
  6. beamer: deploy: add missing --abi-dir options

    And convert to use beamer.contract.obtain.contract.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    7ec1dbb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2f48315 View commit details
    Browse the repository at this point in the history
  8. scripts: e2e-test-op-commands: convert to use beamer.contracts.obtain…

    …_contract
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2428f1a View commit details
    Browse the repository at this point in the history
  9. docker: optimism: add missing --abi-dir option

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    e8ed37b View commit details
    Browse the repository at this point in the history
  10. scripts: e2e-test-op-commands: make the function name consistent with…

    … command name
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    b9a8ae8 View commit details
    Browse the repository at this point in the history
  11. beamer: deploy: remove artifacts.obtain_contract

    It's no longer used.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    bb75980 View commit details
    Browse the repository at this point in the history
  12. beamer: deploy: remove util.make_contract

    It's unused.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    053ee63 View commit details
    Browse the repository at this point in the history
  13. beamer: move deploy.artifacts one level up

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    26d0774 View commit details
    Browse the repository at this point in the history
  14. beamer: contracts: introduce ABIManager

    This provides contract ABI and bytecode in a lazy manner, i.e. it reads
    each ABI file only once, upon first request, and stores the loaded data
    in its cache.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2b76f1a View commit details
    Browse the repository at this point in the history
  15. beamer: deploy: use ABIManager

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ec02cde View commit details
    Browse the repository at this point in the history
  16. beamer: deploy: remove unused code

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    86b071b View commit details
    Browse the repository at this point in the history
  17. beamer: deploy: silence pylint

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2e194c4 View commit details
    Browse the repository at this point in the history
  18. beamer: contracts: require an ABIManager in obtain_contract

    This is in preparation to remove load_contract_abi.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    19b7cb6 View commit details
    Browse the repository at this point in the history
  19. beamer: provide an ABIManager instance to obtain_contract instead of …

    …a path
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    9508f2c View commit details
    Browse the repository at this point in the history
  20. beamer: artifacts: add a helper load_all function

    This is used to collect all artifacts under the given artifacts dir into
    a mapping keyed by the chain ID.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    01ef1e4 View commit details
    Browse the repository at this point in the history
  21. beamer: artifacts: add a helper property, Deployment.earliest_block

    Useful to avoid repeating the same computation in several places.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    65ad190 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7a3bff7 View commit details
    Browse the repository at this point in the history
  23. beamer: tests: move the 'root' variable into _generate_deployment_dir

    This is in preparation for the move of that function to the util module.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    04c5938 View commit details
    Browse the repository at this point in the history
  24. beamer: tests: split _generate_deployment_dir into two and make it av…

    …ailable in the utils module
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    6dd0433 View commit details
    Browse the repository at this point in the history
  25. beamer: agent: don't load artifacts as part of config setup

    Instead, move it to the agent, where it belongs.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    63066e8 View commit details
    Browse the repository at this point in the history
  26. beamer: tests: name artifacts properly when generating them

    Also allow for already existing artifacts and ABI dirs.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    3b3dea4 View commit details
    Browse the repository at this point in the history
  27. beamer: tests: make tests work again after the config changes

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    78a8c0d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    15fdd1c View commit details
    Browse the repository at this point in the history
  29. beamer: contracts: remove unused code

    This code is no longer needed since we switched to the new artifacts and
    ABI handling API.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    86ff05b View commit details
    Browse the repository at this point in the history
  30. docker: scripts: fix deploy-base and deploy invocation

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    2e0475b View commit details
    Browse the repository at this point in the history
  31. beamer: artifacts: add a new helper function to load only a single de…

    …ployment
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    8eb045a View commit details
    Browse the repository at this point in the history
  32. scripts: move away from using contracts_for_web3

    Instead use the ABI manager and the newly added helper in beamer.artifacts.
    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ff22dc7 View commit details
    Browse the repository at this point in the history
  33. beamer: contracts: remove the now unused contracts_for_web3

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    11a5da6 View commit details
    Browse the repository at this point in the history
  34. beamer: agent: use beamer.artifacts.load instead of load_all

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    695c356 View commit details
    Browse the repository at this point in the history
  35. beamer: health: use beamer.artifacts.load instead of load_all

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    c614b55 View commit details
    Browse the repository at this point in the history
  36. beamer: artifacts: remove the now unused load_all function

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    1c16f81 View commit details
    Browse the repository at this point in the history
  37. beamer: tests: config: don't hardcode chain ID

    Ivan Stanković committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    8013248 View commit details
    Browse the repository at this point in the history