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",
"sources": {
"a.sol": {
"content": "// SPDX-License-Identifier: GPL-3.0\npragma abicoder v2; contract A { function f(uint[] memory) public view returns (uint256) { } }"
}
},
"settings": {
"evmVersion": "petersburg",
"outputSelection": {
"*": {
"A": [
"evm.bytecode.object",
"evm.deployedBytecode.generatedSources",
"evm.bytecode.generatedSources"
]
}
}
}
"language": "Solidity",
"sources": {
"a.sol": {"urls": ["standard_generatedSources/in.sol"]}
},
"settings": {
"evmVersion": "petersburg",
"outputSelection": {
"*": {
"A": [
"evm.bytecode.object",
"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",
"sources": {
"a.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",
"optimizer": { "enabled": true },
"outputSelection": {
"*": {
"A": [
"evm.bytecode.object",
"evm.deployedBytecode.generatedSources",
"evm.bytecode.generatedSources"
]
}
}
}
"language": "Solidity",
"sources": {
"a.sol": {"urls": ["standard_optimizer_generatedSources/in.sol"]}
},
"settings": {
"evmVersion": "petersburg",
"optimizer": {"enabled": true},
"outputSelection": {
"*": {
"A": [
"evm.bytecode.object",
"evm.deployedBytecode.generatedSources",
"evm.bytecode.generatedSources"
]
}
}
}
}

File diff suppressed because one or more lines are too long