Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1707 from 0xProject/fix/update-ganache
Browse files Browse the repository at this point in the history
Change `evmVersion` to `constantinople` for contract compilation
  • Loading branch information
abandeali1 committed Mar 19, 2019
2 parents 2675833 + a401b8f commit 3fff3d9
Show file tree
Hide file tree
Showing 27 changed files with 142 additions and 79 deletions.
4 changes: 0 additions & 4 deletions contracts/asset-proxy/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Do not reexport external dependencies",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/asset-proxy/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
6 changes: 5 additions & 1 deletion contracts/coordinator/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[
{
"version": "0.0.1",
"version": "1.0.0",
"changes": [
{
"note": "Created Coordinator package"
Expand All @@ -12,6 +12,10 @@
{
"note": "Add `SignatureType.Invalid`",
"pr": 1705
},
{
"note": "Set `evmVersion` to `constantinople`",
"pr": 1707
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion contracts/coordinator/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contractsDir": "./contracts",
"useDockerisedSolc": true,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
2 changes: 1 addition & 1 deletion contracts/erc1155/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"contractsDir": "contracts",
"useDockerisedSolc": true,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": { "enabled": true, "runs": 1000000 },
"outputSelection": {
"*": {
Expand Down
4 changes: 0 additions & 4 deletions contracts/erc20/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Upgrade contracts to Solidity 0.5.5",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/erc20/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/erc721/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Upgrade contracts to Solidity 0.5.5",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/erc721/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/exchange-forwarder/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Do not reexport external dependencies",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/exchange-forwarder/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/exchange-libs/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Upgrade contracts to Solidity 0.5.5",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/exchange-libs/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/exchange/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "2.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Do not reexport external dependencies",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/exchange/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/extensions/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "3.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Do not reexport external dependencies",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/extensions/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/multisig/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "3.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Do not reexport external dependencies",
"pr": 1682
Expand Down
2 changes: 1 addition & 1 deletion contracts/multisig/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
4 changes: 0 additions & 4 deletions contracts/utils/CHANGELOG.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
{
"version": "3.0.0",
"changes": [
{
"note": "Set evmVersion to byzantium",
"pr": 1678
},
{
"note": "Optimize loops in LibAddressArray",
"pr": 1668
Expand Down
2 changes: 1 addition & 1 deletion contracts/utils/compiler.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"useDockerisedSolc": true,
"isOfflineMode": false,
"compilerSettings": {
"evmVersion": "byzantium",
"evmVersion": "constantinople",
"optimizer": {
"enabled": true,
"runs": 1000000,
Expand Down
9 changes: 9 additions & 0 deletions packages/subproviders/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[
{
"version": "4.0.3",
"changes": [
{
"note": "Update ganache-core to 2.5.3",
"pr": 1707
}
]
},
{
"timestamp": 1551479279,
"version": "4.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/subproviders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"ethereum-types": "^2.1.0",
"ethereumjs-tx": "^1.3.5",
"ethereumjs-util": "^5.1.1",
"ganache-core": "^2.3.3",
"ganache-core": "^2.5.3",
"hdkey": "^0.7.1",
"json-rpc-error": "2.0.0",
"lodash": "^4.17.11",
Expand Down
9 changes: 9 additions & 0 deletions packages/web3-wrapper/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
[
{
"version": "6.0.3",
"changes": [
{
"note": "Update ganache-core to 2.5.3",
"pr": 1707
}
]
},
{
"timestamp": 1551479279,
"version": "6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-wrapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"chai-as-promised": "^7.1.0",
"chai-bignumber": "^3.0.0",
"dirty-chai": "^2.0.1",
"ganache-core": "^2.3.3",
"ganache-core": "^2.5.3",
"make-promises-safe": "^1.1.0",
"mocha": "^4.1.0",
"npm-run-all": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-wrapper/test/web3_wrapper_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Web3Wrapper tests', () => {
describe('#getNodeVersionAsync', () => {
it('gets the node version', async () => {
const nodeVersion = await web3Wrapper.getNodeVersionAsync();
const NODE_VERSION = 'EthereumJS TestRPC/v2.3.3/ethereum-js';
const NODE_VERSION = 'EthereumJS TestRPC/v2.5.3/ethereum-js';
expect(nodeVersion).to.be.equal(NODE_VERSION);
});
});
Expand Down
Loading

0 comments on commit 3fff3d9

Please sign in to comment.