David
44cc442d12
Move more code into state-account ( #10840 )
...
* WIP move errors, pod_account and state account to own crates
* Sort out dependencies, fix broken code and tests
Remove botched ethcore-error crate
* remove template line
* fix review feedback
* Remove test-only AccountDBMut::new
* Extract AccountDB to account-db
* Move Substate to state-account – wip
* Add lib.rs
* cleanup
* test failure
* test failure 2
* third time's the charm
* Add factories crate
* Use new factories crate
* Use factories crate
* Extract trace
* Fix tests
* Sort out parity-util-mem and parking_lot
* cleanup
* WIP port over the rest of state from ethcore
* Collect all impls for Machine
* some notes
* Rename pod-account to pod
* Move PodState to pod crate
* Use PodState from pod crate
* Fix use clause for json tests
* Sort out evmbin
* Add missing code and use PodState
* Move code that depends on Machine and Executive to own module
* Sort out cloning errors, fix ethcore to use new state crate
* Do without funky From impls
* Fix ethcore tests
* Fixes around the project to use new state crate
* Add back the more specific impls of StateOrBlock From conversions
* Move execute to freestanding function and remove it from trait
Sort out the error handling in executive_state by moving the result types from state to ethcore
Undo the verbose code added to work around the StateOrBlock From conversions
* cleanup
* Fix "error: enum variants on type aliases are experimental"
* Bring back the state tests
Fix whitespace
* remove ethcore/state/mod.rs
* cleanup
* cleanup
* Cleanup state-account errors
* Fix more todos
Add module docs
* Add error.rs
* Fixup Cargo.lock
* Smaller ethcore API is fine
* Add `to-pod-full` feature to state-account
Fix evmbin
* Fix a few more test failures
* Fix RPC test build
* Baptize the new trait
* Remove resolved TODOs
* Rename state-account to account-state
* Do not re-export the trace crate
* Don't export state_db from ethcore
* Let private-tx use StateDB. :(
* Remove ethcore/src/pod_state.rs
* Inner type does not need to be pub/pub(crate)
* optimise imports
* Revert "Inner type does not need to be pub/pub(crate)"
This reverts commit 2f839f8a0f72f71334da64620f57e6dd6039f06b.
* Move DatabaseExtras to ethcore-blockchain
* Add database_extra module to ethcore-blockchain
* Remove to-pod-full feature
* Sort out the merge
* sort imports
* address grumbles
* rename crate
* address more grumbles
2019-07-08 18:17:48 +02:00
Andronik Ordian
dae5d75dd6
Upgrade ethereum types ( #10670 )
...
* cargo upgrade "ethereum-types" --all --allow-prerelease
* [ethash] fix compilation errors
* [ethkey] fix compilation errors
* [journaldb] fix compilation errors
* [dir] fix compilation errors
* [ethabi] update to 0.7
* wip
* [eip-712] fix compilation errors
* [ethjson] fix compilation errors
* [Cargo.toml] add TODO to remove patches
* [ethstore] fix compilation errors
* use patched keccak-hash with new primitive-types
* wip
* [ethcore-network-devp2p] fix compilation errors
* [vm] fix compilation errors
* [common-types, evm, wasm] fix compilation errors
* [ethcore-db] Require AsRef instead of Deref for keys
* [ethcore-blockchain] fix some compilation errors
* [blooms-db] fix compilation errors
Thanks a lot @dvdplm :)
* we don't need no rlp ethereum feature
* [ethcore] fix some compilation errors
* [parity-ipfs-api] fix compilation error
* [ethcore-light] fix compilation errors
* [Cargo.lock] update parity-common
* [ethcore-private-tx] fix some compilation errors
* wip
* [ethcore-private-tx] fix compilation errors
* [parity-updater] fix compilation errors
* [parity-rpc] fix compilation errors
* [parity-bin] fix other compilation errors
* update to new ethereum-types
* update keccak-hash
* [fastmap] fix compilation in tests
* [blooms-db] fix compilation in tests
* [common-types] fix compilation in tests
* [triehash-ethereum] fix compilation in tests
* [ethkey] fix compilation in tests
* [pwasm-run-test] fix compilation errors
* [wasm] fix compilation errors
* [ethjson] fix compilation in tests
* [eip-712] fix compilation in tests
* [ethcore-blockchain] fix compilation in tests
* [ethstore] fix compilation in tests
* [ethstore-accounts] fix compilation in tests
* [parity-hash-fetch] fix compilation in tests
* [parity-whisper] fix compilation in tests
* [ethcore-miner] fix compilation in tests
* [ethcore-network-devp2p] fix compilation in tests
* [*] upgrade rand to 0.6
* [evm] get rid of num-bigint conversions
* [ethcore] downgrade trie-standardmap and criterion
* [ethcore] fix some warnings
* [ethcore] fix compilation in tests
* [evmbin] fix compilation in tests
* [updater] fix compilation in tests
* [ethash] fix compilation in tests
* [ethcore-secretstore] fix compilation in tests
* [ethcore-sync] fix compilation in tests
* [parity-rpc] fix compilation in tests
* [ethcore] finally fix compilation in tests
FUCK YEAH!!!
* [ethstore] lazy_static is unused
* [ethcore] fix test
* fix up bad merge
* [Cargo.toml] remove unused patches
* [*] replace some git dependencies with crates.io
* [Cargo.toml] remove unused lazy_static
* [*] clean up
* [ethcore] fix transaction_filter_deprecated test
* [private-tx] fix serialization tests
* fix more serialization tests
* [ethkey] fix smoky test
* [rpc] fix tests, please?
* [ethcore] remove commented out code
* Apply suggestions from code review
Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>
* [ethstore] remove unused dev-dependency
* [ethcore] remove resolved TODO
* [*] resolve keccak-hash TODO
* [*] s/Address::default()/Address::zero()
* [rpc] remove Subscribers::new_test
* [rpc] remove EthPubSubClient::new_test
* [ethcore] use trie-standardmap from crates.io
* [dir] fix db_root_path
* [ethcore] simplify snapshot::tests::helpers::fill_storage
* Apply suggestions from code review
Co-Authored-By: David <dvdplm@gmail.com>
* [ethcore-secretstore] resolve TODO in serialization
* [ethcore-network-devp2p] resolve TODO in save_key
* [Cargo.lock] update triehash
* [*] use ethabi from crates.io
* [ethkey] use secp256k1 from master branch
* [Cargo.lock] update eth-secp256k1
2019-06-03 15:36:21 +02:00
Afri Schoedon
7c335e8764
misc: bump license header to 2019 ( #10135 )
...
* misc: bump license header to 2019
* misc: remove_duplicate_empty_lines.sh
* misc: run license header script
* commit cargo lock
2019-01-07 11:33:07 +01:00
shamardy
526c61e2c0
Transactions hashes missing in trace_replayBlockTransactions method result #8725 ( #8883 )
...
* Squashed commit of the following:
commit 1f85076fd584365f1acbbafef5c8bdee722b479b
Author: shamardy <shamardy@yahoo.com>
Date: Sat Jun 30 03:40:12 2018 +0200
update
commit 63363cca7354873a8abe3b631b8b7dbd9da6ce1e
Author: shamardy <shamardy@yahoo.com>
Date: Sat Jun 30 03:36:25 2018 +0200
Update
commit e05caddc170a4cf0e476c23d443f07184dcb4fb1
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 10:04:34 2018 +0200
Test
commit b0be065eadd0f2dd70f6613c50cbf3eb16d693ec
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 09:19:57 2018 +0200
test_client edit
commit 949205ccdbac75f730639e5f0d8e1bdd9436de1d
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 05:14:53 2018 +0200
Edit Test
commit 7cd44ee379a1e847f3e7d225444e72775bdbd4b5
Author: shamardy <shamardy@yahoo.com>
Date: Fri Jun 29 04:25:22 2018 +0200
Updates
commit e90de71e698d29475e8ba5696664b7d7bb335f9c
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 13:53:15 2018 +0200
Test
commit 12a76381561b66ecf6ea636d7eebe43d2dcb7731
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 11:43:39 2018 +0200
Edited Tests
commit 6c21e6de2da24e7b9f33ac8b82abb0b39488bd60
Merge: 87c4c74b8 9550cf766
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 10:31:21 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 87c4c74b8f769c8e4b55ba78b5aa1d6716413f6d
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 27 10:31:13 2018 +0200
Avoided Changing non-RPC Types
commit 9550cf76610953c8492cc9473e4b9f876e770b70
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:29:03 2018 +0200
Update traces.rs
commit 3e0b0ef29685b62f0917b80a48054b3379d59a50
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:27:44 2018 +0200
Update trace.rs
commit 5078d67a2da7268db2a1064540a3c887e1f1a3cd
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:26:08 2018 +0200
Update traces.rs
commit 28f5ba1b035c6919ac11089cf1bdd703c75f0dbd
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:24:04 2018 +0200
Update parity.rs
commit 3b86b98ab5860efa61a7cc6a2b20e6c5c0f859cb
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:23:33 2018 +0200
Update eth.rs
commit bcad5a40f14a3c5d2d901ae1a9bed87949ab9c66
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:21:43 2018 +0200
Update call_analytics.rs
commit e9029e0b8158387b606132b264652d285483870f
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:20:56 2018 +0200
Update transaction.rs
commit 0dacc81779bc62713e3f8e405229dfd7f89f33e8
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:20:01 2018 +0200
Update executive.rs
commit 3921d4ec77f49460d45603111b98cc07d3c235a0
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:18:39 2018 +0200
Update executed.rs
commit 8416df654ebf6f68ad04c8a4a89a29ce704f9ca1
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Wed Jun 27 10:17:34 2018 +0200
Update client.rs
commit cf0b4dddbc93395bc5ce1f17c3c07a294bf8dd49
Merge: 23bfa78c2 36e05e5f3
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:54:04 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 23bfa78c2662d697018e7061ab9ad0b864fde0ef
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:53:50 2018 +0200
Undo
commit 36e05e5f30c35bd6b57af50fd337f2006df51b86
Merge: 2f6e1ef64 0afc74825
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:44:33 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 2f6e1ef64763a79ad2ed8baa2aed5a8f3136bafc
Author: shamardy <shamardy@yahoo.com>
Date: Sun Jun 24 04:44:22 2018 +0200
Another rpc test output with ("transactionHash":null)
commit 0afc74825828f724d68f3e444655b872a6c51ce0
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 07:18:45 2018 +0200
Another rpc test output with ("transactionHash":null)
commit 138fbac9f02841adfeaaf061c5dd9e647f725e12
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 06:30:41 2018 +0200
Edited some rpc tests output with ("transactionHash":null)
commit 8c129a63109c00f88ce36bad10699dc2f3237d95
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:48:39 2018 +0200
Update traces.rs
commit 52c17f6191740637c1d1589a420996dccefe16bb
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:47:29 2018 +0200
Update parity.rs
commit d39303aa8c2097ba9e2ed94c7ad2166bf1608d3f
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:46:25 2018 +0200
Update eth.rs
commit 49be84bf529c33dc47c8260435fd0d26e137c66d
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:40:56 2018 +0200
Update trace.rs
commit 4fc801377fb01ff11867f66b547a307c162d7a56
Merge: d34ba2351 544210439
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 05:12:21 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 54421043959e14a76f309fe87d3c7513a95999f8
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:04:51 2018 +0200
Update trace.rs
commit 2b2524a31119d741df4076e9d1b3ce8f0b17b479
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:01:47 2018 +0200
Update state_diff.rs
commit 2bf9982b8ce29ef69f116142eaeacf3049f7db49
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:00:50 2018 +0200
Update transaction.rs
commit da696ea192c0f89cceb38834f6efee280129048c
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 05:00:13 2018 +0200
Update mod.rs
commit cfc194ca0f44bfabec01a52897a322ea5a91930b
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 04:59:18 2018 +0200
Update pod_state.rs
commit 3b3156853535a666778e0ad0e902de79fb138f1d
Author: shamardy <39480341+shamardy@users.noreply.github.com>
Date: Thu Jun 14 04:57:37 2018 +0200
Update client.rs
commit d34ba235132c654da6c2ed6ff0dcf96fda0c45ee
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 04:53:50 2018 +0200
RPC Only
commit 8b5c4f19727549ee6f180a6effc228b2693509e9
Merge: 744491632 291b4a01b
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 02:55:14 2018 +0200
Merge branch 'Issue#8725' of https://github.com/shamardy/parity into Issue#8725
commit 74449163222e0ab75c704ac0ad424870e3c321d9
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 02:27:13 2018 +0200
Issue#8725
Transactions hashes missing in trace_replayBlockTransactions method result #8725
commit 291b4a01be6771acff8f5829c5406fa193665dbe
Author: shamardy <shamardy@yahoo.com>
Date: Thu Jun 14 01:18:18 2018 +0200
Edited to make changes to RPC types only
To make a transactions hash trace with "trace_replayBlockTransactions" add "transactionHash" to parameters
commit 9d082bece73beb8ebddfda51fa5ec279f30b7bea
Author: shamardy <shamardy@yahoo.com>
Date: Wed Jun 13 09:15:56 2018 +0200
Issue#8725
Transactions hashes missing in trace_replayBlockTransactions method result #8725
* update
* Removed unwrap_or
* Update
* test_client update
2018-07-10 15:38:13 +01:00
Niklas Adolfsson
98b7c07171
Update license header
and scripts
( #8666 )
...
* Update `add_license` script
* run script
* add `remove duplicate lines script` and run it
* Revert changes `English spaces`
* strip whitespaces
* Revert `GPL` in files with `apache/mit license`
* don't append `gpl license` in files with other lic
* Don't append `gpl header` in files with other lic.
* re-ran script
* include c and cpp files too
* remove duplicate header
* rebase nit
2018-06-04 10:19:50 +02: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
Arkadiy Paronyan
60bb2d9c74
Set zero nonce and gasprice for calls by default ( #6954 )
2017-11-02 12:50:08 +01:00
Gav Wood
50495c6898
Merge branch 'master' into Fix-4858
2017-08-29 15:11:05 +02:00
Tomasz Drwięga
5ff771b125
Cap gas limit for dapp-originating requests.
2017-08-15 10:38:49 +02:00
Tomasz Drwięga
f157461ee1
Multi-call RPC ( #6195 )
...
* Removing duplicated pending state accessors in miner.
* Merge miner+client call.
* Multicall & multicall RPC.
* Sensible defaults.
* Fix tests.
2017-08-04 15:58:14 +02:00
Anton Gavrilov
01ea968d4f
Merge with master
2017-08-02 17:24:34 +02:00
Nikolay Volf
b7006034b1
Decouple virtual machines ( #6184 )
...
* work in progress for splitting vms
* evm working
* Evm -> Vm
* wasm converted
* ethcore working
* test fixes
2017-08-01 13:37:57 +03:00
Anton Gavrilov
1a3f3ffdbf
Transaction ids made optional in order to reflect not transactional traces
2017-07-31 13:42:40 +02:00
Robert Habermeier
d365281cce
Ethcore crate split part 1 ( #6041 )
...
* split out types into separate crate
* split out evm into its own crate
2017-07-12 13:09:17 +02:00
Tomasz Drwięga
7e87e9e8ad
Updating JSON-RPC crates ( #4934 )
...
* New version of jsonrpc.
* Better invalid encoding messages
* Fixing deprecated methods of tokio_core
* Using dedicated branch for jsonrpc
* Bump
2017-03-22 07:02:14 +01:00
Tomasz Drwięga
2dca24cc28
Traces error handling ( #4849 )
2017-03-14 13:04:32 +01:00
Gav Wood
8404edb656
Fix whitespace ( #4299 )
...
* Fix whitespace.
* Update copyright years/owner.
* Push release only for tags.
2017-01-25 18:51:41 +01:00
Gav Wood
311730ea95
Improvements and optimisations to estimate_gas ( #4142 )
...
* Return 0 instead of error with out of gas on estimate_gas
* Fix stuff up.
* Another estimate gas fix.
* Alter balance to maximum possible rather than GP=0.
* Only increase to amount strictly necessary.
* Improvements and optimisations to estimate_gas.
- Introduce proper error type
- Avoid building costly traces
* Fix tests.
* Actually fix testsActually fix tests
2017-01-12 11:06:12 +01:00
Tomasz Drwięga
41da1a0a79
New jsonrpc-core with futures and metadata support ( #3859 )
...
* Bumping serde & serde_json
* Super-initial usage of new jsonrpc
* Single event loop for jsonrpc
* Metadata
* Supporting metadata extraction for eth_accounts
* Fixing Cargo.lock
* Removing uneccessary clones
* Fixing unused import
* Unused import
* Fixing test
2017-01-11 20:02:27 +01:00
Tomasz Drwięga
6e51b23e30
Adding traces tests
2016-12-14 20:07:33 +01:00