Danno Ferrin
9a28ea99e2
Don't use sun.security.krb5.Confounder.bytes. ( #230 )
...
* Don't rely on sun.security.krb5.Confounder.bytes.
It's not reflected as part of the JDK platform and makes IDEs cranky.
* Use a better SecureRandom factory.
* spotless
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Nicolas MASSART
33dc139a8b
Fix NC-1848 by removing the unused Dockerfile ( #214 )
...
Since docker image is now provided in the Jenkins build process repos, this
image is not used anymore and may confuse users as it doesn't behaves the same
way as the one we published on Docker Hub
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Matt Gucci
cdcde8fc33
Remove duplicates of DEFAULT_JSON_RPC_APIS ( #218 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
e965d8e945
remove the import-blockchain command. ( #223 )
...
* remove the import-blockchain command. Right now it's not useful
enough to support. Maybe it will return in the future.
* Remove the import-blockchain command.
Also remove BlockchainImporter that was backing the command.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
4fac9513c2
ECRec precompile should return empty instead of 0 when the input is invalid. ( #227 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
206e48f6ae
NC-1378: Adding error handling to http requests on websocket endpoint ( #213 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Nicolas MASSART
178da946ff
[NC-1851] fix ws endpoint protocol ( #216 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
0f364d4285
Add wrapper classes for config section of genesis file ( #208 )
...
* Introduce classes to wrap JSON config instead of accessing it directly in multiple places.
* Fix discrepancy in how CliqueProtocolSchedule and CliquePantheonController loaded the block period configuration.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
338879d9a8
Improve error message when genesis file does not match. ( #225 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
8ca2196930
NC-1815 Rinkeby import can stall with too many fragments ( #224 )
...
Quick fix - up the retry limit to 20, the observed chunking size at the point of failure.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
0f9b44cee6
[MINOR] Shorten reference test filenames ( #221 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Danno Ferrin
770ce91779
Replace custom Clock with java.time.Clock ( #220 )
...
We create our own instance of Clock. However the java.time.Clock
provides what is needed and already exists on the platform.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Lucas Saldanha
5436710877
Implementing eth_chainId ( fixes #206 ) ( #219 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
7c934cb75f
Fixed typo ( #210 )
...
* Fixed typo
* Spotless changes
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
dd3dd9ce4a
Added gitter badge ( #212 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
6a465c898b
Acceptance test - refactor JsonRpc to use conditionals ( #204 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
782606cab0
Decouple DefaultMutableBlockchain from KeyValueStorage ( #211 )
...
* Introduce createInMemoryBlockchain test utility and use it everywhere appropriate.
* Inject BlockchainStorage into DefaultMutableBlockchain.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
4561af49d0
Minor/javadoc warnings as errors ( #171 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
3b57c8913e
Use local nexus mirror when running on jenkins
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
8b883a15d3
Make KeyValueStorage extend Closeable ( #207 )
...
Replace explicit usages of RocksDbKeyValueStorage with the more generic but now just as capable KeyValueStorage.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ab77bce927
Add benchmark for BlockHashOperation ( #203 )
...
Includes a reusable OperationBenchmarkHelper to make writing EVM opcode benchmarks easier in future.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
8fa45725f2
Acceptance test refactoring - DSL - Node interface ( #170 )
...
* Conditions to remove the getters from Node interface
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
cb93cbdfd9
Add --ropsten command line argument ( #197 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
ba4b66a055
Create unit tests for EthBlockNumber ( #195 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
ff6e4b9356
Fix --rinkeby command description ( #198 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
8f3080267e
Improve variable name in EthGetBlockByHashTest ( #196 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Jussi Virtanen
17af66d593
Create unit tests for Web3ClientVersion ( #194 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
0cf8f2e5b8
[NC-1561] Remove RLPUtils from RawBlockIterator ( #179 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Eric Kellstrand
7394ad7c05
Cleaned up outstanding TODOs in documentation ( #192 )
...
- Created CLA.md
- Updated Gitter URLs
- Updated Role definitions
- deleted java-modules.md. If written, it belongs in the JavaDoc package.hmtl
- Removed broken index link to Documentation Style Guide
- Fixed broken link to PR labels
- Converted issue templates to comment out each line individually
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Eric Kellstrand
0ce5817857
Clean up issue template ( #183 )
...
* Cleaned up the github Issue Template
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
dc2fc72851
[NC-1812] Fix blockchainImport error ( #178 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
4c57a91801
[NC-1561] Remove RLPUtils from GetBlockHeadersMessage ( #180 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Eric Kellstrand
59de256b98
Renamed "Beginner" label back to "good first issue" per github default/best practice ( #176 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
14ead031d5
Add MiningCoordinator interface ( #168 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
4c47b101d0
PantheonInfo updated after first build ( #167 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
fcbf9433c3
[Gradle Release Plugin] - new version commit: '0.9.0-SNAPSHOT'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
291103a38c
[Gradle Release Plugin] - pre tag commit: '0.8.1'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
699aee4c73
Revert "[NC-1805] net_version should return the network ID not the chain ID ( #162 )" ( #166 )
...
MetaMask depends on net_version returning the chain ID, not the network ID.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
f8c620dbcb
[Manual Release] Updating version to 0.9.0-SNAPSHOT ( #165 )
...
* [Manual Release] Updating version nunber 0.9.0-SNAPSHOT
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
f326053df8
[Manual Release] Version number to 0.8.0 ( #164 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
40879b0f91
Mark scripts as executable ( #163 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
9a3e2dfb30
[NC-1805] net_version should return the network ID not the chain ID ( #162 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
4d79dba5a0
Added Reference to Wiki from Docker quickstart ( #158 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
939bcfaba7
Fix JavaDoc errors due to invalid HTML on JDK 11. ( #160 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
0c9dee764f
Fixed javadoc warnings ( #159 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
7e09bd9246
[NC-1802] added stop and resume for the quickstart ( #157 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
CJ Hare
94ca21e2da
Adding the docs html to the distribution ( #156 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Eric Kellstrand
d419f43044
[NC-1543] New User labels for public backlog ( #154 )
...
- Sync'd github lablels with CONTRIBUTING.md
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mbaxter
0de9a1a614
Simplify PR template ( #142 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
MadelineMurray
3b45510c72
Updated docs archive for 0.8.0 ( #150 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago