Fix project name, links, rename the binaries (#11580)
* Fix project name, links, rename binary * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update updater/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> * Update util/version/Cargo.toml Co-Authored-By: David <dvdplm@gmail.com> Co-authored-by: David <dvdplm@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
description = "Open Ethereum (EthCore) Library"
|
||||
repository = "https://github.com/OpenEthereum/open-ethereum"
|
||||
description = "OpenEthereum (EthCore) Library"
|
||||
repository = "https://github.com/openethereum/openethereum"
|
||||
license = "GPL-3.0"
|
||||
name = "ethcore"
|
||||
version = "1.12.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
description = "Open Ethereum Blockchain Database, Test Generator, Configuration, Caching, Importing Blocks, and Block Information"
|
||||
repository = "https://github.com/OpenEthereum/open-ethereum"
|
||||
description = "OpenEthereum Blockchain Database, Test Generator, Configuration, Caching, Importing Blocks, and Block Information"
|
||||
repository = "https://github.com/openethereum/openethereum"
|
||||
license = "GPL-3.0"
|
||||
name = "ethcore-blockchain"
|
||||
version = "0.1.0"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum (EthCore) Contract Calls and Blockchain Service & Registry Information"
|
||||
description = "OpenEthereum (EthCore) Contract Calls and Blockchain Service & Registry Information"
|
||||
name = "ethcore-call-contract"
|
||||
version = "0.1.0"
|
||||
license = "GPL-3.0"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
description = "Ethcore DB access utilities"
|
||||
repository = "https://github.com/OpenEthereum/open-ethereum"
|
||||
repository = "https://github.com/openethereum/openethereum"
|
||||
license = "GPL-3.0"
|
||||
name = "ethcore-db"
|
||||
version = "0.1.0"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Open Ethereum database access utilities.
|
||||
//! OpenEthereum database access utilities.
|
||||
|
||||
#![warn(missing_docs)]
|
||||
|
||||
|
||||
@@ -709,7 +709,7 @@ impl Engine for Clique {
|
||||
|
||||
// Our task here is to set difficulty
|
||||
fn populate_from_parent(&self, header: &mut Header, parent: &Header) {
|
||||
// TODO(https://github.com/OpenEthereum/open-ethereum/issues/10410): this is a horrible hack,
|
||||
// TODO(https://github.com/openethereum/openethereum/issues/10410): this is a horrible hack,
|
||||
// it is due to the fact that enact and miner both use OpenBlock::new() which will both call
|
||||
// this function. more refactoring is definitely needed.
|
||||
if header.extra_data().len() < VANITY_LENGTH + SIGNATURE_LENGTH {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum Virtual Machine (EVM) Rust Implementation"
|
||||
description = "OpenEthereum Virtual Machine (EVM) Rust Implementation"
|
||||
name = "evm"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
description = "Open Ethereum (EthCore) Light Client Implementation (Block Import IO Service, Blockchain Data Fetching, Light Client Header Chain Storage, Parity Light Protocol (PLP) Provider, Light Transaction Queue, CHT Definitions, Light Client Data Cache), Parity Light Protocol (PLP) Implementation, P2P Network I/O and Event Context Generalization, Peer Error Handling & Punishment, Request Load Timer & Distribution Manager, Pending Request Set Storage, Request Credit Management, Light Client Request Types, Request Chain Builder Utility, On-demand Chain Request Service over LES (for RPCs), ResponseGuard Implementation)"
|
||||
repository = "https://github.com/OpenEthereum/open-ethereum"
|
||||
description = "OpenEthereum (EthCore) Light Client Implementation (Block Import IO Service, Blockchain Data Fetching, Light Client Header Chain Storage, Parity Light Protocol (PLP) Provider, Light Transaction Queue, CHT Definitions, Light Client Data Cache), Parity Light Protocol (PLP) Implementation, P2P Network I/O and Event Context Generalization, Peer Error Handling & Punishment, Request Load Timer & Distribution Manager, Pending Request Set Storage, Request Credit Management, Light Client Request Types, Request Chain Builder Utility, On-demand Chain Request Service over LES (for RPCs), ResponseGuard Implementation)"
|
||||
repository = "https://github.com/openethereum/openethereum"
|
||||
license = "GPL-3.0"
|
||||
name = "ethcore-light"
|
||||
version = "1.12.0"
|
||||
|
||||
@@ -534,7 +534,7 @@ impl LightProtocol {
|
||||
if peer_info.sent_head == announcement.head_hash ||
|
||||
peer_info.status.head_num >= announcement.head_num ||
|
||||
// fix for underflow reported in
|
||||
// https://github.com/OpenEthereum/open-ethereum/issues/10419
|
||||
// https://github.com/openethereum/openethereum/issues/10419
|
||||
now < peer_info.last_update ||
|
||||
now - peer_info.last_update < UPDATE_INTERVAL {
|
||||
continue
|
||||
|
||||
@@ -140,7 +140,7 @@ impl Encodable for CostTable {
|
||||
fn append_cost(s: &mut RlpStream, cost: &Option<U256>, kind: request::Kind) {
|
||||
if let Some(ref cost) = *cost {
|
||||
s.begin_list(2);
|
||||
// hack around https://github.com/OpenEthereum/open-ethereum/issues/4356
|
||||
// hack around https://github.com/openethereum/openethereum/issues/4356
|
||||
Encodable::rlp_append(&kind, s);
|
||||
s.append(cost);
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ impl Encodable for Request {
|
||||
fn rlp_append(&self, s: &mut RlpStream) {
|
||||
s.begin_list(2);
|
||||
|
||||
// hack around https://github.com/OpenEthereum/open-ethereum/issues/4356
|
||||
// hack around https://github.com/openethereum/openethereum/issues/4356
|
||||
Encodable::rlp_append(&self.kind(), s);
|
||||
|
||||
match *self {
|
||||
@@ -596,7 +596,7 @@ impl Encodable for Response {
|
||||
fn rlp_append(&self, s: &mut RlpStream) {
|
||||
s.begin_list(2);
|
||||
|
||||
// hack around https://github.com/OpenEthereum/open-ethereum/issues/4356
|
||||
// hack around https://github.com/openethereum/openethereum/issues/4356
|
||||
Encodable::rlp_append(&self.kind(), s);
|
||||
|
||||
match *self {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
description = "Parity Smart Contract based Node Filter, Manage Permissions of Network Connections"
|
||||
repository = "https://github.com/OpenEthereum/open-ethereum"
|
||||
repository = "https://github.com/openethereum/openethereum"
|
||||
license = "GPL-3.0"
|
||||
name = "node-filter"
|
||||
version = "1.12.0"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"block": [
|
||||
{
|
||||
"reference": "Issue https://github.com/OpenEthereum/open-ethereum/issues/11073 (also see https://github.com/OpenEthereum/open-ethereum/pull/10923)",
|
||||
"reference": "Issue https://github.com/openethereum/openethereum/issues/11073 (also see https://github.com/openethereum/openethereum/pull/10923)",
|
||||
"failing": "stRevertTest",
|
||||
"subtests": [
|
||||
"RevertPrecompiledTouch_d0g0v0_Byzantium",
|
||||
@@ -24,7 +24,7 @@
|
||||
],
|
||||
"state": [
|
||||
{
|
||||
"reference": "Issue https://github.com/OpenEthereum/open-ethereum/issues/11078 (also see https://github.com/OpenEthereum/open-ethereum/pull/10923)",
|
||||
"reference": "Issue https://github.com/openethereum/openethereum/issues/11078 (also see https://github.com/openethereum/openethereum/pull/10923)",
|
||||
"failing": "stRevertTest",
|
||||
"subtests": {
|
||||
"RevertPrecompiledTouch_storage": {
|
||||
@@ -34,7 +34,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"reference": "Issue https://github.com/OpenEthereum/open-ethereum/issues/11079 (also see https://github.com/OpenEthereum/open-ethereum/pull/10923)",
|
||||
"reference": "Issue https://github.com/openethereum/openethereum/issues/11079 (also see https://github.com/openethereum/openethereum/pull/10923)",
|
||||
"failing": "stRevertTest",
|
||||
"subtests": {
|
||||
"RevertPrecompiledTouchExactOOG": {
|
||||
@@ -44,7 +44,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"reference": "Issue https://github.com/OpenEthereum/open-ethereum/issues/11080 (also see https://github.com/OpenEthereum/open-ethereum/pull/10923)",
|
||||
"reference": "Issue https://github.com/openethereum/openethereum/issues/11080 (also see https://github.com/openethereum/openethereum/pull/10923)",
|
||||
"failing": "stRevertTest",
|
||||
"subtests": {
|
||||
"RevertPrecompiledTouch": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum (EthCore) Client & Network Service Creation & Registration with the I/O Subsystem"
|
||||
description = "OpenEthereum (EthCore) Client & Network Service Creation & Registration with the I/O Subsystem"
|
||||
name = "ethcore-service"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! Load chain specifications for all chains supported by the open-ethereum client.
|
||||
//! Load chain specifications for all chains supported by OpenEthereum.
|
||||
|
||||
macro_rules! bundle_release_spec {
|
||||
($($path: expr => $name: ident), *) => {
|
||||
|
||||
@@ -222,7 +222,7 @@ impl<'x> OpenBlock<'x> {
|
||||
self.block.header.set_transactions_root(*header.transactions_root());
|
||||
// For Aura-based chains, the seal may contain EmptySteps which are used to bestow rewards;
|
||||
// such rewards affect the state and the state root (see
|
||||
// https://github.com/OpenEthereum/open-ethereum/pull/11475).
|
||||
// https://github.com/openethereum/openethereum/pull/11475).
|
||||
self.block.header.set_seal(header.seal().to_vec());
|
||||
// TODO: that's horrible. set only for backwards compatibility
|
||||
if header.extra_data().len() > self.engine.maximum_extra_data_size() {
|
||||
@@ -363,7 +363,7 @@ impl LockedBlock {
|
||||
/// Provide a valid seal in order to turn this into a `SealedBlock`.
|
||||
/// This does check the validity of `seal` with the engine.
|
||||
/// Returns the `ClosedBlock` back again if the seal is no good.
|
||||
/// TODO(https://github.com/OpenEthereum/open-ethereum/issues/10407): This is currently only used in POW chain call paths, we should really merge it with seal() above.
|
||||
/// TODO(https://github.com/openethereum/openethereum/issues/10407): This is currently only used in POW chain call paths, we should really merge it with seal() above.
|
||||
pub fn try_seal(
|
||||
self,
|
||||
engine: &dyn Engine,
|
||||
|
||||
@@ -147,7 +147,7 @@ mod block_tests {
|
||||
json_chain_test(path, json_data, h)
|
||||
}
|
||||
//todo[dvdplm] do these tests match all folders in `res/` or are there tests we're missing?
|
||||
//Issue: https://github.com/OpenEthereum/open-ethereum/issues/11085
|
||||
//Issue: https://github.com/openethereum/openethereum/issues/11085
|
||||
declare_test!{BlockchainTests_bcBlockGasLimitTest, "BlockchainTests/bcBlockGasLimitTest"}
|
||||
declare_test!{BlockchainTests_bcExploitTest, "BlockchainTests/bcExploitTest"}
|
||||
declare_test!{BlockchainTests_bcForgedTest, "BlockchainTests/bcForgedTest"}
|
||||
@@ -199,7 +199,7 @@ mod block_tests {
|
||||
// "RevertPrecompiledTouch_storage" contains 4 tests, only two fails
|
||||
// "RevertPrecompiledTouchExactOOG" contains a ton of tests, only two fails
|
||||
// "RevertPrecompiledTouch" has 4 tests, 2 failures
|
||||
// Ignored in currents.json, issue: https://github.com/OpenEthereum/open-ethereum/issues/11073
|
||||
// Ignored in currents.json, issue: https://github.com/openethereum/openethereum/issues/11073
|
||||
declare_test!{BlockchainTests_GeneralStateTest_stRevertTest, "BlockchainTests/GeneralStateTests/stRevertTest/"}
|
||||
declare_test!{BlockchainTests_GeneralStateTest_stShift, "BlockchainTests/GeneralStateTests/stShift/"}
|
||||
declare_test!{BlockchainTests_GeneralStateTest_stSolidityTest, "BlockchainTests/GeneralStateTests/stSolidityTest/"}
|
||||
|
||||
@@ -166,9 +166,9 @@ mod state_tests {
|
||||
// "RevertPrecompiledTouch" has 4 tests, 2 failures
|
||||
// Ignored in `currents.json`.
|
||||
// Issues:
|
||||
// https://github.com/OpenEthereum/open-ethereum/issues/11078
|
||||
// https://github.com/OpenEthereum/open-ethereum/issues/11079
|
||||
// https://github.com/OpenEthereum/open-ethereum/issues/11080
|
||||
// https://github.com/openethereum/openethereum/issues/11078
|
||||
// https://github.com/openethereum/openethereum/issues/11079
|
||||
// https://github.com/openethereum/openethereum/issues/11080
|
||||
declare_test!{GeneralStateTest_stRevertTest, "GeneralStateTests/stRevertTest/"}
|
||||
declare_test!{GeneralStateTest_stSStoreTest, "GeneralStateTests/stSStoreTest/"}
|
||||
declare_test!{GeneralStateTest_stShift, "GeneralStateTests/stShift/"}
|
||||
|
||||
@@ -41,7 +41,7 @@ pub fn run_test_path<H: FnMut(&str, HookType)>(
|
||||
) {
|
||||
if !skip.is_empty() {
|
||||
// todo[dvdplm] it's really annoying to have to use flushln here. Should be `info!(target:
|
||||
// "json-tests", …)`. Issue https://github.com/OpenEthereum/open-ethereum/issues/11084
|
||||
// "json-tests", …)`. Issue https://github.com/openethereum/openethereum/issues/11084
|
||||
flushed_writeln!("[run_test_path] Skipping tests in {}: {:?}", path.display(), skip);
|
||||
}
|
||||
let mut errors = Vec::new();
|
||||
|
||||
@@ -681,7 +681,7 @@ impl Miner {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: (https://github.com/OpenEthereum/open-ethereum/issues/10407)
|
||||
// TODO: (https://github.com/openethereum/openethereum/issues/10407)
|
||||
// This is only used in authority_round path, and should be refactored to merge with the other seal() path.
|
||||
// Attempts to perform internal sealing (one that does not require work: e.g. Clique
|
||||
// and Aura) and handles the result depending on the type of Seal.
|
||||
|
||||
@@ -277,7 +277,7 @@ impl<'a> EvmTestClient<'a> {
|
||||
|
||||
// Touch the coinbase at the end of the test to simulate
|
||||
// miner reward.
|
||||
// Details: https://github.com/OpenEthereum/open-ethereum/issues/9431
|
||||
// Details: https://github.com/openethereum/openethereum/issues/9431
|
||||
let schedule = self.spec.engine.machine().schedule(env_info.number);
|
||||
self.state.add_balance(&env_info.author, &0.into(), if schedule.no_empty {
|
||||
CleanupMode::NoEmpty
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum (EthCore) Blockchain Synchronization (Strategy, Blockchain Downloader, Blockchain Synchronization Implementation of Ethereum Protocol, Propagating Data to Peers, Requesting Data from Peers, Supplying Data in Response to Peer Requests, Handling Peer Responses, Matching Packet IDs and Protocol, Light Client Synchronization of Header Chain, Header Download State Machine, Light Decoding & Verifying Header Responses, Private Transaction Handling, Synchronization Snapshot Service to Download & Verify Block Chunks, Peer Connection Management and Blockchain Client I/O Interface for Synchronization Handler, Transaction Statistics)"
|
||||
description = "OpenEthereum (EthCore) Blockchain Synchronization (Strategy, Blockchain Downloader, Blockchain Synchronization Implementation of Ethereum Protocol, Propagating Data to Peers, Requesting Data from Peers, Supplying Data in Response to Peer Requests, Handling Peer Responses, Matching Packet IDs and Protocol, Light Client Synchronization of Header Chain, Header Download State Machine, Light Decoding & Verifying Header Responses, Private Transaction Handling, Synchronization Snapshot Service to Download & Verify Block Chunks, Peer Connection Management and Blockchain Client I/O Interface for Synchronization Handler, Transaction Statistics)"
|
||||
name = "ethcore-sync"
|
||||
version = "1.12.0"
|
||||
license = "GPL-3.0"
|
||||
|
||||
@@ -600,7 +600,7 @@ mod tests {
|
||||
io.peers_info.insert(2, "Parity-Ethereum/v2.6.0/linux/rustc".to_owned());
|
||||
// and peer#3 is Parity, accepting service transactions
|
||||
insert_dummy_peer(&mut sync, 3, block_hash);
|
||||
io.peers_info.insert(3, "Open-Ethereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned());
|
||||
io.peers_info.insert(3, "OpenEthereum/ABCDEFGH/v2.7.3/linux/rustc".to_owned());
|
||||
|
||||
// and new service transaction is propagated to peers
|
||||
SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true);
|
||||
@@ -624,7 +624,7 @@ mod tests {
|
||||
|
||||
// when peer#1 is Parity, accepting service transactions
|
||||
insert_dummy_peer(&mut sync, 1, block_hash);
|
||||
io.peers_info.insert(1, "Open-Ethereum/v2.6.0/linux/rustc".to_owned());
|
||||
io.peers_info.insert(1, "OpenEthereum/v2.6.0/linux/rustc".to_owned());
|
||||
|
||||
// and service + non-service transactions are propagated to peers
|
||||
SyncPropagator::propagate_new_transactions(&mut sync, &mut io, || true);
|
||||
|
||||
@@ -147,7 +147,7 @@ impl Snapshot {
|
||||
/// sometimes spills over into more than one chunk and the parts of state that are missing
|
||||
/// pieces are held in memory while waiting for the next chunk(s) to show up. This means that
|
||||
/// when chunks are processed out-of-order, memory usage goes up, sometimes significantly (see
|
||||
/// e.g. https://github.com/OpenEthereum/open-ethereum/issues/8825).
|
||||
/// e.g. https://github.com/openethereum/openethereum/issues/8825).
|
||||
pub fn needed_chunk(&mut self) -> Option<H256> {
|
||||
// Find next needed chunk: first block, then state chunks
|
||||
let chunk = {
|
||||
|
||||
@@ -147,7 +147,7 @@ pub struct Call {
|
||||
|
||||
/// This is essentially an `Option<CallType>`, but with a custom
|
||||
/// `rlp` en/de-coding which preserves backwards compatibility with
|
||||
/// the older encodings used in open-ethereum versions < 2.7 and 2.7.0.
|
||||
/// the older encodings used in OpenEthereum versions < 2.7 and 2.7.0.
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub struct BackwardsCompatibleCallType(pub Option<CallType>);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
description = "Open Ethereum Common Types"
|
||||
description = "OpenEthereum Common Types"
|
||||
name = "common-types"
|
||||
version = "0.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
|
||||
@@ -50,7 +50,7 @@ pub struct BlockChainInfo {
|
||||
impl BlockChainInfo {
|
||||
/// Determine the security model for the current state.
|
||||
pub fn security_level(&self) -> SecurityLevel {
|
||||
// TODO: Detect SecurityLevel::FullState : https://github.com/OpenEthereum/open-ethereum/issues/3834
|
||||
// TODO: Detect SecurityLevel::FullState : https://github.com/openethereum/openethereum/issues/3834
|
||||
if self.ancient_block_number.is_none() || self.first_block_number.is_none() {
|
||||
SecurityLevel::FullProofOfWork
|
||||
} else {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Open Ethereum. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
//! General error types for use in open-ethereum.
|
||||
//! General error types for use in OpenEthereum.
|
||||
|
||||
mod block_error;
|
||||
mod engine_error;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//! structures from that crate.
|
||||
//!
|
||||
//! NOTE If you can specify your data type in the same crate as your trait, please do that.
|
||||
//! Don't treat this crate as a bag for any types that we use in Open Ethereum.
|
||||
//! Don't treat this crate as a bag for any types that we use in OpenEthereum.
|
||||
//! This one is reserved for types that are shared heavily (like transactions),
|
||||
//! historically this contains types extracted from `ethcore` crate, if possible
|
||||
//! we should try to dissolve that crate in favour of more fine-grained crates,
|
||||
|
||||
Reference in New Issue
Block a user