Skip to content

[AA] Fix runop script#771

Merged
InoMurko merged 1 commit intodevelopfrom
wsdt/aa-runop
May 3, 2023
Merged

[AA] Fix runop script#771
InoMurko merged 1 commit intodevelopfrom
wsdt/aa-runop

Conversation

@wsdt
Copy link
Copy Markdown
Contributor

@wsdt wsdt commented May 3, 2023

Overview

Fix runop script.
resolves #677

Changes

  • Provider was not connected on justEmit() which lead to reverts. (be sure to generate typechain first)

Testing

Successfully ran runop script.

@wsdt wsdt requested review from InoMurko and souradeep-das May 3, 2023 08:44
@wsdt wsdt changed the base branch from develop to inomurko/bump-bundler-2 May 3, 2023 08:45
@InoMurko
Copy link
Copy Markdown
Contributor

InoMurko commented May 3, 2023

Can this be tested?

@InoMurko InoMurko force-pushed the inomurko/bump-bundler-2 branch 2 times, most recently from 8794c88 to a589698 Compare May 3, 2023 09:21
@wsdt
Copy link
Copy Markdown
Contributor Author

wsdt commented May 3, 2023

Can this be tested?

added a basic test to see if it runs through.

didn't want to change the code too much, but happy to do so if you want more granular tests

@InoMurko
Copy link
Copy Markdown
Contributor

InoMurko commented May 3, 2023

Can this be tested?

added a basic test to see if it runs through.

didn't want to change the code too much, but happy to do so if you want more granular tests

since upstream does not work at all - we're safe to test it. You can also push upstream

@souradeep-das
Copy link
Copy Markdown
Contributor

the tests for this should be - "yarn run runop" passes, which is passing!
upstream (and we) also run this on ci - as a part of "yarn run ci" - so we can pr this change to upstream!

Copy link
Copy Markdown
Contributor

@souradeep-das souradeep-das left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great stuff!
(on the pr upstream lets not lint the file)

Comment thread packages/boba/bundler_sdk/test/0-deterministicDeployer.test.ts Outdated
Comment thread packages/boba/account-abstraction/test/runop.test.ts Outdated
Base automatically changed from inomurko/bump-bundler-2 to develop May 3, 2023 09:58
@InoMurko
Copy link
Copy Markdown
Contributor

InoMurko commented May 3, 2023

it seems like your commits got messed up, pls fix this before merging

Copy link
Copy Markdown
Contributor

@InoMurko InoMurko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit history fix

@wsdt wsdt requested a review from InoMurko May 3, 2023 10:42
@wsdt wsdt force-pushed the wsdt/aa-runop branch from 71113f8 to 2421c51 Compare May 3, 2023 13:41
@InoMurko InoMurko merged commit 176cd3c into develop May 3, 2023
@InoMurko InoMurko deleted the wsdt/aa-runop branch May 3, 2023 15:02
InoMurko pushed a commit that referenced this pull request May 8, 2023
(cherry picked from commit 176cd3c)
InoMurko added a commit that referenced this pull request May 8, 2023
* Inomurko/bump bundler  (#698)

* bump bundler, limit dependency bumps

* uncomment bundler related stuff

* build bundler in docker

* build fixes

* fix tests

* fix bundler building

* uncomment _disableInitializers

* fix running DTL

* v1.0.0

* fixing starting bundler and tests, default config

* local unsafe, linting fix in intg tests

* custom errors fixes

* new api for simple account contract

* use simple account factory proxy

* use simple account factory proxy in SimpleAccountAPI

* use simple account factory proxy in SimpleAccountAPI

* use wrappers to get around custom errors

* update entrypoint wrapper (#745)

* sponsoring fee fixed

* stricter validation for staking

* remove debug namespace, fix return for unaavailable rpc methods

* addressing Souradeeps comments

---------

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
(cherry picked from commit 6368c72)

* fix: qsp30 (#773)

fix: BOB1-30
(cherry picked from commit 7feda88)

* run op fix (#771)

(cherry picked from commit 176cd3c)

* close-server (#768)

(cherry picked from commit 72021af)

* [AA]: fix inconsistent userOpHash (#757)

* add token callback handler on SimpleAccount

* fix: userOpHash packing

* prevent recursive calls into handleOps

* move nonce validation from individual Account to EntryPoint

* add bundler changes for nonce change to EP

(cherry picked from commit cc4e205)

* ValidationManager account for signature expiration (#775)

* resolve #753

* Update packages/boba/bundler/src/modules/ValidationManager.ts

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* fix bool

* validAfter/Until integrationt tests, validAfter

* cleanup

* regex

* integration_tests

* integration & unit tests

---------

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit ef02bee)

* npm release workflow for bundler-sdk (#749)

(cherry picked from commit 718141f)

* Fix/banxa and bridges (#772)

* adding boba network

* fixing boba bridge url

* fixing bridge integration

* replace code by selectors

* remove hardcoded symbol

* enable banxa only for mainnet

* Available bridge inable only for mainnet

* adding support for testnet

* update conditional for other bridges

* implemented the available bridges with typescript

* unit test cases for available bridges

* typo in Available bridges

---------

Co-authored-by: alvaro-ricotta <alvaro.e.ricotta@gmail.com>
Co-authored-by: alvaro-ricotta <81116391+alvaro-ricotta@users.noreply.github.com>
Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
(cherry picked from commit dcf9b7e)

* add validation of entryPoint and wrapper (#779)

* add validaiton of entryPoint and wrapper

(cherry picked from commit 41f3150)

---------

Co-authored-by: Souradeep Das <dsouradeep2@gmail.com>
Co-authored-by: Riedl Kevin, Bsc <kevin.riedl@wavect.io>
Co-authored-by: Sahil K <86316370+sk-enya@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AA] fix - src/runOp.ts

3 participants