commit
44f6d21e9b
@ -39,6 +39,9 @@ module.exports = {
|
|||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
externals: {
|
||||||
|
fs: true,
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"config": {
|
"config": {
|
||||||
"s3_snapshot_bucket": "s3://ganache-snapshots.0x.org",
|
"s3_snapshot_bucket": "s3://ganache-snapshots.0x.org",
|
||||||
"docker_snapshot_name": "0xorg/ganache-cli",
|
"docker_snapshot_name": "0xorg/ganache-cli",
|
||||||
"snapshot_name": "0x_ganache_snapshot",
|
"snapshot_name": "0x_ganache_snapshot-v3-beta",
|
||||||
"postpublish": {
|
"postpublish": {
|
||||||
"assets": []
|
"assets": []
|
||||||
}
|
}
|
||||||
|
@ -260,6 +260,13 @@ export async function runMigrationsAsync(
|
|||||||
// await multiAssetProxy.transferOwnership.sendTransactionAsync(assetProxyOwner.address, txDefaults),
|
// await multiAssetProxy.transferOwnership.sendTransactionAsync(assetProxyOwner.address, txDefaults),
|
||||||
// );
|
// );
|
||||||
|
|
||||||
|
// Fake the above transactions so our nonce increases and we result with the same addresses
|
||||||
|
// while AssetProxyOwner is disabled (TODO: @dekz remove)
|
||||||
|
const dummyTransactionCount = 5;
|
||||||
|
for (let index = 0; index < dummyTransactionCount; index++) {
|
||||||
|
await web3Wrapper.sendTransactionAsync({ to: txDefaults.from, from: txDefaults.from, value: new BigNumber(0) });
|
||||||
|
}
|
||||||
|
|
||||||
// Fund the Forwarder with ZRX
|
// Fund the Forwarder with ZRX
|
||||||
const zrxDecimals = await zrxToken.decimals.callAsync();
|
const zrxDecimals = await zrxToken.decimals.callAsync();
|
||||||
const zrxForwarderAmount = Web3Wrapper.toBaseUnitAmount(new BigNumber(5000), zrxDecimals);
|
const zrxForwarderAmount = Web3Wrapper.toBaseUnitAmount(new BigNumber(5000), zrxDecimals);
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/0xProject/0x-monorepo.git"
|
"url": "https://github.com/0xProject/0x-monorepo.git"
|
||||||
},
|
},
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "shx rm -rf lib generated_docs",
|
"clean": "shx rm -rf lib generated_docs",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user