-
Notifications
You must be signed in to change notification settings - Fork 39
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
Example of bundler with single entry point running in single process #78
Comments
In order to finish this task, I have an idea to refactor some of the mapping structures in our data type. Like the below https://github.com/Vid201/aa-bundler/blob/540c0de4faa0b2a8bbc0b2819350ef2d2cacf783/src/uopool/services/uopool.rs#L37-L45 We should refactor the structure to pub struct UoPoolService<M: Middleware> {
pub entry_point: EntryPoint<M>,
pub mempools: MempoolBox<Vec<UserOperation>>,
pub reputations: ReputationBox<Vec<ReputationEntry>>,
pub eth_provider: Arc<M>,
pub max_verification_gas: U256,
pub min_priority_fee_per_gas: U256,
pub chain_id: U256,
} And we build another routeing service which could route the service to the corresponding UoPoolService based on the What do you think? |
Sounds good. What do you have exactly in mind when you say another routing service? |
It is just simple route which is based on the MempoolId. Map<MempoolId, UoPoolService> |
Are you working on this one? @zsluedem |
not really |
Then I will take new routing for uopool/mempools. |
In my assumption of the finished line of this issue, it would take several small tasks and some refactoring. |
Yeah I agree, I will create another issue for the routing only. |
As discussed some time ago, showcase a minimal example of bundler with single entry point running in one process.
The text was updated successfully, but these errors were encountered: