diff --git a/scripts/spacetime-normalize-editor-character-actions.mjs b/scripts/spacetime-normalize-editor-character-actions.mjs index db7a0cad9..c798aa6bb 100644 --- a/scripts/spacetime-normalize-editor-character-actions.mjs +++ b/scripts/spacetime-normalize-editor-character-actions.mjs @@ -93,7 +93,7 @@ export function buildNormalizationInput({ cursor: encodeSpacetimeCliOption(cursor), limit, dry_run: dryRun, - expected_batch_sha256: encodeSpacetimeCliOption( + expected_batch_sha_256: encodeSpacetimeCliOption( dryRun ? null : expectedBatchSha256, ), }; diff --git a/scripts/spacetime-normalize-editor-character-actions.test.ts b/scripts/spacetime-normalize-editor-character-actions.test.ts index ccbda298c..c4fa5fd02 100644 --- a/scripts/spacetime-normalize-editor-character-actions.test.ts +++ b/scripts/spacetime-normalize-editor-character-actions.test.ts @@ -34,7 +34,7 @@ describe('角色动作元数据规范化脚本', () => { cursor: [0, 'asset-25'], limit: 25, dry_run: true, - expected_batch_sha256: null, + expected_batch_sha_256: null, }); expect(() => buildNormalizationInput({ @@ -67,7 +67,7 @@ describe('角色动作元数据规范化脚本', () => { cursor: null, limit: 25, dry_run: false, - expected_batch_sha256: [0, 'a'.repeat(64)], + expected_batch_sha_256: [0, 'a'.repeat(64)], }); }); @@ -133,7 +133,7 @@ describe('角色动作元数据规范化脚本', () => { showcase: 'c', canvas: 'd', }[scope]!; - expect(apply.expected_batch_sha256).toEqual([ + expect(apply.expected_batch_sha_256).toEqual([ 0, hashDigit.repeat(64), ]);