You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 8, 2026. It is now read-only.
Description:
Resolve the build issue in the Node workflow where the next build command fails due to a type error in contracts.ts during a workflow check in the following pull request: #154
Error Log:
Failed to compile.
./shared/contracts.ts:8:25
Type error: Property 'testnet' does not exist on type '{ readonly futurenet: { readonly networkPassphrase: "Test SDF Future Network ; October 2022"; readonly contractId: "CAU23MVDEW7VMB3AXC5PL5GZO3HBYZPEIP2P46X4T3AIC4Y7FXYZWES5"; }; }'.
6 |
7 | export const abundance = new Abundance.Client({
8 | ...Abundance.networks.testnet,
| ^
9 | rpcUrl: rpcUrl,
10 | allowHttp: true,
11 |
Error: Process completed with exit code 1.
Tasks:
Review Current Implementation:
Review the shared/contracts.ts file to identify the source of the type error.
Verify the available networks in the Abundance client.
Update Network Configuration:
Correct the network configuration to use the appropriate network available in the Abundance client.
Ensure the testnet network configuration is correctly defined or replace it with an available network.
Configure Build Caching:
Configure build caching for Next.js to improve build times and provide faster rebuilds.
Run npm run build to ensure the build completes successfully without errors.
Verify that the application runs correctly after the build.
Create a PR to test the workflow on Github
Expected Outcome:
The type error in shared/contracts.ts is resolved.
The build completes successfully without errors.
The application runs correctly post-build.
Improved build times with build caching configured.
Why This Is Important:
Fixing this build issue is crucial to ensure the continuous integration and deployment pipeline functions correctly, improving development efficiency and reliability.
Please add PRs to the update-P21 branch
Title:
Description:
Resolve the build issue in the Node workflow where the
next buildcommand fails due to a type error incontracts.tsduring a workflow check in the following pull request: #154Error Log:
Tasks:
Review Current Implementation:
shared/contracts.tsfile to identify the source of the type error.Abundanceclient.Update Network Configuration:
Abundanceclient.testnetnetwork configuration is correctly defined or replace it with an available network.Configure Build Caching:
Test the Build:
npm run buildto ensure the build completes successfully without errors.Expected Outcome:
shared/contracts.tsis resolved.Why This Is Important:
Fixing this build issue is crucial to ensure the continuous integration and deployment pipeline functions correctly, improving development efficiency and reliability.