File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ import {
3737} from '../examples/side-loaded/program.eg.js' ;
3838import { TEST_ERROR_MESSAGES } from './constants.js' ;
3939
40- const proofsEnabled = false ;
40+ const proofsEnabled = process . env . PROOFS_ENABLED === 'true' ;
41+ if ( ! proofsEnabled ) {
42+ console . log ( 'Skipping proof generation in approve tests.' ) ;
43+ }
4144
4245describe ( 'Fungible Token - ApproveBase Tests' , ( ) => {
4346 let tokenAdmin : Mina . TestPublicKey , tokenA : Mina . TestPublicKey ;
Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ import {
3232} from '../examples/side-loaded/program.eg.js' ;
3333import { TEST_ERROR_MESSAGES } from './constants.js' ;
3434
35- const proofsEnabled = false ;
35+ const proofsEnabled = process . env . PROOFS_ENABLED === 'true' ;
36+ if ( ! proofsEnabled ) {
37+ console . log ( 'Skipping proof generation in burn tests.' ) ;
38+ }
3639
3740describe ( 'Fungible Token - Burn Tests' , ( ) => {
3841 let tokenAdmin : Mina . TestPublicKey , tokenA : Mina . TestPublicKey ;
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ import {
3131} from '../examples/side-loaded/program.eg.js' ;
3232import { TEST_ERROR_MESSAGES } from './constants.js' ;
3333
34- const proofsEnabled = false ;
34+ const proofsEnabled = process . env . PROOFS_ENABLED === 'true' ;
35+ if ( ! proofsEnabled ) {
36+ console . log ( 'Skipping proof generation in mint tests.' ) ;
37+ }
3538
3639describe ( 'Fungible Token - Mint Tests' , ( ) => {
3740 let tokenAdmin : Mina . TestPublicKey , tokenA : Mina . TestPublicKey ;
Original file line number Diff line number Diff line change @@ -31,7 +31,10 @@ import {
3131} from '../examples/side-loaded/program.eg.js' ;
3232import { TEST_ERROR_MESSAGES } from './constants.js' ;
3333
34- const proofsEnabled = false ;
34+ const proofsEnabled = process . env . PROOFS_ENABLED === 'true' ;
35+ if ( ! proofsEnabled ) {
36+ console . log ( 'Skipping proof generation in transfer tests.' ) ;
37+ }
3538
3639describe ( 'Fungible Token - Transfer Tests' , ( ) => {
3740 let tokenAdmin : Mina . TestPublicKey , tokenA : Mina . TestPublicKey ;
You can’t perform that action at this time.
0 commit comments