Skip to content

Commit

Permalink
update generate preparation id function
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarinas committed Dec 1, 2023
1 parent d675cc5 commit f3d87b7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions modules/client/src/internal/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ import {
SupportedPluginRepo,
SupportedPluginRepoArray,
UPDATE_PLUGIN_SIGNATURES,
ZERO_BYTES_HASH,
} from "./constants";
import {
DepositErc1155Schema,
Expand Down Expand Up @@ -771,11 +770,9 @@ export function getPreparedSetupId(
[
[params.versionTag.release, params.versionTag.build],
params.pluginRepo,
params.permissions !== null
? hashPermissions(params.permissions)
: ZERO_BYTES_HASH,
params.helpersHash || ZERO_BYTES_HASH,
ZERO_BYTES_HASH, // keccak256(params.data) || ZERO_BYTES_HASH,
hashPermissions(params.permissions),
params.helpersHash,
keccak256(new Uint8Array()), // there is no data so we pass an empty uint8Array
preparationType,
],
),
Expand Down

0 comments on commit f3d87b7

Please sign in to comment.