concrete-eth / concrete-geth

Concrete is a framework for building application-specific rollups on the OP Stack
GNU Lesser General Public License v3.0
47 stars 19 forks source link

[ODHack 5.0] Remove Concrete dependency from core/state #33

Open therealbytes opened 1 month ago

therealbytes commented 1 month ago

[ODHack 5.0] Contributors: Note that we highly recommend that you comment on the issue by introducing yourself and how you plan on tackling the issue! Just saying you want an issue is not helpful. This will help with assigning tasks, especially if many comment.

Rationale

Concrete is not actually used by core/state but it is imported by statedb.go for interface checking var _ cc_api.StateDB = (*StateDB)(nil) and argument typing concretePrecompiles concrete.PrecompileMap. This is unfortunate since it makes it impossible to import state from concrete and concrete/api where it would be useful for testing since that would lead to an import cycle error.

Implementation

Jemiiah commented 1 month ago

@therealbytes i would love to work on this

therealbytes commented 1 month ago

Any news on this? @Jemiiah

Jemiiah commented 1 month ago

hello @therealbytes I’m still working on this at least before Wednesday ends I would create my PR🙌🏾 thank you

therealbytes commented 1 month ago

What's your status on this? @Jemiiah

Jemiiah commented 1 month ago

Hello @therealbytes i will give you feedback later today🙌🏾

Josh-121 commented 1 week ago

Hello. I'm looking to make my first contribution here. I'll review the codebase while taking note of the highlighted implementation, I've had some experience working on something similar and looking to complete within 2days if assigned

therealbytes commented 3 days ago

@Josh-121 Any updates?

Shoetan commented 3 days ago

Hi @therealbytes can I be assigned this issue to solve import cycle problem which can be explained simply like

A imports B B imports A

Josh-121 commented 3 days ago

@Josh-121 Any updates? Will make pr soon

Josh-121 commented 3 days ago

@therealbytes You can unassign by tomorrow if not ready. Sorry for the delay

therealbytes commented 3 days ago

Hey @Josh-121 This is blocking @Shoetan and it has been a week already.

ODHack ends this Sunday. If you are going to do deliver please do it soon enough that @Shoetan has time to finish his work on time. If you don't plan on delivering, it's ok but please let us know now so someone else can do it.

Josh-121 commented 3 days ago

On my system now. Should see in some minutes

Josh-121 commented 2 days ago

PR is ready