Danno Ferrin
ec5dc85403
[PAN-2950] Use java.time.Clock instead of System.currentTimeMillis() ( #1747 )
...
To allow us to reset the timestamp in the blockchain for Retesteth support
we need to pass a Clock to affected APIs and use that instead of the static method
System.currentTimeMillis(). The most consistent way to do this that will ensure
that the API does not sneak back in is to ban the method via ErrorProne.
TestClock.fixed() was altered to return the "now" time of the first time the fixed clock was requested, needed for many header validation tasks validating headers are not from the future.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
6185129dc7
Added note about private transaction nonce ( #1740 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Lucas Saldanha
d215ff5acf
PIE-1792: Added chainId validation to PrivateTransactionValidator ( #1741 )
...
* PIE-1792: Added chainId validation to PrivateTransactionValidator
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Adrian Sutton
46eb7ef590
Reduce number of builds retained for master ( #1751 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
414c0554a6
update vertx to 2.8.0 ( #1748 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Lucas Saldanha
8a9a062bdd
Added static nodes acceptance test ( #1745 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
6c8fb7ad38
Add web3.js-eea reference doc ( #1617 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Adrian Sutton
3710cd6ed2
Report 0 hashrate when the mining coordinator doesn't support mining ( #1744 )
...
Fixes compatibility with ethstats.net reporting for PoA networks (specifically Görli).
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
4dd7a9f451
[PAN-2966] - Implement EIP-2200 - Net Gas Metering Revised ( #1743 )
...
Note that EIP-1706 was already implemented elsewhere and this is
just the gas calculation updates.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
49243ab445
[PAN-2756] EIP-2028 - Reduce intrinsic gas cost ( #1739 )
...
Reduce the non-zero byte of intrinsic gas cost from 68 to 16.
Keep all other values the same.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
4a3d74a29f
[refactor] de-duplicate Test blocks data files ( #1737 )
...
Refactor test blocks to be stored once, in one location.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
a5745b8d0e
[PAN-2935] Add nonce handling to GenesisState ( #1728 )
...
Retesteh has some genesis file that specify a nonce in the relevant accounts.
Add support to the GenesisState class to pre-set nonces.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
1278bde762
Added eea_getTransactionCount ( #1722 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
de3b712567
Added permissioning webinar ( #1717 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
ea713cfff8
Added overview of methods for private transactions ( #1731 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
921ea7d110
Added CPU requirements ( #1734 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
021dcac73f
Added create, delete, and find privacy group endpoints ( #1721 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
70e7536062
Reorganised privacy section ( #1732 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Usman Saleem
9749167b34
[PAN-2724] - Permissioning Acceptance Test - Local & OnChain Nodes ( #1735 )
...
Added scenarios for nodes whitelisted on local config only, On-Chain only and whitelisted on both
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
41ceae791d
Added references to eea_sendTransaction ( #1730 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
672678c06b
Added milestone ( #1724 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
3fb3e403bd
Added Ansible ( #1733 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Karim T
31e4bdab79
Fix get signerMetrics when there are fewer blocks in the network than the default range ( #1725 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
930a24e974
[PAN-1746] add 100-continue to RPC ( #1727 )
...
Retesteth waits a second for a 100 Continue when setting chain params. This
significantly slows down the test run. Vertx can do it for us automatically.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Karim T
c87435c0de
[PAN-2763] Add JSON-RPC API to report validator block production information ( #1687 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
d9b9ea9204
fixed cli error ( #1718 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Usman Saleem
5eedd7c785
[PAN-2725] Accounts Permissioning Acceptance Tests - OnChain+Local Config ( #1719 )
...
Added acceptance to cover following scenarios
- Account on OnChain but not on local whitelist should not be able to send transaction
- Account on local but not on OnChain whitelist should not be able to send transaction
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
mbaxter
e3df668949
[PAN-2917] Rework "in-sync" checks ( #1720 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Lucas Saldanha
b783957d45
PIE-1781: Enforce nonce validation on PrivateTransactionProcessor ( #1713 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
PegaSys Admin
aedce5261c
[Gradle Release Plugin] - new version commit: '1.2.1-SNAPSHOT'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
PegaSys Admin
d7d254aa4d
[Gradle Release Plugin] - pre tag commit: '1.2.0-RC1'.
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
d78dd6539d
Updated changelog for 1.2 RC ( #1714 )
...
* WIP
* RC changes
* Added doc update
* Added change
* Added change
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Puneetha Karamsetty
c32e018f01
Update Orion version ( #1716 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
6a20e04a3f
Added remote connection limit options ( #1694 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
mbaxter
e5a18c70cb
Rename CLI flag for better ordering of options ( #1715 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
mbaxter
bbdfe3257d
[PIE-1784] Select the pivot block from a minimal peer set ( #1710 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
e1ef09a1b7
Added UPnP content ( #1689 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Josh Richardson
83f97f6e8d
Removes FindPrivacyGroupResponse in favour of PrivacyGroup ( #1709 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Chris Mckay
6717c7c5dd
Routine dependency updates ( #1712 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Adrian Sutton
064ad3a4d4
Fix spelling error in MetricCategory.getApplicationPrefix method name ( #1711 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
mbaxter
3d0b099a53
Wait and retry if best peer's chain is too short for fast sync ( #1708 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Puneetha Karamsetty
33cd1834a9
[PAN-2891] Change eea_getPrivateTransaction endpoint to accept hex ( #1666 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
29d0421302
Added revert reason ( #1700 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
MadelineMurray
02419d1310
Updated for new Docker image ( #1693 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Ivaylo Kirilov
26c7e05948
[PAN-2910] Eea get private transaction fix ( #1707 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Usman Saleem
405405e4e6
[PAN-2844] Report unknown options from config file ( #1703 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
58f54dec1f
[PAN-2905] EIP-1706 - Disable SSTORE with gasleft lt call stipend ( #1706 )
...
Add minimum remaining gas check to exceptional halt reasons. Configure it
to zero pre-istanbul and 2300 for istanbul.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
c4f327ad04
[PAN-2904] EIP-1108 - Reprice alt_bn128 ( #1704 )
...
Add configurability to how the ECADD, ECMUL, and Pairing check precompiled
contracts calculate their gas price, and expose static methods for byzantium
and istanbul era prices.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Ratan Rai Sur
5000dbf789
change getChildren return type ( #1674 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago
Danno Ferrin
3c9e54bdab
[PAN-2903] Implement EIP-1344 ChainID Opcode ( #1690 )
...
Add the ChainID Opcode
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
5 years ago