Skip to content

Update examples to Aztec v4.1.0-rc.2 #38

Update examples to Aztec v4.1.0-rc.2

Update examples to Aztec v4.1.0-rc.2 #38

Triggered via pull request March 18, 2026 16:17
Status Failure
Total duration 3m 35s
Artifacts

prediction-market-tests.yml

on: pull_request
Prediction Market Tests
3m 29s
Prediction Market Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Prediction Market Tests
Process completed with exit code 1.
TypeError: undefined is not an object (evaluating 'market.methods.get_price'): prediction-market/tests/prediction_market.test.ts#L199
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:199:35 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:198:45
TypeError: undefined is not an object (evaluating 'market.methods.get_collateral_balance'): prediction-market/tests/prediction_market.test.ts#L183
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:183:40 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:182:75
TypeError: undefined is not an object (evaluating 'market.methods.get_yes_balance'): prediction-market/tests/prediction_market.test.ts#L168
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:168:35 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:167:63
TypeError: undefined is not an object (evaluating 'market.methods.deposit'): prediction-market/tests/prediction_market.test.ts#L148
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:148:18 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:143:65
TypeError: undefined is not an object (evaluating 'market.methods.get_price'): prediction-market/tests/prediction_market.test.ts#L130
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:130:35 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:129:66
TypeError: undefined is not an object (evaluating 'market.methods.buy_outcome'): prediction-market/tests/prediction_market.test.ts#L108
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:108:29 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:102:68
TypeError: undefined is not an object (evaluating 'market.methods.deposit'): prediction-market/tests/prediction_market.test.ts#L90
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:90:29 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:86:64
TypeError: undefined is not an object (evaluating 'market.methods.get_price'): prediction-market/tests/prediction_market.test.ts#L76
at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:76:35 at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:75:44
error: expect(received).toBeDefined(): prediction-market/tests/prediction_market.test.ts#L71
Received: undefined at /home/runner/work/aztec-examples/aztec-examples/prediction-market/tests/prediction_market.test.ts:71:28
Prediction Market Tests
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Prediction Market Tests
No files were found with the provided path: prediction-market/tests/**/*.log. No artifacts will be uploaded.