Files
2216ceadd7 AA-323: Add support for RIP-7560 transactions in bundler (#195)
* WIP: Add support for RIP-7560 transactions in bundler

* Adding useRIP7560 option

* Adding rip7560 bundler cli

* Try fixing build in Github Actions

* Skip 7560 mode in CI - requires running a forked geth

* Do not deploy the EntryPoint contract in RIP-7560 mode

* Fix issue: incorrect gas parameters names

* remove expectedRevenue

* WIP: support the 'debug_traceRip7560Validation' API

* WIP: misaligned names in 4337 and 7560 (quickfix, not rename)

* WIP: call to the 'debug_traceRip7560Validation' before accepting a transaction

* Use Bundler Collector Tracer return format for smoke check (wip)

* Fixing tracer parser wip

* Fix RIP-7560 transaction support with Paymaster specified

* Fix tests

* Fix banned opcode checks for Factory frame in RIP-7560 mode

* Fix lint, remove unused stuff

* Try unwrapping the inner error to expose real error code

* Uncomment 'preVerificationGas' check

* Update package.json

* Address PR comments

* Remove the 'STOPSHIP' comment

* Fix 'null' as key in the staked entries map

* Fix bugs and lint

* Rename

* REBASE PR: throw RpcError (#209)

* throw RpcError

* Fix lint

---------

Co-authored-by: Dror Tirosh <[email protected]>

* Make keys lowercase

* Hotfix: missing Factory frame identification due to SenderCreator

* Fix lint

* Fixing tests

* generic RPC error code

* Minor cleanup for 'BundleManager' and 'BundleManagerRIP7560' contructors

* Include 'test' directory in TypeScript compilation and fix issues

---------

Co-authored-by: shahafn <[email protected]>
Co-authored-by: Dror Tirosh <[email protected]>
2024-07-23 12:46:48 +02:00

37 lines
985 B
JSON

{
"name": "@account-abstraction/utils",
"version": "0.7.0",
"main": "./dist/src/index.js",
"license": "MIT",
"files": [
"dist",
"src",
"README.md"
],
"scripts": {
"clear": "rm -rf dist artifacts cache src/types",
"hardhat-compile": "hardhat compile",
"lint-fix": "eslint -f unix . --fix",
"watch-tsc": "tsc -w --preserveWatchOutput",
"tsc": "tsc",
"sol-ts": "yarn hardhat-compile && yarn tsc"
},
"dependencies": {
"@account-abstraction/contracts": "^0.7.0",
"@ethersproject/abi": "^5.7.0",
"@ethersproject/abstract-provider": "^5.7.0",
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@openzeppelin/contracts": "^5.0.1",
"debug": "^4.3.4",
"ethereumjs-util": "^7.1.5",
"ethers": "^5.7.0",
"rlp": "^3.0.0"
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^1.0.2",
"@nomiclabs/hardhat-ethers": "^2.0.0",
"hardhat": "^2.17.0"
}
}