embark/dapps/tests/contracts/contracts.json
Michael Bradley, Jr c093cf88ea feat: support Node.js v12.x and newer
Remove the `<12.0.0` restriction re: Node.js version in the `"engines"`
settings for all the packages in the monorepo that had that restriction.

Add missing `"engines"` settings in `packages/plugins/snark/package.json`.

Adjust the Azure Pipelines config to include builds for Node.js v12.x and
v13.x.

Bump `solc` to `0.4.26` in `dapps/tests/app` and `dapps/tests/contracts`. It
was discovered that older versions suffered a fatal `Maximum call stack size
exceeded` error when run on Windows with Node.js v12.x or newer. Display a
warning re: the bad combo (solc version + Windows + Node version) if it's
detected at runtime.

Adjust the root `yarn.lock` so that the `sha3` transitive dependency resolves
to a newer version that is compatible with Node v13.x.
2020-01-20 08:28:24 -06:00

81 lines
1.6 KiB
JSON

{
"default": {
"versions": {
"solc": "0.4.26"
},
"dappConnection": [
"$EMBARK",
"$WEB3",
"ws://localhost:8546",
"http://localhost:8550",
"http://localhost:8545",
"http://localhost:8550"
],
"gas": "auto",
"deploy": {
"Ownable": {
"deploy": false
},
"SimpleStorage": {
"fromIndex": 0,
"args": [
100
]
},
"AnotherStorage": {
"args": [
"$SimpleStorage",
"embark.eth"
]
},
"Token": {
"deploy": false,
"args": [1000]
},
"Test": {
"onDeploy": [
"Test.methods.changeAddress('$MyToken')"
]
},
"MyToken": {
"instanceOf": "Token"
},
"MyToken2": {
"instanceOf": "Token",
"args": [200]
},
"AlreadyDeployedToken": {
"address": "0xece374063fe5cc7efbaca0a498477cada94e5ad6",
"instanceOf": "Token"
},
"MyToken3": {
"instanceOf": "Tokn"
},
"ContractArgs": {
"args": {
"initialValue": 123,
"_addresses": ["$MyToken2", "$SimpleStorage"]
}
},
"SomeContract": {
"args": [
["$MyToken2", "$SimpleStorage"],
100
]
}
},
"afterDeploy": [
"Test.methods.changeAddress('$MyToken')",
"web3.eth.getAccounts((err, accounts) => Test.methods.changeAddress(accounts[0]))"
]
},
"development": {
"deploy": {
"MyToken2": {
"instanceOf": "Token",
"args": [2000]
}
}
}
}