We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83863d6 commit 529da04Copy full SHA for 529da04
packages/sharing-smart-contract/ignition/modules/DataProtectorSharingModule.cjs
@@ -13,6 +13,9 @@ const env = require('../../config/env.cjs');
13
module.exports = buildModule('DataProtectorSharingModule', (m) => {
14
// Use admin account if provided (index 1), otherwise fall back to deployer account (index 0)
15
const proxyAdminOwner = env.ADMIN_PRIVATE_KEY ? m.getAccount(1) : m.getAccount(0);
16
+ console.log(
17
+ `Using proxy admin owner: ${proxyAdminOwner.address} (index: ${env.ADMIN_PRIVATE_KEY ? 1 : 0})`,
18
+ );
19
const pocoAddress = env.POCO_ADDRESS || defaultPocoAddress;
20
const datasetRegistryAddress = env.DATASET_REGISTRY_ADDRESS || defaultDatasetRegistryAddress;
21
0 commit comments