Add Vitest-based mint integration tests and wire Blockfrost env vars into CI/Turbo#39
Merged
Merged
Conversation
…valuators Co-authored-by: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add mint transaction script functionality
Add vitest integration tests for mint transaction with Aiken and Scalus UPLC evaluators
Mar 2, 2026
…g env vars Co-authored-by: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com>
Copilot
AI
changed the title
Add vitest integration tests for mint transaction with Aiken and Scalus UPLC evaluators
Add mint transaction integration tests with Aiken and Scalus UPLC evaluators
Mar 2, 2026
Co-authored-by: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com>
Copilot
AI
changed the title
Add mint transaction integration tests with Aiken and Scalus UPLC evaluators
Add secrets to CI workflow for integration tests
Mar 2, 2026
Co-authored-by: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com>
Copilot
AI
changed the title
Add secrets to CI workflow for integration tests
Add secrets to CI workflow and turbo config
Mar 2, 2026
SynthLuvr
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added Vitest and split test scripts into:
test:aiken(Aiken checks)test:unit(Vitest)testruns both vianpm-run-allIntroduced an integration mint test (
src/mint.test.ts) that builds a mint transaction end-to-end using:@evolution-sdk/aiken-uplcevaluator@evolution-sdk/scalus-uplcevaluatorand asserts a CBOR transaction is produced.
Added
IntegrationConfigto validate required env vars (BLOCKFROST_API_KEY,SEED_PHRASE).Moved
createScriptintosrc/script.tsto share script creation logic between CLI (mint.ts) and tests.Ensured env vars are available everywhere they’re needed:
BLOCKFROST_API_KEYandSEED_PHRASEfrom GitHub SecretsglobalEnvAdded
vitest.config.tswith inline deps for the evaluator packages to avoid bundling/runtime issues.Why
Notes
SEED_PHRASE+BLOCKFROST_API_KEYand will fail fast with a clear message if they’re missing.