Commit Graph

1194 Commits

Author SHA1 Message Date
andri lim 04f28d9048 fixes vm state get block hash 2019-02-15 17:20:51 +02:00
andri lim 17188dfcb1 fixes memory write: no padding 2019-02-15 17:20:51 +02:00
andri lim fdc34a4cf6 fixes vmState construction 2019-02-15 17:20:51 +02:00
andri lim c53e7fa07c fixes #228 2019-02-15 17:20:51 +02:00
andri lim e38b1bf803 fixes generateChildComputation 2019-02-15 17:20:51 +02:00
andri lim 5701c8bacb fixes precompile contract: identity gascost 2019-02-15 17:20:51 +02:00
Zahary Karadjov 8b8302dd90
[Nix] Pin the Nimble build as well 2019-02-07 21:04:00 +01:00
Zahary Karadjov 68a3d2d6a5
[Nix] git is no longer used in the build scripts, so we can remove some of the required hacks 2019-02-07 20:13:32 +01:00
Zahary Karadjov 31b68ccf70
Pin the version of csources as well; Replace fetchGit with fetchTarball 2019-02-07 20:03:53 +01:00
andri lim a6ecdb22b4 premix report page: fix empty traces renderer 2019-02-07 11:25:54 +01:00
Zahary Karadjov 48cdc6da0b
make some 'beginTransaction' usages safer 2019-02-07 11:10:04 +01:00
andri lim b8ada41ce0 allow 'call0.json' to fail on 32 bit 2019-02-07 11:01:43 +01:00
andri lim c657f23d73 fixes persistBlockTestGen and update tests 2019-02-07 11:01:43 +01:00
andri lim 00087de2ce trade 7 failed GST with 107 OK GST 2019-02-07 11:01:43 +01:00
andri lim d8db3d74d0 fix NUMBER opcode regression 2019-02-07 11:01:43 +01:00
andri lim fdc9a15785 premix: fix dumper tool, dispose db changes 2019-02-07 11:01:43 +01:00
Zahary Karadjov 987c561b0c
Use a recent Nixpkgs release and fix the Nix build 2019-02-06 21:02:02 +01:00
Mamy Ratsimbazafy e1812eb7ce
Prepare for AD2 rebranding to chronos (#225)
* Prepare for AD2 rebranding to chronos - https://github.com/status-im/nim-asyncdispatch2/pull/20

* fix nimble path to chronos

* nim-eth and nim-chronos merged into nimble packages

* fix nimble package name
2019-02-06 19:03:36 +01:00
andri lim 4466deff37 fixes path in tests 2019-02-06 18:42:03 +01:00
andri lim 601350d8d0 premix: fixes debug tool, dispose db changes 2019-02-06 18:42:03 +01:00
andri lim 2f208c32e0 premix report page: fixes stack renderer 2019-02-06 18:42:03 +01:00
andri lim 9efef3829f fixes storage tracer 2019-02-06 18:42:03 +01:00
andri lim 67c38b0275 fixes NUMBER opcode 2019-02-06 18:42:03 +01:00
andri lim a28f06a825 fixes CALL opcode 2019-02-06 18:42:03 +01:00
andri lim 817bce3555 premix report page: modify header section to display block summary 2019-02-06 18:42:03 +01:00
andri lim f75faf54c3 premix report page: add accounts section 2019-02-06 18:42:03 +01:00
andri lim e3b6ffe5ba add precompiled contract names to premix report page to identify accounts 2019-02-06 18:42:03 +01:00
andri lim c71a842050 fix 'dumpBlockState' in tracer.nim 2019-02-06 18:42:03 +01:00
andri lim 7c6c7dbe3a 'accountExist' to 'accountExists' 2019-02-06 18:42:03 +01:00
andri lim 4cc0ef427c add ccountExist and isDeadAccount to AccountStateDB 2019-02-06 18:42:03 +01:00
Yuriy Glukhov 481c6cf4ed Use nim-eth (#224) 2019-02-05 20:15:50 +01:00
andri lim 2bc880d395 use 'newLitFixed' from std_shims, reduce LOC further 2019-01-31 20:16:47 +02:00
andri lim 99a5eefcce simplifies code, remove globals and double layer macro, employ macrocache 2019-01-31 20:16:47 +02:00
andri lim fff049abe8 fix path again 2019-01-31 20:16:47 +02:00
andri lim c92bc7c4e4 fix path when load test data 2019-01-31 20:16:47 +02:00
andri lim 58b5aa5f39 implement macro_assembler and opcodes test suite 2019-01-31 20:16:47 +02:00
Ștefan Talpalaru bf8e7a74b5
Merge pull request #221 from jangko/remove_tabs
remove tabs from js_tracer.nim
2019-01-28 15:08:49 +01:00
andri lim 33716888df
sign with GPG 2019-01-28 20:58:06 +07:00
andri lim c0484adfa0 remove tabs from js_tracer.nim 2019-01-28 20:17:20 +07:00
Ștefan Talpalaru 95829b1f3f reword the HTML help
and add a note about geth not switching to a full sync if it was run
with a fast sync at any time in the past in that same db
2019-01-28 12:38:23 +02:00
Ștefan Talpalaru f37352e127 readme subtitles for individual tools 2019-01-28 12:38:23 +02:00
Ștefan Talpalaru ede45648e7 Premix-related changes
- build all tools using the Makefile and place them in ./build
- add copyright header to Makefile
- premix/readme.md edited to fix some errors, improve descriptions and
  document Makefile usage
- link the Premix documentation in the main README.md
- also build `hunter` in the nimble tests
- refactored the file and directory search so all debugging tools can be run
  from the top-level dir like this: `./build/<tool> ...`
- write all JSON debugging data in the current directory
- add JSON files generated in the top-level dir to .gitignore
- Nimbus now exits with an exception after dumping debug data and
  running `premix` on it
2019-01-28 12:38:23 +02:00
Bruno Škvorc 85b979ec32 Missing r flag added to remove command (#219) 2019-01-24 14:34:26 +01:00
andri lim c3190f0c7a add db beginTransaction and dispose to hunter 2019-01-21 22:22:41 +02:00
Zahary Karadjov 3619090cb4 Fix a changed path 2019-01-21 20:17:29 +02:00
Ștefan Talpalaru 60d2867b2e disable Chronicles colors on Windows 2019-01-16 14:17:26 +02:00
andri lim 1c80c1c160 remove unnecessary debug code 2019-01-15 19:34:28 +02:00
andri lim 691dc5566f fix render missing field in premix report page 2019-01-15 19:34:28 +02:00
Zahary Karadjov c98e337090 remove the need for gcsafe overrides 2019-01-15 18:59:24 +02:00
Ștefan Talpalaru a431ceed11 add "--threads:on" to tests and main binary
- some "funcs" were no longer considered side-effect free, so I made
  them procs
- added {.base.} to some base methods to avoid a deprecation warning
2019-01-15 18:59:24 +02:00