Commit Graph

37 Commits

Author SHA1 Message Date
Gav Wood
6f5d383834 Storage should kill zero entries. 2016-01-14 22:45:50 +01:00
Gav Wood
478cebf42f Cleanup old code. 2016-01-14 22:41:39 +01:00
Gav Wood
c4d2df4872 Refactored Pod & Diff types into separate files. 2016-01-14 16:46:32 +01:00
Gav Wood
1b1038fe06 Fix storage stuff and introduce per-item dirty-tracking. 2016-01-14 13:54:29 +01:00
Gav Wood
507678aaa9 Check logs in state tests. 2016-01-14 12:27:35 +01:00
Gav Wood
59e2df3e40 Fix Determination of state roots. 2016-01-14 02:09:43 +01:00
Gav Wood
37a3c8d259 Prettier diffing. 2016-01-14 01:29:05 +01:00
Gav Wood
40341e8852 Pretty-print and fix for state. 2016-01-14 00:27:36 +01:00
Gav Wood
f835990091 Tier step price. 2016-01-13 23:53:00 +01:00
Gav Wood
08824e3ece Move macros to util. 2016-01-13 23:07:01 +01:00
Gav Wood
78b10fd5f2 More nice syntax. 2016-01-13 22:45:46 +01:00
Gav Wood
a3f066a35c Refactor Diff datastructures. 2016-01-13 22:35:21 +01:00
Gav Wood
311aa5c442 State diffing. 2016-01-13 18:37:09 +01:00
Gav Wood
5ba76d767e Account diffing. 2016-01-13 15:54:17 +01:00
Gav Wood
28341fef9f Introduce ordered mapping for PodAccount and related structures. 2016-01-13 12:14:11 +01:00
Gav Wood
9d2ac7fc37 State testing framework. First test is failing. 2016-01-13 01:19:05 +01:00
Gav Wood
2b022e11e1 State::new_contract. 2016-01-09 14:19:35 +01:00
Gav Wood
4fc6b0dc60 Introduce use common::*; for common stuff (modules that themselves require no other modules in this crate).
Fix build.
2016-01-09 12:30:41 +01:00
Gav Wood
c7167068b8 Removed need for mutation in State. 2015-12-19 21:15:22 +00:00
Gav Wood
b922f8ddec State::code and State::storage_at + tests. 2015-12-19 18:00:19 +00:00
Gav Wood
20d4da78bc Merge remote-tracking branch 'origin/master' into broken 2015-12-19 14:06:00 +00:00
Arkadiy Paronyan
18850c3197 Merge pull request #44 from gavofyork/state
State functions for balance and nonce operations
2015-12-19 14:21:22 +01:00
Gav Wood
ffd10d3373 Broken build 2015-12-17 21:12:35 +01:00
Gav Wood
58d8f13913 TrieDBMut rather than TrieDB in preparation for immutable Trie type. 2015-12-17 12:43:01 +01:00
Gav Wood
8687d0d097 Slightly better mutation semantics. 2015-12-17 12:32:35 +01:00
Gav Wood
8edd95e8cb Test and fixes for State's require function. 2015-12-16 20:02:28 +01:00
Gav Wood
5443563903 State functions for balance and nonce operations. 2015-12-16 18:20:23 +01:00
Marek Kotewicz
efdb178487 Merge pull request #43 from gavofyork/state
Account::storage_at, Account::ensure_cached and tests.
2015-12-16 17:15:52 +01:00
Gav Wood
249424997d Account::storage_at, Account::ensure_cached and tests. 2015-12-16 12:46:25 +01:00
Marek Kotewicz
9ec38dd8ab Merge pull request #42 from gavofyork/state
Additional tests.
2015-12-15 16:22:35 +01:00
Gav Wood
7fb17a39ce Additional tests for Account set_storage and set_code. 2015-12-15 13:17:59 +01:00
Gav Wood
17435099f1 Additional tests. 2015-12-15 13:09:50 +01:00
debris
7e9ce8f51c rlp array && added missing rustc crate 2015-12-14 12:09:32 +01:00
Gav Wood
8d6a8973a6 More methods in Account, documentation and tests. 2015-12-14 11:32:12 +01:00
Gav Wood
6e6d00178e Minor reworking of Account. 2015-12-13 23:12:22 +01:00
Gav Wood
51e7dd705f Cleanups. 2015-12-13 21:49:40 +01:00
Gav Wood
53f4b226b9 Add Account and State classes. 2015-12-13 21:36:17 +01:00