diff --git a/.github/file-filter.yml b/.github/file-filter.yml index 248d169978..4d28248b4e 100644 --- a/.github/file-filter.yml +++ b/.github/file-filter.yml @@ -37,6 +37,7 @@ tee_test: &tee_test - 'tee-worker/cli/*.sh' - 'docker/**' - 'tee-worker/docker/*.yml' + - 'tee-worker/litentry/core/assertion-build/src/dynamic/contracts/**' bitacross_src: &bitacross_src - 'bitacross-worker/**/*.rs' diff --git a/tee-worker/ts-tests/integration-tests/assertion_contracts.test.ts b/tee-worker/ts-tests/integration-tests/assertion_contracts.test.ts index 2237e239ba..9d7c238413 100644 --- a/tee-worker/ts-tests/integration-tests/assertion_contracts.test.ts +++ b/tee-worker/ts-tests/integration-tests/assertion_contracts.test.ts @@ -65,7 +65,12 @@ describe('Test Vc (direct request)', function () { const assertionId = '0x0000000000000000000000000000000000000003'; const createAssertionEventsPromise = subscribeToEvents('evmAssertions', 'AssertionCreated', context.api); - const proposal = context.api.tx.evmAssertions.createAssertion(assertionId, contractBytecode, [secret]); + const proposal = context.api.tx.evmAssertions.createAssertion(assertionId, contractBytecode, [ + // At least three secrets are required here. + secret, + secret, + secret, + ]); await context.api.tx.developerCommittee.execute(proposal, proposal.encodedLength).signAndSend(alice); const event = (await createAssertionEventsPromise).map((e) => e); @@ -127,11 +132,12 @@ describe('Test Vc (direct request)', function () { const abiCoder = new ethers.utils.AbiCoder(); const encodedData = abiCoder.encode(['string'], ['bnb']); + const assertion = { dynamic: context.api.createType('DynamicParams', [ Uint8Array.from(Buffer.from('0000000000000000000000000000000000000003', 'hex')), encodedData, - false, + true, ]), };