Skip to content

Commit

Permalink
update stackup bundler version
Browse files Browse the repository at this point in the history
  • Loading branch information
eerkaijun committed Mar 25, 2024
1 parent 46b635c commit ce73372
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/op-geth
/account-abstraction
/blockscout
/stackup-bundler

# Dev Tooling
__pycache__
Expand Down
16 changes: 13 additions & 3 deletions account_abstraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,19 @@ def setup(config: Config):
cwd="account-abstraction",
log_file=log_file)

# === clone stackup-bundler repo ===

github_url = "https://github.com/stackup-wallet/stackup-bundler.git"

if os.path.isfile("stackup-bundler"):
raise Exception("Error: 'stackup-bundler' exists as a file and not a directory.")
elif not os.path.exists("stackup-bundler"):
print("Cloning the stackup-bundler repository. This may take a while...")
lib.clone_repo(github_url, "clone the stackup-bundler repository")

# === install stackup bundler ===

github_url = "github.com/stackup-wallet/stackup-bundler"
version = "v0.6.21"
version = "v0.6.44"

log_file = f"{config.logs_dir}/install_bundler.log"
print(f"Installing stackup bundler. Logging to {log_file}")
Expand All @@ -66,8 +75,9 @@ def setup(config: Config):

lib.run_roll_log(
"install stackup bundler",
f"go install {github_url}@{version}",
f"git checkout {version} && go build -o ./tmp/stackup-bundler main.go",
env=env,
cwd="stackup-bundler",
log_file=log_file)

# === build paymaster dependencies ===
Expand Down

0 comments on commit ce73372

Please sign in to comment.