Skip to content

op-devstack: contract call DSL interface + impl PoC #16002

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

Closed
wants to merge 7 commits into from

Conversation

pcw109550
Copy link
Contributor

Description

DSL PoC using Call interface, implementing basic Call interface and simple implementation (WETH).

Note that this is a PoC implementation and definitely needs a clean up.

Tests

Added TestCallViewWriteWETH, which is a superset of TestSystemWrapETH at
https://github.com/ethereum-optimism/optimism/blob/develop/op-acceptance-tests/tests/interop/interop_smoke_test.go#L53C6-L53C23. The original TestSystemWrapETH was written using the legacy bindings and not using devstack. This TestCallViewWriteWETH attempts to rewrite using op-devstack with a poc of contract call DSL.

Additional context

Note that there are bunch of TODOs. For PoCing I used w3 but this is desired to be isolated and abstracted using tools like abigenv2.

Metadata

@pcw109550 pcw109550 changed the title Pcw109550/devstack contract call dsl poc op-devstack: contract call interface + impl PoC May 19, 2025
@pcw109550 pcw109550 changed the title op-devstack: contract call interface + impl PoC op-devstack: contract call DSL interface + impl PoC May 19, 2025
Copy link

codecov bot commented May 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (c642cd3) to head (3a3391c).
Report is 20 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff              @@
##           develop   #16002       +/-   ##
============================================
- Coverage    46.87%        0   -46.88%     
============================================
  Files         1345        0     -1345     
  Lines       108609        0   -108609     
============================================
- Hits         50914        0    -50914     
+ Misses       54080        0    -54080     
+ Partials      3615        0     -3615     
Flag Coverage Δ
cannon-go-tests-64 ?
contracts-bedrock-tests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1345 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pcw109550
Copy link
Contributor Author

Closing. using #16046

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.

Contract Acceptance Tests: DSL PoC using Call interface using WETH
1 participant