File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
packages/sharing-smart-contract/scripts Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 8888
8989 - name : Upgrade test
9090 working-directory : packages/sharing-smart-contract
91+ env :
92+ DATA_PROTECTOR_SHARING_ADDRESS : 0x1390c3c6a545198809F1C7c5Dd2600ef74D60925
93+ ADD_ONLY_APP_WHITELIST_REGISTRY_ADDRESS : 0x498D324F711b8998Be81818742e268dEE30347c6
9194 run : npm run upgrade-local-fork -- --network local-bellecour-fork
9295
9396 # TODO check why the CI does not fail when the following error occurs
Original file line number Diff line number Diff line change 1- /* eslint-disable no-console */
21import hre from 'hardhat' ;
32import { DATASET_REGISTRY_ADDRESS , POCO_ADDRESS } from '../config/config.js' ;
43import env from '../config/env.js' ;
54import { impersonate , stopImpersonate } from './singleFunction/utils.js' ;
65const { ethers, upgrades } = hre ;
76
87async function main ( ) {
9- const { dataprotectorSharingContractAddress, addOnlyAppWhitelistRegistryContractAddress } = env ;
8+ const dataprotectorSharingContractAddress = env . DATA_PROTECTOR_SHARING_ADDRESS ;
9+ const addOnlyAppWhitelistRegistryContractAddress = env . ADD_ONLY_APP_WHITELIST_REGISTRY_ADDRESS ;
10+
1011 const rpcUrl = hre . network . config . url ;
1112 console . log ( 'rpcUrl' , rpcUrl ) ;
1213
Original file line number Diff line number Diff line change 1- /* eslint-disable no-console */
21import hre from 'hardhat' ;
32import { DATASET_REGISTRY_ADDRESS , POCO_ADDRESS } from '../config/config.js' ;
43import env from '../config/env.js' ;
54
65const { ethers, upgrades } = hre ;
76
87async function main ( ) {
9- const { dataprotectorSharingContractAddress, addOnlyAppWhitelistRegistryContractAddress } = env ;
8+ const dataprotectorSharingContractAddress = env . DATA_PROTECTOR_SHARING_ADDRESS ;
9+ const addOnlyAppWhitelistRegistryContractAddress = env . ADD_ONLY_APP_WHITELIST_REGISTRY_ADDRESS ;
1010
1111 console . log ( `Using poco at ${ POCO_ADDRESS } ` ) ;
1212 console . log ( `Using dataset registry at ${ DATASET_REGISTRY_ADDRESS } ` ) ;
You can’t perform that action at this time.
0 commit comments