Skip to content

Commit 5588267

Browse files
committed
fix: call upgradeTo
1 parent 82144d9 commit 5588267

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

contracts/scripts/anvil/upgrade_aggregation_mode_payment_service.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ forge_output=$(forge script script/upgrade/AggregationModePaymentServiceUpgrader
2424
--private-key "0x4bbbf85ce3377467afe5d46f804f221813b2bb87f24d81f60f1fcdbf7cbf4356" \
2525
--broadcast \
2626
--legacy \
27-
--verify \
2827
--sig "run(string memory alignedLayerDeploymentFilePath)")
2928

3029
echo "$forge_output"
@@ -33,7 +32,7 @@ echo "$forge_output"
3332
aggregation_mode_payment_service_proxy=$(echo "$forge_output" | awk '/0: address/ {print $3}')
3433
aggregation_mode_payment_service_implementation=$(echo "$forge_output" | awk '/1: address/ {print $3}')
3534

36-
data=$(cast calldata "upgradeToAndCall(address, bytes)" $aggregation_mode_payment_service_implementation "0x")
35+
data=$(cast calldata "upgradeTo(address)" $aggregation_mode_payment_service_implementation)
3736

3837
MULTISIG=false # hardcoding non-multisig for devnet
3938
if [ "$MULTISIG" = false ]; then

0 commit comments

Comments
 (0)