Skip to content
This repository has been archived by the owner on Jan 29, 2019. It is now read-only.

Commit

Permalink
#108 Create API for search results preview. Refactoring of pump/dump
Browse files Browse the repository at this point in the history
  • Loading branch information
arturalbov committed Apr 19, 2018
1 parent acf67a6 commit 6e4851c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class EthereumBlockDeltaProcessorTest {
totalDifficulty = BigInteger("3468611771897182658973"), size = 23681,
unclesReward = BigDecimal("1.875"), blockReward = BigDecimal("3"),
txFees = BigDecimal("0.214262252548096035"), gasUsed = 5981414, gasLimit = 8000029,
timestamp = Instant.now(), logsBloom = "", transactionsRoot = "", stateRoot = "",
timestamp = Instant.ofEpochMilli(100000), logsBloom = "", transactionsRoot = "", stateRoot = "",
sha3Uncles = "0x8e087e9269dd7ba6cef2b2def746f07c06df35d9947480799ef38143301cc20e",
nonce = 1, receiptsRoot = "", extraData = "", uncles = emptyList()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class EthereumTxDeltaProcessorTest {
private val tx = EthereumTx(
hash = "0x64c95bb2b75068ae92c36c5e3888e61af5de4398dd6eab64013cc1f96fd2ccf3",
nonce = 0, blockHash = "0x97bda148dc1c0181bfca62d0af4443e736a65c8b2909062abd8c8c6aa9e62d85",
blockNumber = 4959189, blockTime = Instant.now(), positionInBlock = 1,
blockNumber = 4959189, blockTime = Instant.ofEpochMilli(100000), positionInBlock = 1,
from = "0x4585c7eaa2cb96d4b59e868929efabeeb8e65b07", to = "0x39a629145280fd28b74b878e44d6fed7bd4dffe5",
value = BigDecimal("0.8"), gasPrice = BigDecimal("0.000000023"), gasLimit = 21000L,
gasUsed = 21000L, fee = BigDecimal("0.000483"), input = "", createdSmartContract = null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class EthereumUncleDeltaProcessorTest {

private val uncle = EthereumUncle(
hash = "0xebeec27b1dc1f01bd6502a2c4ea62d58041d1f6fa6a5d1e18ec552dfd17558c3", position = 0,
number = 5386263, timestamp = Instant.now(), blockNumber = 5386266, blockTime = Instant.now(),
number = 5386263, timestamp = Instant.ofEpochMilli(100000), blockNumber = 5386266, blockTime = Instant.ofEpochMilli(100000),
blockHash = "0xa27c04a1f42b2e5264e5cfb0cd1ca6fb84c360cbef63ea1b171906b1018e16dd",
miner = "0xea674fdde714fd979de3edf0f56aa9716b898ec8", uncleReward = BigDecimal("1.875")
)
Expand Down

0 comments on commit 6e4851c

Please sign in to comment.