Add multicall env variable (#158)

This commit is contained in:
Szymon Szlachtowicz 2021-07-26 14:45:49 +02:00 committed by GitHub
parent c88d95a2a5
commit 202d8200e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const config = {
},
multicallAddresses: {
...DEFAULT_CONFIG.multicallAddresses,
1337: '0x049e017b504F85d3c07AFE712fC79501aa1DB712',
1337: process.env.GANACHE_MULTICALL_CONTRACT ?? '0x0000000000000000000000000000000000000000',
},
supportedChains: [...DEFAULT_CONFIG.supportedChains, 1337],
notifications: {

View File

@ -69,6 +69,7 @@ module.exports = (env) => {
'process.env.ENV': JSON.stringify(environment),
'process.env.GANACHE_VOTING_CONTRACT': JSON.stringify(process.env.GANACHE_VOTING_CONTRACT),
'process.env.GANACHE_DIRECTORY_CONTRACT': JSON.stringify(process.env.GANACHE_DIRECTORY_CONTRACT),
'process.env.GANACHE_MULTICALL_CONTRACT': JSON.stringify(process.env.GANACHE_MULTICALL_CONTRACT),
}),
new webpack.ProvidePlugin({
process: 'process/browser.js',