Skip to content

Commit

Permalink
Merge branch 'main' into andy/dump-evm-call
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d authored Feb 18, 2025
2 parents 37fc9b7 + 0dc72ec commit ac818f1
Show file tree
Hide file tree
Showing 29 changed files with 1,380 additions and 856 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docker-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
type: string
push:
tags:
- v*.*.*
- v(\d+)\.(\d+)\.(\d+)(-.*)?

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -57,6 +57,8 @@ jobs:
run: |
if [ -n "${{ github.event.inputs.version }}" ]; then
sudo -E env "PATH=$PATH" make GIT_TAG="${{ github.event.inputs.version }}" docker-build
else
elif [[ "${{ github.ref_name }}" =~ ^v(\d+)\.(\d+)\.(\d+)$ ]]
sudo -E env "PATH=$PATH" make docker-build-latest
else
sudo -E env "PATH=$PATH" make GIT_TAG="${{ github.ref_name }}" docker-build
fi
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

##@ Test

UNIT_TEST_ARGS := --locked --workspace --all-features
UNIT_TEST_ARGS := --locked --workspace --all-features --no-fail-fast
PROFILE ?= release
DOCKER_IMAGE_NAME ?= alchemyplatform/rundler
BIN_DIR = "dist/bin"
Expand Down
10 changes: 5 additions & 5 deletions crates/aggregators/pbh/src/pbh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use rundler_types::{
AggregatorCosts, SignatureAggregator, SignatureAggregatorError, SignatureAggregatorResult,
},
v0_7::UserOperation,
UserOperationVariant,
UserOperation as _, UserOperationVariant,
};

sol! {
Expand Down Expand Up @@ -117,17 +117,17 @@ where
}
let uo: UserOperation = user_op.clone().into();

if uo.signature.len() < PBH_PROOF_LENGTH {
if uo.signature().len() < PBH_PROOF_LENGTH {
return Err(SignatureAggregatorError::InvalidUserOperation(format!(
"User operation signature is not the correct length: {} < {}",
uo.signature.len(),
uo.signature().len(),
PBH_PROOF_LENGTH
)));
}

let proof_start = uo.signature.len() - PBH_PROOF_LENGTH;
let proof_start = uo.signature().len() - PBH_PROOF_LENGTH;
agg_proofs.push(
PBHPayload::abi_decode(&uo.signature[proof_start..], true).map_err(|e| {
PBHPayload::abi_decode(&uo.signature()[proof_start..], true).map_err(|e| {
SignatureAggregatorError::InvalidUserOperation(format!(
"Malformed PBH proof: {}",
e
Expand Down
Loading

0 comments on commit ac818f1

Please sign in to comment.