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: Adds support for v0.7 AA contracts. #13

Merged
merged 8 commits into from
Nov 12, 2024
Merged

Conversation

mmontour1306
Copy link
Collaborator

Updates protocol version to 0.3 in offchain-RPC calls, updates Python examples. Other example / SDK repositories will also need to be updated. Applies some audit recommendations to HCHelper.

[Closes/Fixes] #

Proposed Changes

Updates protocol version to 0.3 in offchain-RPC calls, updates Python examples.
Other example / SDK repositories will also need to be updated.
Applies some audit recommendations to HCHelper.
 Changes to be committed:
	modified:   crates/builder/src/bundle_proposer.rs
	modified:   crates/rpc/src/eth/api.rs
	modified:   crates/rpc/src/eth/router.rs
	modified:   crates/types/src/hybrid_compute.rs
	modified:   crates/types/src/user_operation/mod.rs
	modified:   crates/types/src/user_operation/v0_6.rs
	modified:   crates/types/src/user_operation/v0_7.rs
as suggested by audit. The index of the ResponseCache storage
slot is now detected rather
than being hard-coded.
 Changes to be committed:
	modified:   bin/rundler/src/cli/mod.rs
	modified:   crates/rpc/src/eth/api.rs
	modified:   crates/rpc/src/eth/router.rs
	modified:   crates/types/contracts/src/hc0_7/HCHelper.sol
	modified:   crates/types/src/hybrid_compute.rs
 Changes to be committed:
	modified:   bin/rundler/src/cli/mod.rs
	modified:   crates/rpc/src/eth/api.rs
	modified:   crates/types/src/hybrid_compute.rs
 Changes to be committed:
	modified:   aa_utils/__init__.py
	modified:   offchain/offchain_utils.py
@mmontour1306 mmontour1306 marked this pull request as ready for review November 12, 2024 05:24
 Changes to be committed:
	modified:   deploy-local.py
 Changes to be committed:
	modified:   ../crates/types/contracts/src/hc0_7/TestHybrid.sol
 Changes to be committed:
	modified:   hc_scripts/LocalDeploy_v7.s.sol
}
}
// EntryPointAddr is hard-coded for the v0.7 implementation
ept = EntryPoint(payable(0x0000000071727De22E5E9d8BAf0edAc6f37da032));
Copy link
Contributor

Choose a reason for hiding this comment

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

so I assume this is a create2 deploy?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, it's a create2 address.

@wsdt
Copy link
Contributor

wsdt commented Nov 12, 2024

Note: this will require us to update the SDKs too.

@mmontour1306 mmontour1306 merged commit 990aaf2 into boba-develop Nov 12, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants