-
Notifications
You must be signed in to change notification settings - Fork 10
add voucher deployment on local test stack #270
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
Conversation
ce038ef to
d347251
Compare
0d2f37b to
18643bf
Compare
18643bf to
c4bd57b
Compare
PierreJeanjacquot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove a lot of complexity that is useless in the context of this repo, see refactoring proposals in comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also report this change in the root .drone
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
convert into TS if possible :)
| export const TEST_CHAINS = { | ||
| 'bellecour-fork': { | ||
| rpcURL: DRONE ? 'http://bellecour-fork:8545' : 'http://localhost:8545', | ||
| chainId: '134', | ||
| sconeSmsURL: DRONE ? 'http://sms:13300' : 'http://localhost:13300', | ||
| gramineSmsURL: DRONE | ||
| ? 'http://sms-gramine:13300' | ||
| : 'http://localhost:13309', | ||
| iexecGatewayURL: DRONE ? 'http://market-api:3000' : 'http://localhost:3000', | ||
| resultProxyURL: DRONE | ||
| ? 'http://result-proxy:13200' | ||
| : 'http://localhost:13200', | ||
| pocoAdminWallet: new Wallet( | ||
| '0x564a9db84969c8159f7aa3d5393c5ecd014fce6a375842a45b12af6677b12407' | ||
| ), | ||
| faucetWallet: new Wallet( | ||
| '0xde43b282c2931fc41ca9e1486fedc2c45227a3b9b4115c89d37f6333c8816d89' | ||
| ), | ||
| voucherHubAddress: VOUCHER_HUB_ADDRESS, // TODO: change with deployment address once voucher is deployed on bellecour | ||
| voucherManagerWallet: new Wallet( | ||
| '0x2c906d4022cace2b3ee6c8b596564c26c4dcadddf1e949b769bcb0ad75c40c33' | ||
| ), | ||
| voucherSubgraphURL: DRONE | ||
| ? 'http://gaphnode:8000/subgraphs/name/bellecour/iexec-voucher' | ||
| : 'http://localhost:8000/subgraphs/name/bellecour/iexec-voucher', | ||
| debugWorkerpool: 'debug-v8-bellecour.main.pools.iexec.eth', | ||
| debugWorkerpoolOwnerWallet: new Wallet( | ||
| '0x800e01919eadf36f110f733decb1cc0f82e7941a748e89d7a3f76157f6654bb3' | ||
| ), | ||
| prodWorkerpool: 'prod-v8-bellecour.main.pools.iexec.eth', | ||
| prodWorkerpoolOwnerWallet: new Wallet( | ||
| '0x6a12f56d7686e85ab0f46eb3c19cb0c75bfabf8fb04e595654fc93ad652fa7bc' | ||
| ), | ||
| provider: new JsonRpcProvider( | ||
| DRONE ? 'http://bellecour-fork:8545' : 'http://localhost:8545' | ||
| ), | ||
| defaults: { | ||
| hubAddress: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f', | ||
| ensRegistryAddress: '0x5f5B93fca68c9C79318d1F3868A354EE67D8c006', | ||
| ensPublicResolverAddress: '0x1347d8a1840A810B990d0B774A6b7Bb8A1bd62BB', | ||
| isNative: true, | ||
| useGas: false, | ||
| name: 'bellecour', | ||
| }, | ||
| isAnvil: true, | ||
| }, | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't need this TEST_CHAINS map because we only work with one chain, plus a lot of configuration is not needed for this repo.
60c2cea to
381569c
Compare
381569c to
d38f399
Compare
| @@ -0,0 +1 @@ | |||
| export const VOUCHER_HUB_ADDRESS = '0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1'; | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| export const VOUCHER_HUB_ADDRESS = '0x959922bE3CAee4b8Cd9a407cc3ac1C251C2007B1'; | |
| export const VOUCHER_HUB_ADDRESS = 'TO_BE_DEPLOYED'; |
… voucher-test-stack-refactor
No description provided.