Set circuits environment

This commit is contained in:
danielSanchezQ 2026-02-12 10:30:11 +00:00
parent 009ff9af36
commit 0546949589
2 changed files with 9 additions and 6 deletions

12
flake.lock generated
View File

@ -23,11 +23,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1770819486,
"narHash": "sha256-a9/K6yHODsg9vw9IUlhLAd10aDwsd8YPXjPA6GbPvl8=",
"lastModified": 1770888466,
"narHash": "sha256-7IJz+UIwa8QPg81cvqunpnpO87VUdWt0TcPz7HGBnYE=",
"owner": "logos-blockchain",
"repo": "logos-blockchain",
"rev": "1a49d7cb0191c8b19ff9622cb7be041582f794b2",
"rev": "3ef7a137b91c4a5a7708405815354ff58e0e179c",
"type": "github"
},
"original": {
@ -394,11 +394,11 @@
]
},
"locked": {
"lastModified": 1770154824,
"narHash": "sha256-WGI+3FkPdeytfLJ3ZJYr1O8esUnQjcmMJEYwB/EBZMs=",
"lastModified": 1770837874,
"narHash": "sha256-wr75lv1q4U1FS5+l/6ypwzJFJe06l2RyUvx1npoRS88=",
"owner": "logos-co",
"repo": "logos-liblogos",
"rev": "901dd86d47216b15b6f1260b7b6bb4ecd88a8f9d",
"rev": "e3741c01fd3abf6b7bd9ff2fa8edf89c41fc0cea",
"type": "github"
},
"original": {

View File

@ -49,6 +49,9 @@ int LogosBlockchainModule::start(const QString& config_path, const QString& depl
return 1;
}
// Set LOGOS_BLOCKCHAIN_CIRCUITS env variable
QString circuits_path = logosAPI->property("modulePath").toString().append(QString::fromUtf8("\\circuits"));
qputenv("LOGOS_BLOCKCHAIN_CIRCUITS", circuits_path.toUtf8());
QString effective_config_path = config_path;
if (effective_config_path.isEmpty()) {