Pierre Krieger
2c60a53fef
Randomize the peer we dispatch to ( #7844 )
2018-02-08 21:36:46 +01:00
Tomasz Drwięga
a59f6d9bd2
Move updater metadata to Cargo.toml of parity-version. ( #7832 )
2018-02-08 12:38:56 +01:00
Afri Schoedon
a487182e92
Add new EF ropstens nodes. ( #7824 )
...
* Add new EF ropstens nodes.
* Fix tests
2018-02-08 12:38:18 +01:00
Nikolay Volf
0a7cebe316
adjust storage update evm-style ( #7812 )
2018-02-06 11:57:29 +01:00
Nikolay Volf
fb4582a90e
wasmi interpreter ( #7796 )
2018-02-05 20:59:27 +01:00
Afri Schoedon
0ea1c41573
Update ropsten.json ( #7776 )
2018-02-01 16:23:46 +00:00
Afri Schoedon
6dec16bb41
Enable byzantium features on non-ethash chains ( #7753 )
...
* Enable byzantium on dev chain
* Enable byzantium on constractor spec
* Enable byzantium on aura specs
* Enable byzantium on tendermint chain spec
* Enable byzantium on null chain spec
* Fix tests
* Fix test
2018-02-01 13:42:56 +01:00
Dmitry Kashitsyn
a412f7cca6
Removes redundant parentheses, whitelists them in generated code ( #7721 )
2018-01-31 09:48:37 +01:00
Marek Kotewicz
f43e355254
Replace RandomTempDir with tempdir::Tempdir ( #7624 )
...
* Remove GuardedTempResult
* Remove RandomTempPath
* ethcore does not depend on devtools
2018-01-19 17:32:53 +01:00
Marek Kotewicz
6bebb9e74a
Moved StopGaurd to it's own crate ( #7635 )
2018-01-19 13:46:31 +01:00
Marek Kotewicz
d430e7f4e2
Updated dependencies ( #7628 )
...
* Updated few dependencies
* Updated parking_lot to 0.5
* Updated backtrace to 0.3.5
* Updated crossbeam to 0.3
2018-01-19 13:46:11 +01:00
Tomasz Drwięga
ad44855a1b
Fix Temporarily Invalid blocks handling ( #7613 )
...
* Handle temporarily invalid blocks in sync.
* Fix tests.
2018-01-19 10:38:59 +01:00
Robert Habermeier
2c426defd9
remove check_hangup hack now that is_canceled exists ( #7620 )
2018-01-18 18:19:04 +01:00
Tomasz Drwięga
709fbff067
Std-json format for VM traces ( #7262 )
...
* Std-json logging.
* fixed merge with master
2018-01-18 10:32:22 +01:00
Marek Kotewicz
0c01db4a49
separated ethcore_migrations from ethcore ( #7586 )
...
* separated ethcore_migrations from ethcore
* fixed authorship nitpick
* make ethcore_migrations related exports and imports more consistent
2018-01-17 22:11:13 +01:00
Marek Kotewicz
9adee532a0
bump some of our core dependencies ( #7563 )
...
* updated ethereum-types and tiny-keccak
* Updated several deps
* Updated several more dependencies
* Modify dummy file to trigger ci
* fixed update of memmap to 0.6 in ethash crate
* Fixed fetch after update to latest reqwest
* Updated jsonrpc-core with fixes for serde
* add expects in util/version/build.rs
2018-01-17 11:45:29 +01:00
Marek Kotewicz
7d49dd4727
Fixed delegatecall's from/to ( #7568 )
...
* Fixed delegatecall's from/to, closes #7166
* added tests for delegatecall traces, #7167
2018-01-17 10:44:11 +01:00
Marek Kotewicz
36ba004c29
removed redundant ethcore/basic_types.rs ( #7584 )
2018-01-17 10:35:43 +01:00
Alexey
534692cdae
[Wasm] memcmp fix and test added ( #7590 )
...
* [Wasm] memcmp fix and test added
* [Wasm] use reqrep_test! macro for memcmp test
2018-01-17 13:13:17 +04:00
Robert Habermeier
c7aed335ce
update back-references more aggressively after answering from cache ( #7578 )
2018-01-17 09:45:36 +01:00
Alexey
d927320719
[WASM] mem_cmp added to the Wasm runtime ( #7539 )
...
* mem_cmp added to the Wasm runtime
* schedule.wasm.mem_copy to schedule.wasm.mem_cmp for mem_cmp
2018-01-15 18:24:24 +04:00
Marek Kotewicz
668d910c44
bloom refactor ( #7475 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* cleanup bloom mess
* simplify usage of Bloom in few places
* removed obsolete util/src/lib.rs
* removed commented out code
* ethereum-types 0.1.4
* updated ethereum-types and tiny-keccak
2018-01-14 22:43:28 +01:00
Tomasz Drwięga
f044b61f42
Extract some parts of miner from ethcore. ( #7353 )
...
* Move miner away from ethcore.
* Fix ethcore to use miner/transaction.
* Fix tests and warnings.
* fixed incorrect merge of the test in the documentation
2018-01-11 17:49:10 +01:00
Marek Kotewicz
e95b093483
dissolve util ( #7460 )
...
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor in progress
* ethereum-types refactor finished
* removed obsolete util/src/lib.rs
* removed commented out code
2018-01-10 15:35:18 +03:00
tzapu
df5d27d516
added a new RPC call trace_replayBlockTransactions ( #7366 )
...
* intial add trace_replayBlockTransactions
* cleanup timing calls
add execution proof
* WIP implementing changes
* fix for trace_replayBlockTransactions rpc call
* cleanup comments
* cleanup, proof,
can't workout lifetime issues yet
* Fix lifetimes issue.
* naive rpc test
* updated docs
2018-01-10 11:34:34 +01:00
Svyatoslav Nikolsky
b685b7fae3
SecretStore: tx retry pattern ( #7323 )
...
* SecretStore: auto migrate initial commit
* SecretStore: flush automigrate
* SecretStore: debug flush
* SecretStore: added migration to KeyServerSet contract
* SecretStore: flush automigrate
* SecretStore: flush before testing
* SecretStore: flush
* SecretStore: flush
* SecretStore: bunch of tests for simple ConnectionTrigger && KeyServerSet
* SecretStore: started work on TriggerWithMigration tests
* SecretStore: maintain_session tests
* SecretStore: updated some comments
* SecretStore pass migration_id to ServerSetChangeSession
* SecretStore: fixed lock scope
* SecretStore: fixed error response condition
* SecretStore: fixed ServerSetChange session auto-creation
* SecretStore: update active migration in connector
* removed commented code
* SecretStore: fixed tests compilation
* SecretStore: marked test-related unimplemented-s
* SecretStore: labeled all SS TODOs
* SecretStore: do not read auto-migration stuff when auto-migration is disabled + stripped KeyServerSet contract ABI
* SecretStore: ignore duplicated addresses in KeyServerSet
* fied compilation
* SecretStore: wait for N block confirmations before starting auto-migration
* SecretStore: more tests for migration delay
* SecretStore: clear current nodes set when KSS contract is uninstalled
* SecretStore: retry transaction interval
2018-01-10 11:33:45 +01:00
Tomasz Drwięga
e4bd4ed060
Use sync wrapper instead of Mutex ( #7456 )
2018-01-09 16:10:39 +01:00
Afri Schoedon
a553485bbd
Update Parity Mainnet Bootnodes ( #7476 )
...
* Update Parity Mainnet Bootnodes
* Replace the Azure HDD bootnodes with the new ones :)
2018-01-08 15:06:08 +01:00
Tomasz Drwięga
33b8f28f62
Advance AuRa step as far as we can and prevent invalid blocks. ( #7451 )
...
* Advance AuRa step as far as we can.
* Wait for future blocks.
2018-01-08 14:46:11 +01:00
Afri Schoedon
36e230ee16
Expanse Byzantium update w/ correct metropolis difficulty increment divisor ( #7463 )
...
* Byzantium Update for Expanse
Here the changes go. Hope I didnt miss anything.
* expip2 changes - update duration limit
* Fix missing EXPIP-2 fields
* Format numbers as hex
* Fix compilation errors
* Group expanse chain spec fields together
* Set metropolisDifficultyIncrementDivisor for Expanse
* Revert #7437
* Add Expanse block 900_000 hash checkpoint
2018-01-05 13:49:07 +01:00
5chdn
27d8befbad
Remove expanse from available chains
2018-01-03 13:24:27 +01:00
Tomasz Drwięga
56311cf0b5
Merge branch 'master' into td-strict-config
2018-01-03 11:07:08 +01:00
Tomasz Drwięga
e439eae54f
Enable strict config parsing.
2018-01-03 11:05:53 +01:00
André Silva
e114b0b28d
Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification ( #7348 )
...
* kvdb-rocksdb: update to RocksDB 5.8.8
* kvdb-rocksdb: tune RocksDB options
* Switch to level-style compaction
* Increase default block size (16K), and use bigger blocks for HDDs (64K)
* Increase default file size base (64MB SSDs, 256MB HDDs)
* Create a single block cache shared across all column families
* Tune compaction settings using RocksDB helper functions, taking into account
memory budget spread across all columns
* Configure backgrounds jobs based on the number of CPUs
* Set some default recommended settings
* ethcore: remove unused config blockchain.db_cache_size
* parity: increase default value for db_cache_size
* kvdb-rocksdb: enable compression on all levels
* kvdb-rocksdb: set global db_write_bufer_size
* kvdb-rocksdb: reduce db_write_bufer_size to force earlier flushing
* kvdb-rocksdb: use master branch for rust-rocksdb dependency
2018-01-03 11:00:37 +01:00
Marek Kotewicz
6a01113610
Merge pull request #7412 from paritytech/td-trace-failed-calls
...
Fix tracing failed calls.
2018-01-02 15:43:33 +01:00
Marek Kotewicz
f3e7d94fc4
Merge pull request #7368 from paritytech/td-future-blocks
...
Wait for future blocks in AuRa
2018-01-02 14:21:50 +01:00
Tomasz Drwięga
c6aea0cae6
Move StateDB to RwLock
2018-01-02 09:43:08 +01:00
Tomasz Drwięga
67a74e155d
Fix tracing failed calls.
2017-12-29 18:11:55 +01:00
Marek Kotewicz
2586eaef92
Merge pull request #7359 from VladLupashevskyi/transactions-permission-contract-fix
...
Added checking tx-type using transactions permission contract for miners
2017-12-29 11:46:10 +01:00
debris
7b40f1cfe9
Merge branch 'master' into dircrate2
2017-12-29 10:45:11 +01:00
Marek Kotewicz
f8bd6b9f63
Merge pull request #7101 from paritytech/secretstore_kovan
...
SecretStore: Kovan integration initial version
2017-12-29 05:31:51 -04:00
Tomasz Drwięga
48a15cecf8
Update bootnodes ( #7363 )
...
* Updating mainnet bootnodes.
* Add additional parity-beta bootnodes.
* Restore old parity bootnodes and update foudation bootnodes
2017-12-28 15:12:19 +01:00
Vlad Lupashevskyi
45116099c5
Merge remote-tracking branch 'remotes/upstream/master' into transactions-permission-contract-fix
2017-12-28 12:56:21 +02:00
Tomasz Drwięga
a15f62d907
Merge branch 'master' into td-future-blocks
2017-12-27 11:01:08 +01:00
Svyatoslav Nikolsky
c0e7abcc81
Merge branch 'master' into secretstore_kovan
2017-12-27 11:44:28 +03:00
Nicolas Ochem
2e12a2db50
Fix #6209 - introduce standalone dir crate
...
* created the dir crate in util
* moved code from ethstore/src/dir/paths.rs to dir crate
* rename dir module in ethstore to accounts_dir to distinguish it
from the dir crate
* changes after @tomusdrw on #6952
2017-12-26 00:54:34 -08:00
Vlad Lupashevskyi
31ffb467f5
Passing verify tx errors to the caller
2017-12-23 00:00:27 +02:00
Vlad Lupashevskyi
0d5603eece
Use is_err instead of match
2017-12-22 23:14:24 +02:00
Vlad Lupashevskyi
d6ae6e315e
Check tx-type before importing transactions to the queue
2017-12-22 22:50:09 +02:00
Vlad Lupashevskyi
9d35cc1881
"from" replaced with ".into()"
2017-12-22 22:48:37 +02:00
Nikolay Volf
82340c058a
Wasm runtime update ( #7356 )
...
* call augmented, wasm-tests updated
* fix all call tests
* fix comments
2017-12-22 21:54:35 +03:00
Marek Kotewicz
d80dd81d77
parity-version pr reopen ( #7136 )
...
* parity-version module split from util
removed unused util deps and features
trigger buildbot again
only kvdb links rocksdb
snappy linker issues
* rm snappy
* fixed old version imports
2017-12-22 09:37:39 -04:00
Marek Kotewicz
7c24d0665e
Merge pull request #7355 from paritytech/td-clippy
...
Get rid of clippy remainings.
2017-12-22 07:09:26 -04:00
Marek Kotewicz
6f516607a1
Merge pull request #7357 from paritytech/unwrap-or
...
Avoid using ok_or with allocated argument
2017-12-22 06:55:37 -04:00
Nicolas Gotchac
276496fb4b
Enable traces for DEV chain ( #6949 ) ( #7327 )
2017-12-22 06:33:17 +03:00
Vlad Lupashevskyi
24378f3c44
Added checking tx-type using transactions permission contract for miners
2017-12-21 22:42:36 +02:00
Tomasz Drwięga
d6f160e868
Don't check max.
2017-12-21 16:16:55 +01:00
Tomasz Drwięga
7d4e4c7a62
Mark future blocks as temporarily invalid.
2017-12-21 15:34:27 +01:00
Yurii Rashkovskii
d5b81ead71
Problem: AuRa's unsafeties around step duration ( #7282 )
...
Firstly, `Step.duration_remaining` casts it to u32, unnecesarily
limiting it to 2^32. While theoretically this is "good enough" (at 3
seconds steps it provides room for a little over 400 years), it is
still a lossy way to calculate the remaining time until the next step.
Secondly, step duration might be zero, triggering division by zero
in `Step.calibrate`
Solution: rework the code around the fact that duration is
typically in single digits and never grows, hence, it can be represented
by a much narrower range (u16) and this highlights the fact that
multiplying u64 by u16 will only result in an overflow in even further
future, at which point we should panic informatively (if anybody's
still around)
Similarly, panic when it is detected that incrementing the step
counter wrapped around on the overflow of usize.
As for the division by zero, prevent it by making zero an invalid
value for step duration. This will make AuRa log the constraint
mismatch and panic (after all, what purpose would zero step duration
serve? it makes no sense within the definition of the protocol,
as finality can only be achieved as per the specification
if messages are received within the step duration, which would violate
the speed of light and other physical laws in this case).
2017-12-21 14:59:09 +01:00
NikVolf
516725abe4
ok_or -> ok_or_else
2017-12-21 16:50:58 +03:00
Tomasz Drwięga
00883e477a
Get rid of clippy remainings.
2017-12-21 11:27:26 +01:00
Marek Kotewicz
53dce9ff98
Merge pull request #7222 from ellaismer/ellaism
...
Add Ellaism coin in chain config
2017-12-19 09:34:21 -04:00
Tomasz Drwięga
9e7f5671a5
Merge branch 'master' into a5-kovan-bootnodes
2017-12-19 10:33:35 +01:00
Robert Habermeier
8f6f6a068e
detect different node, same-key signing in aura ( #7245 )
...
* detect different node, same-key signing in aura
* reduce scope of warning
2017-12-15 16:29:23 +01:00
5chdn
4a9a0f6f55
Update kovan boot nodes
2017-12-15 15:29:48 +01:00
5chdn
0a808a1ac2
Improve chainspec formatting
2017-12-15 15:29:09 +01:00
Konstantin
bb1e03e9cb
new warp enodes ( #7287 )
...
* new warp enodes
* added one more warp enode; replaced spaces with tabs
2017-12-15 15:19:06 +01:00
Tomasz Drwięga
c731b5ef62
Update kovan HF block number. ( #7259 )
2017-12-12 16:03:28 +01:00
André Silva
fcddc7751a
Reduce max block timestamp drift to 15 seconds ( #7240 )
...
* reduce max block timestamp drift to 15 seconds
* add test for block timestamp validation within allowed drift
2017-12-08 11:43:31 +01:00
Robert Habermeier
3cb4d81eb1
Fix aura difficulty race ( #7198 )
...
* Fix Aura difficulty race
* fix test key
* extract out score calculation
* fix build
2017-12-07 12:17:11 +01:00
Svyatoslav Nikolsky
5d792324e6
Merge branch 'master' into secretstore_kovan
2017-12-06 19:56:54 +03:00
Ellaismer
dd0fba96a4
Add registrar for ellaism
...
Provided by @5chdn
2017-12-06 22:46:19 +08:00
Ellaismer
2d3073fc02
Remove compatibility fields to pass chainspec test for Ellaism
2017-12-06 21:01:03 +08:00
Ellaismer
dcf6e1d83d
Add basic Elliasm config
2017-12-06 20:46:24 +08:00
Takehiro Miyao
3284020b04
mistake comment in calc difficulty ( #7154 )
2017-12-05 16:06:04 +01:00
Tomasz Drwięga
7e3872fddc
Maximum uncle count transition ( #7196 )
...
* Enable delayed maximum_uncle_count activation.
* Fix tests.
* Defer kovan HF.
2017-12-05 15:57:45 +01:00
Robert Habermeier
e85c98e09a
Merge pull request #7075 from miyao-gmo/feature/estimate_gas_limit
...
escape inifinite loop in estimte_gas
2017-12-04 15:29:23 +01:00
Arkadiy Paronyan
dde6baedec
Removed ethcore-util dependency from ethcore-network ( #7180 )
...
* Removed ethcore-util dependency
* Removed snappy
2017-12-02 10:08:04 +01:00
NikVolf
4f12e1dab1
pwasm-run-test utility upgrade
2017-12-01 16:41:09 +03:00
Takehiro Miyao
ad01f99c44
upper limit is gas limit * 10 in estimate gas
2017-12-01 11:12:11 +00:00
Marek Kotewicz
e8787c1acf
Merge pull request #7142 from paritytech/pwasm-run
...
WASM test runner utility
2017-11-27 10:16:28 +01:00
Sergey Pepyakin
359b4de3ff
WASM Remove blockhash error ( #7121 )
...
* Remove blockhash error
* Update tests.
2017-11-26 23:18:58 +03:00
NikVolf
13f3113826
pwasm-run-test utility
2017-11-26 00:06:57 +03:00
Marek Kotewicz
68db425fe8
Merge pull request #7067 from sorpaas/patch-1
...
ECIP-1039: Monetary policy rounding specification
2017-11-24 15:49:33 +01:00
Wei Tang
8e89be775c
Wrong era used in ECIP1017 test
...
It is era 49, and should correspond to ECIP1017/ECIP1039's era 50.
2017-11-24 20:17:26 +08:00
Wei Tang
bef85fb876
Add test for ECIP1017 at block 250000000
2017-11-24 19:31:48 +08:00
Svyatoslav Nikolsky
333e0e1637
SecretStore: publish key only if requested through contract
2017-11-24 10:26:24 +03:00
Svyatoslav Nikolsky
12e9c1cebc
Merge branch 'master' into secretstore_kovan
2017-11-23 07:27:13 +03:00
Svyatoslav Nikolsky
ea9c8a174c
SecretStore: started adding tests for ServiceContractListener
2017-11-22 17:31:34 +03:00
Sergey Pepyakin
3716b09b2e
Update wasm-tests
2017-11-21 17:03:14 +03:00
Sergey Pepyakin
66b2db0137
Update gas values
2017-11-21 17:03:14 +03:00
Sergey Pepyakin
7564b05572
Make storage_read/write return nothing
2017-11-21 17:03:13 +03:00
Sergey Pepyakin
3e4e00fc6a
spaces to tabs.
2017-11-21 15:39:34 +03:00
Svyatoslav Nikolsky
b5fad300ba
Merge branch 'master' into secretstore_kovan
2017-11-20 19:58:01 +03:00
Svyatoslav Nikolsky
af409eba07
SecretSTore: fix after merge from secretstore_kovan_1_8
2017-11-20 19:41:53 +03:00
Svyatoslav Nikolsky
3945a29ee6
SecretStore: mapping requests to KeyServer + requests retry
2017-11-20 19:03:31 +03:00
Svyatoslav Nikolsky
6618827d1a
SecretStore: cleaning up service contract listener
2017-11-20 19:03:22 +03:00
Svyatoslav Nikolsky
56875a83b3
SecretStore: Kovan flush2
2017-11-20 19:03:06 +03:00
Nikolay Volf
9798e3c45a
Update panic_payload.rs
2017-11-20 18:12:31 +03:00
Sergey Pepyakin
3d0616c1ae
Parse payload from panic
...
Impl payload
empty str is none
Update tests
Clean
Update wasm-tests
2017-11-20 13:09:57 +03:00
Robert Habermeier
81212c5031
Merge branch 'master' into upload-crates
2017-11-17 16:42:41 +01:00
Wei Tang
b35cc3f716
Change reward calculation to only use divide once
2017-11-16 12:34:04 +08:00
Wei Tang
2ca57d7cdb
ECIP-1039: Monetary policy rounding specification
...
Fix potential rounding errors between geth and parity in the long-term future.
2017-11-16 12:25:05 +08:00
Marek Kotewicz
605cd5cd9f
Merge pull request #7006 from paritytech/no-uncles
...
Disable uncles by default
2017-11-15 23:51:49 +01:00
Marek Kotewicz
0230a44b15
Merge pull request #7040 from paritytech/squashed_network_error_chain
...
squashed ethcore-network changes which introduce error-chain
2017-11-15 18:18:25 +01:00
debris
a22c48b6b0
removed redundant imports
2017-11-14 17:47:41 +01:00
Svyatoslav Nikolsky
abfb9fccd3
SecretStore: Kovan integration initial commit
2017-11-14 14:26:31 +03:00
debris
3cf52dac59
use error-chain in ethcore-network
2017-11-13 16:48:58 +01:00
Sergey Pepyakin
bcdfc50a0b
pwasm-std update ( #7018 )
2017-11-13 00:21:15 +03:00
Robert Habermeier
ec5519ccd1
rename hash crate to keccak-hash
2017-11-10 20:08:28 +01:00
Robert Habermeier
2288bcd1b4
Merge branch 'master' of github.com:paritytech/parity into upload-crates
2017-11-10 18:42:18 +01:00
Robert Habermeier
be092e7c09
prepare cargo configuration for upload of crates
2017-11-10 18:31:31 +01:00
Alexey
df49b4b065
Merge pull request #6967 from paritytech/wasm-elog
...
Events in WASM runtime
2017-11-10 18:03:32 +03:00
keorn
261c0d5368
no default uncles
2017-11-09 23:56:02 +00:00
Robert Habermeier
d701ed7262
Merge pull request #6874 from paritytech/light-local-tx
...
Get local transactions by hash in the light client
2017-11-07 11:23:40 -06:00
Robert Habermeier
acdec22d58
Merge branch 'master' into warn-blacklisted
2017-11-07 16:56:57 +01:00
Robert Habermeier
4a07010539
Merge branch 'master' into light-local-tx
2017-11-07 16:56:28 +01:00
Arkadiy Paronyan
85465fc0b1
Skip nonce check for gas estimation ( #6997 )
2017-11-07 09:21:30 +01:00
NikVolf
bed82e5cc0
elog (events) for wasm runtime
2017-11-05 18:54:35 +03:00
Tomasz Drwięga
ffee6aacff
Creating pending block with all transactions from the queue ( #6942 )
...
* Allow to include all queue transactions in pending block.
* Fix tests.
2017-11-03 15:20:20 +01:00
Dmitry Kashitsyn
713bba00ac
Removes FUTURE_QUEUE_LIMITS_SHIFT ( #6962 )
2017-11-02 15:06:17 +01:00
Nikolay Volf
f72858ee0a
Add hint in ActionParams for splitting code/data ( #6957 )
...
* Action params and embedded params handling
* fix namespaces
2017-11-02 12:49:57 +01:00
Tomasz Drwięga
0a69d5ac4c
Return decoded seal fields. ( #6932 )
2017-11-01 11:29:03 +01:00
Tomasz Drwięga
b861ad37a4
Reserve nonces for signing ( #6834 )
...
* Nonce future - reserve and dispatch
* Single thread nonce tests
* Track status of reserved nonces.
* Initialization of nonce reservations.
* Prospective Signer
* Fix cli tests.
2017-11-01 11:23:18 +01:00
Marek Kotewicz
39e27076ad
Merge pull request #6842 from paritytech/td-evm-json
...
Fix JSON tracing for sub-calls.
2017-10-29 21:47:14 -07:00
Tomasz Drwięga
8dfdebc2a2
Refactor static context check in CREATE. ( #6886 )
...
* Refactor static context check in CREATE.
* Fix wasm.
2017-10-25 11:27:18 +02:00
David Dorgan
bdf1e6afcc
Revert "Sync parity-ewf with parity"
...
This reverts commit f7ba063b22
.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22
Sync parity-ewf with parity
2017-10-24 12:31:50 +01:00
Tomasz Drwięga
b98150526c
Fix serialization of non-localized transactions ( #6868 )
...
* Fix serialization of non-localized transactions.
* Return proper SignedTransactions representation.
2017-10-24 12:13:00 +02:00
Tomasz Drwięga
1253a5c577
Merge branch 'master' into td-evm-json
2017-10-24 09:16:51 +02:00
Robert Habermeier
dd13526f6c
warn when blacklisted account present in store
2017-10-24 09:04:28 +02:00
Robert Habermeier
965dff3d32
light: get local transactions by hash
2017-10-24 07:30:53 +02:00
Tomasz Drwięga
4ba2587226
Fix serialization of non-localized transactions.
2017-10-23 14:46:36 +02:00
Arkadiy Paronyan
097815cb71
Ethstore optimizations ( #6827 )
2017-10-20 20:20:41 +02:00
Tomasz Drwięga
2d222a5920
Capture traces and write some tests.
2017-10-20 16:06:36 +02:00
Tomasz Drwięga
4ac406da6b
Merge branch 'master' into td-evm-json
2017-10-20 13:36:45 +02:00
ia
bbe9d73e9a
Add ECIP1017 to Morden config ( #6810 )
...
* Add ECIP1017 setting to Morden config
* Convert spaces to tabs
* Update Morden bootnodes to match Geth
2017-10-20 12:37:37 +02:00
Dmitry Kashitsyn
153b8572dd
Fixes tests
2017-10-17 22:24:47 +07:00
Tomasz Drwięga
2d10cd0ecc
Fixing JSON WiP. Refactor & Write tests.
2017-10-17 14:54:56 +02:00
Dmitry Kashitsyn
c0fc83988f
Refactors ethcore to use journaldb crate ( #6693 )
2017-10-17 11:46:07 +07:00
debris
3830f9b464
fixed failing test
2017-10-16 22:12:17 +02:00
debris
95f0384510
Merge branch 'master' into ipc_cleanup
2017-10-16 18:19:41 +02:00
Marek Kotewicz
bb1be15dc4
Merge pull request #6792 from paritytech/kvdb_error
...
consistent KeyValueDB errors
2017-10-16 18:19:18 +02:00
debris
16d84f8ecf
finished removing ipc
2017-10-16 18:18:43 +02:00
debris
fa019bd03e
remove ipc codegen from ethcore
2017-10-16 17:50:25 +02:00
Arkadiy Paronyan
5b29b6d064
Squash remaining warnings ( #6789 )
...
* Fixed comment warnings
* Fixed remaining warnings
2017-10-16 12:31:52 +02:00
debris
6dc50d01b5
KeyValueDB trait uses errors instead of strings
2017-10-16 12:11:35 +02:00
Marek Kotewicz
44db0c55c5
Merge pull request #6720 from paritytech/kvdb_split
...
separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb
2017-10-16 10:57:27 +02:00
Afri Schoedon
774598974e
Forward-port #6754 #6755 ( #6785 )
2017-10-16 10:56:23 +02:00
Marek Kotewicz
8365f4d80e
updated ethabi to version 4.0 ( #6742 )
...
* updated ethabi to version 4.0
* ethabi 4.0.1
2017-10-16 10:21:35 +02:00
debris
2ce0eae406
Merge branch 'master' into kvdb_split
2017-10-16 10:01:12 +02:00
Dmitry Kashitsyn
92a9fd3359
Uses dash instead of underscore in crate name
2017-10-16 11:05:54 +07:00
Dmitry Kashitsyn
4df541e47a
Refactors references to MemoryLruCache in ethcore ( #6693 )
2017-10-15 21:47:06 +07:00
debris
db3ff67182
Merge branch 'master' into kvdb_split
2017-10-15 16:40:20 +02:00
debris
616cafb04a
renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create
2017-10-15 16:17:15 +02:00
debris
d88ec35a6a
Merge branch 'master' into kvdb_split
2017-10-15 15:55:44 +02:00
Dmitry Kashitsyn
3df67b376b
Removes redundant mut
in ethcore
2017-10-15 20:10:20 +07:00
Arkadiy Paronyan
b0c15497e1
Fixed kovan chain validation ( #6758 )
...
* Fixed kovan chain validation
* Fork detection
* Fixed typo
2017-10-14 21:59:26 +02:00
Marek Kotewicz
190c1dcede
removed redundant evm deps ( #6757 )
2017-10-14 19:29:09 +02:00
debris
b277c3810f
Merge branch 'master' into kvdb_split
2017-10-13 16:27:12 +02:00
Arkadiy Paronyan
691e93834c
Fixed modexp gas calculation overflow ( #6741 )
2017-10-13 16:06:53 +02:00
debris
5c220ab64b
Merge branch 'master' into kvdb_split
2017-10-13 12:18:49 +02:00
Arkadiy Paronyan
f3ea2f354e
v1.9.0 ( #6727 )
2017-10-12 23:44:02 +02:00
debris
f36b4e0fca
fixed wrong kvdb import in json_tests
2017-10-12 17:05:32 +02:00
Marek Kotewicz
e51e54eeeb
Merge pull request #6694 from paritytech/no-sleep
...
Prevent going offline when restoring or taking a snapshot
2017-10-12 15:54:29 +02:00
debris
eb526b7769
separated kvdb into 3 crates: kvdb, kvdb-memorydb && kvdb-rocksdb, #6693
2017-10-12 15:36:27 +02:00
arkpar
301190a16f
Fixed RETURNDATA out of bounds check
2017-10-12 12:57:27 +02:00
arkpar
99143c5872
Prevent going offline when restoring or taking snapshot
2017-10-12 12:37:03 +02:00
Marek Kotewicz
bfff19ca9f
Merge pull request #6705 from paritytech/serde-migration
...
Removes dependency on rustc_serialize (#5988 )
2017-10-11 18:17:40 +02:00
Arkadiy Paronyan
7029dda87c
Fixed potential exp len overflow ( #6686 )
2017-10-11 16:41:28 +02:00
Dmitry Kashitsyn
604cdde71d
Fixes bench and removes rustc_serialize dependency ( #5988 )
2017-10-11 17:39:12 +07:00
debris
025c5aebc9
Merge branch 'master' into difficulty-tests
2017-10-10 20:10:24 +02:00
Marek Kotewicz
6279ff32f5
Separate migrations from util ( #6690 )
...
* separate migration from util and make its dependencies into libs:
* snappy
* kvdb
* error
* common
* renamed common -> macros
* util error does not depend on snappy module
* ethsync does not depend on util nor ethcore_error
* nibbleslice and nibblevec merged with patricia_trie crate
* removed unused dependencies from util
* util journaldb traits does not need to be public
* util_error
* fixed ethcore compile error
* ignore .swo files
* Update chain.rs
2017-10-10 20:01:27 +02:00
arkpar
cc681c623f
Fixed tests after rename
2017-10-10 17:48:37 +02:00
arkpar
e5a7a674f9
Get rid of blockchain test warnings
2017-10-10 16:56:03 +02:00
arkpar
7234a7c630
Difficulty tests
2017-10-10 14:51:12 +02:00
Nikolay Volf
1601030081
WASM gas schedule ( #6638 )
...
* some failing tests
* finalize
* fallable -> fallible
* alter mul/div/static_i64
* Update schedule.rs
* to u32
* balance charge also
* review fixes
* remove redundant line
2017-10-09 13:12:58 +02:00
Marek Kotewicz
65ca2f9a07
Merge pull request #6660 from paritytech/byzantium-fork
...
Byzantium fork block number
2017-10-09 11:25:49 +02:00
Marek Kotewicz
de0d12d73c
Merge pull request #6652 from paritytech/returndatasize-builtin-fix
...
Fixed RETURNDATA size for built-ins
2017-10-09 11:24:34 +02:00
Robert Habermeier
b010fb5004
Light Client: fetch transactions/receipts by transaction hash ( #6641 )
...
* rpc: transaction/receipt requests made async
* rpc: light client fetches transaction and uncle by hash/index
* on_demand: request type for transaction index
* serve transaction index requests in light protocol
* add a test for transaction index serving
* fetch transaction and receipts by hash on light client
* fix decoding tests
* light: more lenient cost table parsing (backwards compatible)
* fix tests and warnings
* LES -> PIP
* Update provider.rs
* proper doc comments for public functions
2017-10-08 18:19:27 +02:00
Afri Schoedon
360ecd3728
Add Musicoin and MCIP-3 UBI hardfork. ( #6621 )
...
* Add musicoin chain spec.
* Add musicoin to parity node
* Add musicoin to the wallet
* Add i18n for musicoin
* Align musicoin chain spec with 1.8, ref #6134
* Update musicoin bootnodes
* Prepare MCIP-3 in musicoin chain spec.
* Update musicoin chain spec with contract addresses for MCIP-3
* Extend ethash params by MCIP-3
* Fix musicoin chain spec json
* Use U256 for block rewards.
* Update musicoin registrar
* Fix merge leftovers
* Update musicoin chain spec for latest master
* Bestow MCIP-3 block reward(s).
* Update musicoin registry once and for all
* Align MCIP-3 block reward with go implementation
* Remove mcip3 test chain spec from repository
* Update MCIP-3 block rewards
* Musicoin homestead transition is at 1_150_000
* Expect mcip3 transtion to be properly defined in chain spec.
* Panic handling for mcip to default to regular block rewards if not specified
* Giving mcip3 rewards a useful default value.
* Fix ethjson tests.
* Update musicoin chain spec
* Fix tests 0:)
* Add musicoin mcip3 era test spec.
* Update musicoin chain spec(s)
* Add tests for mcip3 era block rewards
* Fix tests
* Disable byzantium for musicoin
* Pass miner reward to the tracer.
* Allow modifying blockreward in MCIP-3 transition.
2017-10-08 18:17:59 +02:00
Robert Habermeier
59365b0133
fix aura backcompat: revert to manual encoding/decoding of transition proofs ( #6665 )
2017-10-06 17:36:26 +02:00
arkpar
07c63c14f3
Byzantium fork block number
2017-10-06 09:47:04 +02:00
arkpar
6a1eea1b3d
Fixed RETURNDATA size for built-ins
2017-10-05 19:31:29 +02:00
Robert Habermeier
bae6a5eeec
move additional_info to engines, fixes registry on non-ethash chains
2017-10-05 15:34:30 +02:00
Tomasz Drwięga
e8b418ca03
Update jsonrpc dependencies and rewrite dapps to futures. ( #6522 )
...
* Bump version.
* Fix RPC crate.
* Fix BoxFuture in crates.
* Compiles and passes tests!
* Get rid of .boxed()
* Fixing issues with the UI.
* Remove minihttp. Support threads.
* Reimplement files serving to do it in chunks.
* Increase chunk size.
* Remove some unecessary copying.
* Fix tests.
* Fix stratum warning and ipfs todo.
* Switch to proper branch of jsonrpc.
* Update Cargo.lock.
* Update docs.
* Include dapps-glue in workspace.
* fixed merge artifacts
* Fix test compilation.
2017-10-05 12:35:01 +02:00
fro
6956d218b5
address balance extern provided for wasm
2017-10-04 19:09:18 +03:00
Nikolay Volf
4260910db6
WASM Runtime refactoring ( #6596 )
...
* refactoring to new pwasm-std
* pass reference
* remove ref
* missing underscores
2017-10-04 13:15:59 +02:00
Svyatoslav Nikolsky
5e83ff8835
fix compilation
2017-10-03 12:59:48 +03:00
Anton Gavrilov
0a5c9b0465
Add pagination for trace_filter rpc method ( #6312 )
...
* Optional offset and count added on client level
* Rpc interface extended
* Tests corrected
* Filtering code refactored a little bit
* Offset type was changed to usize
* Handling of block hash in offset added
* Offset reworked to number
* Trailing comma removed
* Import for Quantity type added
* Offset and count moved into filter object
* Lost comma removed
* Return empty vec instead of None in case of incorrect range
2017-10-03 10:03:46 +02:00
Robert Habermeier
bc167a211b
Generalize engine trait ( #6591 )
...
* move common forks and parameters to common params
* port specs over to new format
* fix RPC tests
* parity-machine skeleton
* remove block type
* extract out ethereum-specific methods into EthereumMachine
* beginning to integrate Machine into engines. dealing with stale transitions in Ethash
* initial porting to machine
* move block reward back into engine
* abstract block reward logic
* move last hash and DAO HF logic into machine
* begin making engine function parameters generic
* abstract epoch verifier and ethash block reward logic
* instantiate special ethereummachine for ethash in spec
* optional full verification in verify_block_family
* re-instate tx_filter in a way that works for all engines
* fix warnings
* fix most tests, further generalize engine trait
* uncomment nullengine, get ethcore tests compiling
* fix warnings
* update a bunch of specs
* re-enable engine signer, validator set, and transition handler
* migrate basic_authority engine
* move last hashes into executedblock
* port tendermint
* make all ethcore tests pass
* json-tests compilation
* fix RPC tests: change in gas limit for new block changed PoW hash
* fix minor grumbles
* validate chainspecs
* fix broken import
* fix transaction verification for pre-homestead
2017-09-26 14:19:08 +02:00
Jef
5c08698fa0
Use memmap for dag cache ( #6193 )
...
* Rebase and fix compilation errors (tests not yet fixed)
* Use `debug_assert` over `assert`
* Fix tests
* Assert safety, clean up
* Fix up stale cache removal, move one assert to debug_assert
* Remove printlns
* Add licenses
* Fix benches
* Inline some no-ops in a hot loop that weren't being inlined
* Add spooky comment to make sure no-one removes the inlining annotations
* Minor cleanup
* Add option to switch between mmap and ram
* Flag ethash to use less memory when running light client
* Fix tests
* Remove todo comment (it's done)
* Replace assertion with error return
* Fix indentation
* Use union instead of `transmute`
* Fix benches
* Extract to constants
* Clean up and fix soundness holes
* Fix formatting
* Ignore missing-file errors
* Make incorrect cache size an error condition instead of a panic, remove dead code
* Fix compilation errors from rebase
* Fix compilation errors in tests
* Fix compilation errors in tests
2017-09-25 19:45:33 +02:00
Lorenzo Manacorda
aab1cf020c
Rename builder module to batch
2017-09-24 20:09:40 +02:00
Lorenzo Manacorda
5f025cc1b8
Rename Requests to Batch
2017-09-24 20:09:30 +02:00
Arkadiy Paronyan
4dc7d3dc45
Fixed receipt serialization and RPC ( #6555 )
2017-09-21 10:11:53 +02:00
Marek Kotewicz
f38d34919b
Random cleanups / improvements to a state ( #6472 )
2017-09-19 11:34:13 +02:00
Arkadiy Paronyan
1b6d840ada
Ropsten fork ( #6533 )
2017-09-18 11:12:42 +02:00
Arkadiy Paronyan
25b35ebddd
Byzantium updates ( #5855 )
...
* EIP-211 updates
* benchmarks
* blockhash instruction gas cost updated
* More benches
* EIP-684
* EIP-649
* EIP-658
* Updated some tests
* Modexp fixes
* STATICCALL fixes
* Pairing fixes
* More STATICALL fixes
* Use paritytech/bn
* Fixed REVERTing of contract creation
* Fixed more tests
* Fixed more tests
* Blockchain tests
* Enable previously broken tests
* Transition test
* Updated tests
* Fixed modexp reading huge numbers
* Enabled max_code_size test
* Review fixes
* Updated pairing pricing
* missing commas (style)
* Update test.rs
* Small improvements
* eip161abc
2017-09-15 21:07:54 +02:00
Hawstein
dd7a60c7a8
rename trie to patricia-trie
2017-09-15 11:49:26 +08:00
Hawstein
ade37be25b
separate trie from util and make its dependencies into libs:
...
* bytes
* hashdb
* memorydb
* nibbleslice
* nibblevec
2017-09-15 11:03:53 +08:00