Commit Graph

1053 Commits

Author SHA1 Message Date
andri lim ad1202f98a initial make_receipt 2018-12-16 15:38:51 +02:00
Ștefan Talpalaru f8d3d0e721
Merge branch 'tracing' 2018-12-12 11:49:30 +01:00
Ștefan Talpalaru f91e69f7c7
more VM tracing
The existing vmState tracing is plugged into chronicles, at the TRACE
level, to facilitate state test debugging.

Some useful chronicles defines are added to "tests/nim.cfg" to simplify
the compile-and-run command for individual tests.
2018-12-12 11:47:10 +01:00
Bruno Škvorc 7ae5f6f8eb
Merge pull request #191 from status-im/Swader-add-job-appveyor-badges
Add separate badges for appveyor jobs
2018-12-12 00:57:35 +01:00
Ștefan Talpalaru d633bb9ebf
Merge branch 'generalstate' 2018-12-07 18:37:12 +01:00
Ștefan Talpalaru 115843487c
general-state testsuite changes and better fork selection
- skipped the tests in allowedFailInCurrentBuild()
- replaced doAssert() with check() in testFixtureIndexes() so we can see
  both hash values on failure
- checking filename extension for JSON tests to avoid editor swap files
- replaced the duplicated block values in the main net's ChainConfig
  with values from forkBlocks
- allowed overriding the current fork in computations, because the old
  strategy of only looking at the block number doesn't work with JSON tests
  where the block number is usually 1
- explicitly pass the fork to gasCosts() and use it for conditional cost
  calculation
- fixed a logic error in the CREATE opcode
- fixed VM selection based on current fork in updateOpcodeExec()
- single point of control for supported forks in tests (just one fork, at the
  moment)
- 44 new test failures (that were probably passing for the wrong reasons)
2018-12-07 18:18:29 +01:00
coffeepots 8f0a78e52f
Merge pull request #192 from status-im/logging
logging changes
2018-12-07 10:53:37 +00:00
Ștefan Talpalaru 03ec65487d
logging changes
- port some "echo" logging to "chronicles"
- change the logging level of messages that should not appear by default
  to TRACE instead of DEBUG
- remove the "nimbusTrace" define
- suppress logging for messages below the ERROR level in "nimble test"
2018-12-07 00:45:52 +01:00
Bruno Škvorc 3d21157a70
Add separate badges for appveyor jobs
Appveyor does not support badges per job yet, so this is a workaround. Badges much less customizable and using 3 proxy services, but it's a solution unless we want to roll our own server with little things like these. Had to list the windows jobs because the badges look the same, and pure text with no list doesn't look so good. Ideas for improving visuals?
2018-12-06 15:39:24 +01:00
coffeepots 86853ea97c
Merge pull request #187 from status-im/modexp-fixes
Modexp fixes
2018-12-06 10:10:59 +00:00
coffeepots 51df75a296 Add WhisperFilterOptions 2018-12-05 19:11:17 +02:00
coffeepots ef172a857a Update new filter signature 2018-12-05 19:11:17 +02:00
coffeepots ce3c8eaf05 Update whisper types to be optional 2018-12-05 19:11:17 +02:00
coffeepots 2ece661b24
Merge pull request #186 from jangko/add_prune_cli
add prune cli switch and implement transaction tracer
2018-12-05 15:16:10 +00:00
andri lim 4563049f89 Merge branch 'add_prune_cli' of https://github.com/jangko/nimbus into add_prune_cli 2018-12-05 22:03:20 +07:00
andri lim b29f5b1321 put traceTransaction into action 2018-12-05 22:01:29 +07:00
andri lim fe5ddf757b fix trace returnValue 2018-12-05 22:01:29 +07:00
andri lim 572de41507 tracing opcode return value 2018-12-05 22:01:29 +07:00
andri lim 7a3ddfec87 correcting account storage retrieval 2018-12-05 22:01:29 +07:00
andri lim c954dc7d62 fix tests 2018-12-05 22:01:29 +07:00
andri lim 0b7b577af6 add more options to debug_traceTransaction 2018-12-05 22:01:29 +07:00
andri lim 8d42ad997e reorder captureDB in traceTransaction 2018-12-05 22:01:29 +07:00
andri lim 2552d6452a fix traceTransaction 2018-12-05 22:01:29 +07:00
andri lim 5509c66cce implement transaction tracer 2018-12-05 22:01:28 +07:00
andri lim a098285a7b put prune switch into usage 2018-12-05 21:58:34 +07:00
andri lim 4885445735 add prune cli switch 2018-12-05 21:58:34 +07:00
mratsim 4d07d99f66 Add precompiles to all tests to prevent regressions 2018-12-04 16:32:11 +01:00
mratsim 24bcb3b2d8 remove log2 spurious comment 2018-12-04 15:56:18 +01:00
mratsim f50bb57eb6 Reactivate the precompiles test + consume gas 2018-12-04 15:52:59 +01:00
mratsim 29f8a8a066 modExp fixed! 2018-12-04 15:46:33 +01:00
mratsim 6d93bdffea modExp, support up to uint4096 2018-12-04 14:39:10 +01:00
mratsim 949c5a1dc6 Modexp fix example 1 (returned to early for ints of length 1) 2018-12-04 12:49:48 +01:00
andri lim 157415fb44 put traceTransaction into action 2018-12-04 18:42:55 +07:00
andri lim 3570dd60ad fix trace returnValue 2018-12-04 17:56:16 +07:00
andri lim 0140ff5d5a tracing opcode return value 2018-12-04 15:53:03 +07:00
andri lim 186ffe2288 correcting account storage retrieval 2018-12-04 15:13:35 +07:00
andri lim a532b3f7ce fix tests 2018-12-04 09:06:53 +07:00
andri lim 581ec4b8f7 add more options to debug_traceTransaction 2018-12-04 09:01:56 +07:00
andri lim 7ed20542cd reorder captureDB in traceTransaction 2018-12-04 08:53:21 +07:00
andri lim a3b43ecdb4 fix traceTransaction 2018-12-03 23:22:08 +07:00
andri lim 535ed67de7 resolve conflicts 2018-12-03 17:59:32 +07:00
andri lim 1ff02f433b implement transaction tracer 2018-12-03 17:54:19 +07:00
coffeepots 2521ff1950
Merge pull request #184 from status-im/update-rpcutils
Update rpcutils
2018-11-30 11:17:13 +00:00
andri lim 0729c070bf put prune switch into usage 2018-11-30 17:07:20 +07:00
andri lim 87541b8cb7 add prune cli switch 2018-11-30 10:03:30 +07:00
coffeepots 9b53f8cda4 Updated traceTransaction to accept a hash 2018-11-29 17:09:59 +00:00
coffeepots 8d4c00cd3f Removed utils from p2p and updated names in rpc_utils 2018-11-29 17:08:13 +00:00
coffeepots a5aad977dd Merge remote-tracking branch 'origin/rpc_eth_call' 2018-11-29 16:15:52 +00:00
andri lim f6d9308208 add TODO comment and trigger ci rebuild 2018-11-29 12:12:25 +02:00
andri lim af84be0eea keep in sync with eth_common#23 2018-11-29 12:12:25 +02:00