Reformat command-line tests for generatedSources

This commit is contained in:
Kamil Śliwak 2021-09-22 14:29:26 +02:00
parent b53b838b5b
commit 628e37c7a0
8 changed files with 3892 additions and 44 deletions

View File

@ -0,0 +1 @@
--pretty-json --json-indent 4 --allow-paths .

View File

@ -0,0 +1,7 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
pragma abicoder v2;
contract A {
function f(uint[] memory) public view returns (uint256) {}
}

View File

@ -1,20 +1,18 @@
{ {
"language": "Solidity", "language": "Solidity",
"sources": { "sources": {
"a.sol": { "a.sol": {"urls": ["standard_generatedSources/in.sol"]}
"content": "// SPDX-License-Identifier: GPL-3.0\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }" },
} "settings": {
}, "evmVersion": "petersburg",
"settings": { "outputSelection": {
"evmVersion": "petersburg", "*": {
"outputSelection": { "A": [
"*": { "evm.bytecode.object",
"A": [ "evm.deployedBytecode.generatedSources",
"evm.bytecode.object", "evm.bytecode.generatedSources"
"evm.deployedBytecode.generatedSources", ]
"evm.bytecode.generatedSources" }
] }
} }
}
}
} }

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
--pretty-json --json-indent 4 --allow-paths .

View File

@ -0,0 +1,7 @@
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;
pragma abicoder v2;
contract A {
function f(uint[] memory) public view returns (uint256) {}
}

View File

@ -1,21 +1,19 @@
{ {
"language": "Solidity", "language": "Solidity",
"sources": { "sources": {
"a.sol": { "a.sol": {"urls": ["standard_optimizer_generatedSources/in.sol"]}
"content": "// SPDX-License-Identifier: GPL-3.0\npragma solidity >=0.0;\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }" },
} "settings": {
}, "evmVersion": "petersburg",
"settings": { "optimizer": {"enabled": true},
"evmVersion": "petersburg", "outputSelection": {
"optimizer": { "enabled": true }, "*": {
"outputSelection": { "A": [
"*": { "evm.bytecode.object",
"A": [ "evm.deployedBytecode.generatedSources",
"evm.bytecode.object", "evm.bytecode.generatedSources"
"evm.deployedBytecode.generatedSources", ]
"evm.bytecode.generatedSources" }
] }
} }
}
}
} }

File diff suppressed because one or more lines are too long