Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

small fixes blob #323

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ main.pil.json
main_blob.pil.json
tools/full-tracer-tests/ft-traces/
batch-l2-data.json
src/sm/sm_main/logs-ft-*
6 changes: 4 additions & 2 deletions src/main_executor.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ async function run() {
process.exit(1);
}

const blob = argv.blob ? true : false;
if(typeof config.blob === 'undefined') {
config.blob = argv.blob ? true : false;
}
const blob = config.blob;

// parse commandline config sets

Expand Down Expand Up @@ -106,7 +109,6 @@ async function run() {
config[confname] = (typeof argv[argname] === 'string' ? argv[argname].trim() : (config[confname] ?? configFiles[name]));
}

config.blob = blob;
if (argv.define) {
config.defines = config.defines ?? {};
for (define of argv.define) {
Expand Down
2 changes: 1 addition & 1 deletion src/sm/sm_main/helpers/ft-blob.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = class FtBlob extends Helper {
this.pathLogFile = `${this.folderLogs}/${this.logFileName.split('.')[0]}__ft`;
// Final trace
this.finalTrace = {
batch_data: []
batch_data: [],
};
}

Expand Down
Loading