This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Backporting to beta #3149
Merged
Merged
Backporting to beta #3149
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a991265
The front-end for each hard-fork, also EIP-160.
gavofyork eb018a4
Address EIP161 a/c
gavofyork e426fb6
Include EIP-161b
gavofyork a84fa93
EIP-161 part d.
gavofyork acb28e1
Fixed tests
arkpar 846bd37
Fix test build.
gavofyork 49808df
Fix one test, add another.
gavofyork e6ad198
Fix use of bloom & renaming.
gavofyork 3bc5c37
Initial groundwork for EIP-155
gavofyork e8e8fa7
Fix minor bug.
gavofyork 04083ad
Fix all tests finally.
gavofyork e4f3c6f
ipc backports
NikVolf d3cbe46
Resolve IPC issues
arkpar 048e087
Fixed tests
arkpar c0d44f9
Rest of EIP-155.
gavofyork 0bd5642
Add tests for EIP-155 algorithm.
gavofyork 061068c
Address grumbles.
gavofyork 40e68ed
Remove unused code.
gavofyork 731ac39
Fix SUICIDE gas mechanism and add consensus tests.
gavofyork 5f66879
Remove commented code.
gavofyork e6ef5c6
Set Frontier hardfork block number
gavofyork 379f9f3
Transaction tests,
gavofyork 48d967a
Fixed tests
arkpar 935f59b
Fixing random test failures (#2577)
arkpar fb3f385
Removed banning queue
arkpar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,5 @@ | |
|
||
# Build artifacts | ||
out/ | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "Homestead (Test)", | ||
"engine": { | ||
"Ethash": { | ||
"params": { | ||
"gasLimitBoundDivisor": "0x0400", | ||
"minimumDifficulty": "0x020000", | ||
"difficultyBoundDivisor": "0x0800", | ||
"durationLimit": "0x0d", | ||
"blockReward": "0x4563918244F40000", | ||
"registrar" : "0xc6d9d2cd449a754c494264e1809c50e34d64562b", | ||
"homesteadTransition": "0x0", | ||
"eip150Transition": "0x0", | ||
"eip155Transition": "0x7fffffffffffffff", | ||
"eip160Transition": "0x0", | ||
"eip161abcTransition": "0x0", | ||
"eip161dTransition": "0x0" | ||
} | ||
} | ||
}, | ||
"params": { | ||
"accountStartNonce": "0x00", | ||
"maximumExtraDataSize": "0x20", | ||
"minGasLimit": "0x1388", | ||
"networkID" : "0x1" | ||
}, | ||
"genesis": { | ||
"seal": { | ||
"ethereum": { | ||
"nonce": "0x0000000000000042", | ||
"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000" | ||
} | ||
}, | ||
"difficulty": "0x400000000", | ||
"author": "0x0000000000000000000000000000000000000000", | ||
"timestamp": "0x00", | ||
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", | ||
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa", | ||
"gasLimit": "0x1388" | ||
}, | ||
"accounts": { | ||
"0000000000000000000000000000000000000001": { "balance": "1", "builtin": { "name": "ecrecover", "pricing": { "linear": { "base": 3000, "word": 0 } } } }, | ||
"0000000000000000000000000000000000000002": { "balance": "1", "builtin": { "name": "sha256", "pricing": { "linear": { "base": 60, "word": 12 } } } }, | ||
"0000000000000000000000000000000000000003": { "balance": "1", "builtin": { "name": "ripemd160", "pricing": { "linear": { "base": 600, "word": 120 } } } }, | ||
"0000000000000000000000000000000000000004": { "balance": "1", "builtin": { "name": "identity", "pricing": { "linear": { "base": 15, "word": 3 } } } } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tests
updated
40 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,10 @@ | |
// along with Parity. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
use util::numbers::*; | ||
use ipc::{IpcConfig, BinaryConvertError}; | ||
use std::collections::VecDeque; | ||
use std::mem; | ||
use ipc::{IpcConfig}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't remember changing this file |
||
|
||
/// Represents what has to be handled by actor listening to chain events | ||
#[derive(Ipc)] | ||
#[ipc] | ||
pub trait ChainNotify : Send + Sync { | ||
/// fires when chain has new blocks | ||
fn new_blocks(&self, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,13 +30,17 @@ pub use self::test_client::{TestBlockChainClient, EachBlockWith}; | |
pub use types::trace_filter::Filter as TraceFilter; | ||
pub use executive::{Executed, Executive, TransactOptions}; | ||
pub use env_info::{LastHashes, EnvInfo}; | ||
pub use self::chain_notify::{ChainNotify, ChainNotifyClient}; | ||
pub use self::chain_notify::ChainNotify; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't remember these changes. |
||
#[cfg(feature="ipc")] | ||
pub use self::chain_notify::ChainNotifyClient; | ||
#[cfg(feature="ipc")] | ||
pub use self::traits::RemoteClient; | ||
|
||
pub use types::call_analytics::CallAnalytics; | ||
pub use block_import_error::BlockImportError; | ||
pub use transaction_import::TransactionImportResult; | ||
pub use transaction_import::TransactionImportError; | ||
pub use self::traits::{BlockChainClient, MiningBlockChainClient, RemoteClient}; | ||
pub use self::traits::{BlockChainClient, MiningBlockChainClient}; | ||
|
||
mod traits { | ||
#![allow(dead_code, unused_assignments, unused_variables, missing_docs)] // codegen issues | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
don't remember changing this file...