Skip to content

Commit 0c0f109

Browse files
refactor: stop reading poco address from deprecated file (#455)
1 parent 72cb800 commit 0c0f109

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

generateEsModulesFromJson.cjs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,7 @@ const sources = [
3030
'@iexec/poco/artifacts/contracts/registries/RegistryEntry.sol/RegistryEntry.json',
3131
{ dir: '@iexec/poco', minifier: minifiers.abi },
3232
],
33-
[
34-
// warn /build/
35-
'@iexec/poco/build/contracts-min/ERC1538Proxy.json',
36-
{ dir: '@iexec/poco', minifier: minifiers.truffleDeployment },
37-
],
33+
3834
[
3935
'@iexec/poco/artifacts/contracts/IexecInterfaceToken.sol/IexecInterfaceToken.json',
4036
{ dir: '@iexec/poco', minifier: minifiers.abi },

src/common/utils/config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import { Network, EnsPlugin } from 'ethers';
22
import { TEE_FRAMEWORKS } from './constant.js';
33
import { address as voucherHubBellecourAddress } from '../generated/@iexec/voucher-contracts/deployments/bellecour/VoucherHubERC1967Proxy.js';
4-
import { networks as iexecProxyNetworks } from '../generated/@iexec/poco/ERC1538Proxy.js';
54

65
const networkConfigs = [
76
{
87
id: 134,
98
name: 'bellecour',
10-
hub: iexecProxyNetworks[134].address,
9+
hub: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f',
1110
host: 'https://bellecour.iex.ec',
1211
ensRegistry: '0x5f5B93fca68c9C79318d1F3868A354EE67D8c006',
1312
ensPublicResolver: '0x1347d8a1840A810B990d0B774A6b7Bb8A1bd62BB',
@@ -33,7 +32,7 @@ const networkConfigs = [
3332
{
3433
id: 1,
3534
name: 'mainnet',
36-
hub: iexecProxyNetworks[1].address,
35+
hub: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f',
3736
host: 'mainnet',
3837
ensRegistry: undefined, // use ethers default
3938
ensPublicResolver: '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41',

0 commit comments

Comments
 (0)