Skip to content

Commit

Permalink
fix: add config for ping-pong test
Browse files Browse the repository at this point in the history
  • Loading branch information
Westlad committed Apr 29, 2022
1 parent 70f8711 commit 1d54649
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,28 @@ module.exports = {
amount: '1000000000000',
},
],
development: [
{
name: 'MockERC20',
address: '0xB5Acbe9a0F1F8B98F3fC04471F7fE5d2c222cB44',
amount: 200,
},
{
name: 'Test-Eth',
address: '0x3f152B63Ec5CA5831061B2DccFb29a874C317502',
amount: '10000000000000000000000',
},
{
name: 'MATIC',
address: '0x499d11E0b6eAC7c0593d8Fb292DCBbF815Fb29Ae',
amount: '10000000000000000000000',
},
{
name: 'USDC',
address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
amount: '1000000000000',
},
],
mainnet: [
{
name: 'WETH',
Expand Down
1 change: 1 addition & 0 deletions nightfall-deployer/migrations/2_deploy_upgradeable.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ module.exports = async function (deployer) {
await challengers.setBootChallenger(bootChallenger);
const restrictions = await Shield.deployed();
// restrict transfer amounts
console.log('**TEST**', process.env.ETH_NETWORK, RESTRICTIONS.tokens, RESTRICTIONS);
for (let token of RESTRICTIONS.tokens[process.env.ETH_NETWORK]) {
console.log(`Max deposit restriction for ${token.name}: ${token.amount}`);
await restrictions.setRestriction(token.address, token.amount);
Expand Down

0 comments on commit 1d54649

Please sign in to comment.