Commit Graph

93 Commits

Author SHA1 Message Date
Arash
1f89bf86c8 Revert "Updated Copyright info in License file (#102)" (#104)
This reverts commit f20bd2716df97365111866d409d7c2030c1211f2.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 12:54:39 +11:00
Adrian Sutton
0321e517d0 Update general state reference test harness to ensure the coinbase account is deleted if it's empty and the transaction was invalid. (#106)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 11:41:04 +10:00
Michael Connor
ee78db1a86 NC-1244 Implement JSON-RPC method "eth_getWork" (#70)
* EthGetWork Added with Unit and acceptance tests

* EthGetWork Added with Unit and acceptance tests

* EthGetWork Added with Unit and acceptance tests

* EthGetWork Added with Unit and acceptance tests
Debugged

* EthGetWork Added with Unit and acceptance tests
Debugged
Change Requests Actioned

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 10:52:23 +10:00
Arash
9fc55db3fe Updated Copyright info in License file (#102)
* Update snapshot version number

Corrected snapshot version from 0.0.8 to 0.8.0

* Updated Copyright info

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 11:23:47 +11:00
tmohay
1ccdb1bb93 [MINOR] Re-repair clique extra data validation log msgs. (#94)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 10:31:13 +11:00
tmohay
dbb9f5397c Added utils to help make extraData strings (#87)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 09:51:14 +11:00
mark-terry
cb01231ac0 [NC-862] License headers applied to non-java files (#93)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-19 07:26:11 +10:00
mbaxter
8efe6be7c2 Enable passing tests (#99)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 16:57:21 -04:00
Danno Ferrin
03be001b2a Add --logging CLI option (#97)
[NC-1675] Ensure that default logging is appropriate

* Add CLI flag for logging

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 12:15:33 -06:00
S. Matthew English
cd7a4e3730 catch custom exception (#61)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 11:57:38 -04:00
mbaxter
02af4517ff [NC-1748] Clear contract storage on contract creation (#85)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 11:28:22 -04:00
Danno Ferrin
3cca2688ef [MINOR] Only Test errorprone-checks on JDK8 (#89)
* [MINOR] Only Test errorprone-checks on JDK8

The current version of errorprone causes errors when compiled with Java
11. The next version causes causes problems with Java 8.  So for now
keep the old version and only test when compiled with Java 8 (which
is the current Jenkins version). When the test is skipped an info log is sent.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 08:50:50 -06:00
Chris Mckay
6c2fd5d875 [nc-1756] jsonrpc enabling for clique and ibft (#91)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 16:23:21 +10:00
Roberto Saltini
4644fe0080 [NC-1582] Added ExtraData for iBFT 2.0 (#37)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 17:02:19 +11:00
Danno Ferrin
bc05f38a03 NC-1675 Ensure that default logging is appropriate (#88)
* Take peer status messages down from info to debug
* Take P2P messages down from debug to trace
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 23:06:14 -06:00
Sally MacFarlane
71bb9d5598 PR template reduce (#90)
* reduced the content

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 14:51:44 +10:00
tmohay
4dc3d5c40f Update error messages in clique header validation (#81)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 15:11:02 +11:00
Danno Ferrin
143c77854a [MINOR] correct version in gradle.properties (#75)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 20:17:45 -06:00
Arash
25766ad2f9 Update snapshot version number (#86)
Corrected snapshot version from 0.0.8 to 0.8.0
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 11:11:10 +11:00
Roberto Saltini
6507f0300e [NC-1508] Added iBFT 2.0 BlockTimerExpiry Event and realated timer management class (#58)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-18 10:27:52 +11:00
mbaxter
89e860f73a Remove RLPUtils from ProofOfWorkValidationRule (#83)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 11:17:45 -04:00
Adrian Sutton
3bd10e8cfd Enable more Constantinople reference tests that are now passing. (#82)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 10:07:34 -04:00
Nicolas MASSART
16d9f6188d [NC-887] release docker image (#71)
Provide a release grade Docker image

fix NC-887
use OpenJDK 8 slim docker image and integrated builder step
Replace the previous unused dockerfile with also some integrated documentation
Automatic building of the image and push to DockerHub will be done in a new Jenkins job

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 11:01:05 +02:00
Rob Dawson
6b2470274a Use consistent ports for quickstart (#62)
* specify the port for the ports command in the docker compose file so we get consistent ports to bind to.
* add options for fixed ports and skip build
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 17:51:16 +10:00
CJ Hare
b9f886a9bf Restructuring the DSL (#78)
* Restructuring the DSL
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 16:38:17 +10:00
Adrian Sutton
9a464a29b9 [NC-1752] Fix SSTORE original value (#79)
* [NC-1752] Delegate calls to getOriginalAccount all the way to the actual store. Ensures we get the actual original value even when updaters are nested due to nested calls.

* Upgrade ethereum reference tests to include the new sstore tests.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 16:12:52 +10:00
Chris Mckay
89da64f96c [MINOR] fix project name in readme (#80)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 13:50:22 +10:00
mark-terry
310bd4035c Nc 862 spotless license headers (#69)
* [NC-862] Added licenseHeader java rule to spotless.

* [NC-862] Spotless java headers applied.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 12:54:46 +10:00
Chris Mckay
ffa87e9459 [MINOR] build status icon from new build server (#77)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 12:35:34 +10:00
Adrian Sutton
962ca18056 [MINOR] Remove unused original value lookup. (#76)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 11:00:43 +10:00
Lucas Saldanha
b4330969c1 NC-1721: Filter timeout if not queried for 10 minutes (#66)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 11:51:45 +13:00
Adrian Sutton
3b5fcfb40a [NC-1747] CREATE2 should use the recipient address when calculating the new contract address (#72)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-17 06:48:50 +10:00
mbaxter
7e30513cce [NC-1558] Retry tasks a max number of times before failing (#74)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 16:21:04 -04:00
Eric Kellstrand
aeaa661603 [NC-1697] Fill in objectives.md (#73)
[NC-1698] Fill in design-principles.md
- Added Pantheon elevator pitch to README.
- Removed objectives.md as it is unnecessary for this sized project
- Removed design-principles.md as it is unnecessary for this sized project
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 14:14:24 -04:00
Adrian Sutton
ccc932b210 Enable constantinople tests and blacklist the ones that are currently failing (#65)
* Update to latest ethereum reference tests to pull and enable a bunch of Constantinople tests they fix.

* Blacklist test that consumes a huge amount of memory on Constantinople as well.

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 17:28:28 +10:00
Roberto Saltini
967a406252 [NC-1616] Added iBFT NewChainHeadHeader event and related blockchain observer (#59)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 17:07:32 +11:00
Lucas Saldanha
d0416e95f8 Removing evmtool gradle project (#67)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 17:30:59 +13:00
Lucas Saldanha
160b74b1d6 Removing evm from distribution packages (#64)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 14:38:35 +13:00
Roberto Saltini
7ac1bb73c2 Added ibft_discardValidatorVote JSON RPC method (#24)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 11:46:50 +11:00
Adrian Sutton
6cea0b58de [NC-1615] Report reference tests that have been blacklisted rather than skipping them silently (#63)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-16 08:32:50 +10:00
Nicolas MASSART
1d75edf11a [NC-1449] test docker quickstart (#41)
* Added docker quickstart test

- quickstart folder is now a module
- added junit tests that runs the bash scripts
- added new gradle task for testing quickstart scripts
- added jenkinsfile step for the gradle task
- switched the build image to one with docker in it
- split into nodes and docker env
- parallel jobs
- modified host usage in bash scripts to take the docker-in-docker architecture in account
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-15 18:40:38 +02:00
Danno Ferrin
43f92f7f20 [MINOR] Distribution tweaks (#60)
* [minor] distribution tweaks

* the 'pantheon:client' project is empty, and results in an empty jar, delete
* clique hard codes a version, delete so the parent takes effect
* clique does not describe it's jar, add description
* evmtools does not describe it's jar, add description.

results in
* clique-1.0.0-SNAPSHOT -> pantheon-clique-0.8.0-RC
* evmtools-0.8.0-SNAPSHOT -> pantheon-evmtools-0.8.0-RC
* client-0.8.0-SNAPSHOT -> *deleted*

* spotless formatting on the gradle file

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-15 10:03:44 -06:00
Adrian Sutton
681b17cce1 [NC-1615] Upgrade ethereum reference tests (#54)
* Upgrade ethereum reference tests

* Add support for sealEngine: NoProof by skipping PoW validation for ommer headers as well.  Production code continues to always use full validation for ommers.

* Add Constantinople to reference test schedules ready for when we enable Constantinople tests.

* Blacklist the new reference tests that are failing while we investigate them.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-15 18:53:53 +10:00
Lucas Saldanha
0b3991b4a0 NC-1564: Only subscription owner can unsubscribe (#43)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-15 06:50:51 +13:00
S. Matthew English
56b0a10942 parameterize BlockchainUtilTest (#57)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 19:56:09 -04:00
S. Matthew English
da4be65379 [MINOR] Revert "[MINOR] Parameterize BlockchainUtilTest " (#55)
* Revert "[MINOR] Parameterize BlockchainUtilTest  (#7)"

This reverts commit daad2995a781b6a2eee1f86f694bd7c5f4c7a873.

* Update PantheonInfo.java

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 18:54:30 -04:00
Adrian Sutton
7eb2659f86 Fix package names. (#56)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-13 08:23:56 +10:00
S. Matthew English
b7d6bdf791 [MINOR] Parameterize BlockchainUtilTest (#7)
* parameterize BlockchainUtilTest

* update javadoc for return

* update method descriptiuon

* randomize tests

* eliminate redundant comment, simplify addition of params

* eliminate unused parameter

* extract redundant code into own method

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 17:36:15 -04:00
Adrian Sutton
191583e898 [NC-1685] Improve tests for BlockHashOperation (#47)
* Introduce MessageFrameTestFixture to make it easier to test EVM operations.

* Add unit tests for BlockHashOperation.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-13 06:44:30 +10:00
mbaxter
716e890144 Increase test timeout (#44)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 13:04:18 -04:00