Skip to content
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

feat: 7702 #1

Draft
wants to merge 40 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
97a9e53
feat: 7702
chris13524 Sep 10, 2024
ecfd1ff
fix: The inferred type of 'bundlerArgsSchema' cannot be named without…
chris13524 Sep 10, 2024
2e26b21
fix: nullable field
chris13524 Sep 10, 2024
4f52377
fix: simulate authorizationList
chris13524 Sep 10, 2024
87f4cb0
chore: debugging
chris13524 Sep 10, 2024
84ef0d5
chore: debug logging
chris13524 Sep 10, 2024
b8b5e97
chore: another log
chris13524 Sep 10, 2024
56702dd
chore: increase severity
chris13524 Sep 10, 2024
0fc0d67
chore: bump version
chris13524 Sep 10, 2024
34ca6a5
chore: use logger
chris13524 Sep 10, 2024
8492657
chore: missing schema parts
chris13524 Sep 10, 2024
3bb2aec
chore: save authorization list in global state
chris13524 Sep 10, 2024
b584c8b
chore: fix build
chris13524 Sep 10, 2024
67320b4
chore: switch to tuple
chris13524 Sep 10, 2024
67b7380
chore: string builder
chris13524 Sep 10, 2024
fd43fce
chore: more logs
chris13524 Sep 11, 2024
5ece004
chore: logs
chris13524 Sep 11, 2024
c62dd5b
chore: more logs
chris13524 Sep 11, 2024
1ae051c
chore: fix build
chris13524 Sep 11, 2024
f152b22
chore: more logs
chris13524 Sep 11, 2024
3cc864e
chore: more logs
chris13524 Sep 11, 2024
b129227
chore: log in correct spot
chris13524 Sep 11, 2024
9910e85
chore: finally put in right spot
chris13524 Sep 11, 2024
170a85d
chore: mock authorization list
chris13524 Sep 12, 2024
801aa9a
chore: viem mock
chris13524 Sep 12, 2024
261df58
chore: fix build
chris13524 Sep 12, 2024
cccb56a
chore: add mock to simulation
chris13524 Sep 12, 2024
f93395e
chore: fix build
chris13524 Sep 12, 2024
6b09f83
chore: fix URL
chris13524 Sep 12, 2024
0ac5c0f
chore: use sepolia chain ID
chris13524 Sep 12, 2024
c5737cb
chore: actions
chris13524 Sep 12, 2024
09b9799
chore: fix build
chris13524 Sep 12, 2024
c8c3d5e
chore: revert
chris13524 Sep 13, 2024
10b6982
chore: update execute simulator
chris13524 Sep 14, 2024
7277f68
chore: update entrypoint simulations
chris13524 Sep 14, 2024
98c9508
chore: more logs
chris13524 Sep 16, 2024
e0815db
chore: add error
chris13524 Sep 16, 2024
6433630
chore: more logs
chris13524 Sep 16, 2024
8df9f46
chore: logs
chris13524 Sep 16, 2024
d582329
chore: more logs
chris13524 Sep 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 68 additions & 42 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/localDeployer/constants.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/localDeployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
},
"dependencies": {
"@types/node": "^18.16.3",
"viem": "^2.9.5"
"viem": "^2.21.4"
}
}
2 changes: 2 additions & 0 deletions src/cli/alto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import {
} from "./config"
import { registerCommandToYargs } from "./util"

console.log("STARTING2")

// Load environment variables from .env file
if (process.env.DOTENV_CONFIG_PATH) {
dotenv.config({ path: process.env.DOTENV_CONFIG_PATH })
Expand Down
4 changes: 3 additions & 1 deletion src/cli/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import { setupServer } from "./setupServer"
import { PimlicoEntryPointSimulationsDeployBytecode } from "../types/contracts"
import { UtilityWalletMonitor } from "../executor/utilityWalletMonitor"
import { GasPriceManager } from "@alto/handlers"
import { eip5792Actions } from "viem/experimental"

const parseArgs = (args: IOptionsInput): IOptions => {
// validate every arg, make type safe so if i add a new arg i have to validate it
Expand Down Expand Up @@ -138,6 +139,7 @@ export async function bundlerHandler(args: IOptionsInput): Promise<void> {
account: parsedArgs["utility-private-key"]
})

console.log("DOexecute: 444")
const deployHash = await walletClient.deployContract({
chain,
abi: [],
Expand Down Expand Up @@ -200,7 +202,7 @@ export async function bundlerHandler(args: IOptionsInput): Promise<void> {
}
),
chain
})
}).extend(eip5792Actions())

const senderManager = new SenderManager(
parsedArgs["executor-private-keys"],
Expand Down
Loading