-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add constantinople conf to EvmTestClient. #9570
Changes from 2 commits
82d46b2
ef2372d
371a1a6
b61ec3f
cdf2435
5c39eb2
6686db7
e8a30bb
545654e
48f23b4
01e0398
292b05c
68da3e8
1328aa1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,215 @@ | ||
| { "block": | ||
| [ | ||
|
|
||
| { | ||
| "reference": 9568, | ||
|
||
| "failing": "stCreateTest", | ||
| "subtests": [ | ||
| "CreateOOGafterInitCodeRevert_d0g0v0_Constantinople", | ||
| "CreateOOGafterInitCodeReturndata3_d0g0v0_Constantinople", | ||
| "CreateOOGafterInitCodeRevert2_d0g0v0_Constantinople", | ||
| "CreateOOGafterInitCode_d0g1v0_Constantinople", | ||
| "CreateOOGafterInitCodeReturndataSize_d0g0v0_Constantinople", | ||
| "CreateOOGafterInitCode_d0g0v0_Constantinople", | ||
| "CreateOOGafterInitCodeReturndata2_d0g0v0_Constantinople", | ||
|
||
| "CreateOOGafterInitCodeReturndata_d0g1v0_Constantinople", | ||
| "CreateOOGafterInitCodeReturndata2_d0g1v0_Constantinople", | ||
| "CreateOOGafterInitCodeReturndata_d0g0v0_Constantinople" | ||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stEIP158Specific", | ||
| "subtests": [ | ||
| "callToEmptyThenCallError_d0g0v0_Byzantium", | ||
| "callToEmptyThenCallError_d0g0v0_Constantinople", | ||
| "callToEmptyThenCallError_d0g0v0_EIP158" | ||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stPreCompiledContracts", | ||
| "subtests": [ | ||
| "identity_to_smaller_d0g0v0_Constantinople", | ||
| "identity_to_bigger_d0g0v0_Constantinople" | ||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stReturnDataTest", | ||
| "subtests": [ | ||
| "modexp_modsize0_returndatasize_d0g1v0_Constantinople", | ||
| "modexp_modsize0_returndatasize_d0g2v0_Constantinople", | ||
| "modexp_modsize0_returndatasize_d0g3v0_Constantinople" | ||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stRevertTest", | ||
| "subtests": [ | ||
| "RevertOnEmptyStack_d0g0v0_Constantinople" | ||
|
||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stSpecialTest", | ||
| "subtests": [ | ||
| "FailedCreateRevertsDeletion_d0g0v0_Constantinople", | ||
|
||
| "push32withoutByte_d0g0v0_Constantinople" | ||
| ] | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stSystemOperationsTest", | ||
|
||
| "subtests": [ | ||
| "doubleSelfdestructTest_d0g0v0_Constantinople", | ||
| "doubleSelfdestructTest2_d0g0v0_Constantinople" | ||
| ] | ||
| } | ||
|
|
||
|
|
||
| ], | ||
| "state": | ||
| [ | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stCreateTest", | ||
| "subtests": { | ||
| "CreateOOGafterInitCodeReturndata2": { | ||
| "subnumbers": ["2"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stEIP150Specific", | ||
| "subtests": { | ||
| "NewGasPriceForCodes": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stInitCodeTest", | ||
| "subtests": { | ||
| "OutOfGasContractCreation": { | ||
| "subnumbers": ["4"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stPreCompiledContracts", | ||
| "subtests": { | ||
| "modexp": { | ||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stRevertTest", | ||
| "subtests": { | ||
| "LoopCallsDepthThenRevert3": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertOpcodeCreate": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertSubCallStorageOOG2": { | ||
| "subnumbers": ["1","3"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertDepthCreateOOG": { | ||
| "subnumbers": ["3","4"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertOpcodeMultipleSubCalls": { | ||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertOpcodeDirectCall": { | ||
| "subnumbers": ["1","2"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "LoopCallsDepthThenRevert2": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertDepth2": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertRemoteSubCallStorageOOG2": { | ||
| "subnumbers": ["1","2"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "RevertDepthCreateAddressCollision": { | ||
| "subnumbers": ["3","4"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stStaticCall", | ||
|
||
| "subtests": { | ||
| "static_callCreate": { | ||
| "subnumbers": ["2"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "static_CheckOpcodes4": { | ||
| "subnumbers": ["3"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "static_CheckOpcodes3": { | ||
| "subnumbers": ["5","6","7","8"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "static_RevertDepth2": { | ||
| "subnumbers": ["1"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "static_callBasic": { | ||
| "subnumbers": ["1","2"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "static_CheckOpcodes2": { | ||
| "subnumbers": ["5","6","7","8"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
| } | ||
| }, | ||
| { | ||
| "reference": 9568, | ||
| "failing": "stZeroKnowledge", | ||
| "subtests": { | ||
| "pointAddTrunc": { | ||
|
||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "pointAdd": { | ||
|
||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "pointMulAdd": { | ||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| }, | ||
| "pointMulAdd2": { | ||
| "subnumbers": ["*"], | ||
| "chain": "Constantinople (test)" | ||
| } | ||
|
|
||
| } | ||
| } | ||
|
|
||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| // Copyright 2015-2018 Parity Technologies (UK) Ltd. | ||
| // This file is part of Parity. | ||
|
|
||
| // Parity is free software: you can redistribute it and/or modify | ||
| // it under the terms of the GNU General Public License as published by | ||
| // the Free Software Foundation, either version 3 of the License, or | ||
| // (at your option) any later version. | ||
|
|
||
| // Parity is distributed in the hope that it will be useful, | ||
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| // GNU General Public License for more details. | ||
|
|
||
| // You should have received a copy of the GNU General Public License | ||
| // along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
|
||
| //! State tests to skip. | ||
|
|
||
| use ethjson; | ||
|
|
||
| lazy_static!{ | ||
|
|
||
|
|
||
| pub static ref SKIP_TEST_STATE: ethjson::test::SkipStates = { | ||
| let skip_data = include_bytes!("../../res/ethereum/tests-issues/currents.json"); | ||
| ethjson::test::SkipStates::load(&skip_data[..]).expect("No invalid json allowed") | ||
| }; | ||
|
|
||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this file to use tabs for indentation.