@@ -17,7 +17,7 @@ const BUCKET_URL = `https://${BUCKET_NAME}.storage.googleapis.com/`;
17
17
const envVars = {
18
18
STACKS_BLOCKCHAIN_REPO : 'https://github.com/blockstack/stacks-blockchain.git' ,
19
19
STACKS_BLOCKCHAIN_BRANCH : 'master' ,
20
- STACKS_BLOCKCHAIN_BIN : 'stacks-node' ,
20
+ STACKS_BLOCKCHAIN_BIN : 'stacks-node-krypton ' ,
21
21
STACKS_BLOCKCHAIN_DIST_PLATFORM : 'linux-x64' ,
22
22
} ;
23
23
Object . entries ( envVars ) . forEach ( ( [ key , val ] ) => envVars [ key ] = process . env [ key ] || val ) ;
@@ -49,15 +49,15 @@ const bucket = storage.bucket(BUCKET_NAME);
49
49
const buildDist = ( ) => new Promise ( ( resolve , reject ) => {
50
50
// const buildOutputDir = fs.mkdtempSync(path.join(__dirname, '.stacks-core-build-'));
51
51
const buildOutputDir = path . join ( __dirname , `.stacks-core-build-${ shortCommit } ` ) ;
52
- const binFileResult = `${ buildOutputDir } /bin/${ envVars . STACKS_BLOCKCHAIN_BIN } ` ;
52
+ const binFileResult = `${ buildOutputDir } /bin/stacks-node ` ;
53
53
fs . mkdirSync ( buildOutputDir , { recursive : true } ) ;
54
54
if ( fs . existsSync ( binFileResult ) ) {
55
55
console . warn ( `Skipping build step -- already exists at ${ binFileResult } ` ) ;
56
56
resolve ( binFileResult ) ;
57
57
return ;
58
58
}
59
59
console . log ( `Building stacks-blockchain binaries into '${ buildOutputDir } '` ) ;
60
- const cargoCmd = `cargo install --git https://github.com/blockstack/stacks-blockchain.git --rev "${ gitCommit } " stacks-node --bin=${ envVars . STACKS_BLOCKCHAIN_BIN } --root /build-out` ;
60
+ const cargoCmd = `cargo install --git https://github.com/blockstack/stacks-blockchain.git --rev "${ gitCommit } " stacks-node --bin=stacks-node --root /build-out` ;
61
61
const dockerRunCmd = `docker run -v "${ buildOutputDir } :/build-out" rust:stretch ${ cargoCmd } ` ;
62
62
console . log ( `Running build via docker: ${ dockerRunCmd } ` ) ;
63
63
const result = spawn ( dockerRunCmd , {
0 commit comments