* Add constantinople conf to EvmTestClient. * Skip some test to update submodule etheureum/tests submodule to latest. * Put skipping 'under issue' test behind a feature. * Change blockReward for const-test to pass ethereum/tests * Update tests to new constantinple definition (change of reward at block 5). Switch 'reference' to string, that way we can include issues from others repo (more flexible)Update tests to new constantinple definition (change of reward at block 5). Switch 'reference' to string, that way we can include issues from others repo (more flexible). * Fix modexp and bn128_mul gas prices in chain config * Changes `run_test_path` method to append its directory results (without that it stop testing at the first file failure). Add some missing tests. Add skip for those (block create2 is one hundred percent false but on hive we can see that geth and aleth got similar issue for this item). * retab current.json * Update reference to parity issue for failing tests.
48 lines
1.7 KiB
Rust
48 lines
1.7 KiB
Rust
// 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/>.
|
|
|
|
//! Helpers and tests for operating on jsontests.
|
|
|
|
#[macro_use]
|
|
mod test_common;
|
|
|
|
mod transaction;
|
|
mod executive;
|
|
mod state;
|
|
mod chain;
|
|
mod trie;
|
|
mod skip;
|
|
|
|
#[cfg(test)]
|
|
mod difficulty;
|
|
|
|
|
|
pub use self::test_common::HookType;
|
|
|
|
pub use self::transaction::run_test_path as run_transaction_test_path;
|
|
pub use self::transaction::run_test_file as run_transaction_test_file;
|
|
pub use self::executive::run_test_path as run_executive_test_path;
|
|
pub use self::executive::run_test_file as run_executive_test_file;
|
|
pub use self::state::run_test_path as run_state_test_path;
|
|
pub use self::state::run_test_file as run_state_test_file;
|
|
pub use self::chain::run_test_path as run_chain_test_path;
|
|
pub use self::chain::run_test_file as run_chain_test_file;
|
|
pub use self::trie::run_generic_test_path as run_generic_trie_test_path;
|
|
pub use self::trie::run_generic_test_file as run_generic_trie_test_file;
|
|
pub use self::trie::run_secure_test_path as run_secure_trie_test_path;
|
|
pub use self::trie::run_secure_test_file as run_secure_trie_test_file;
|
|
use self::skip::SKIP_TEST_STATE;
|