Skip to content

Commit c3c6a5e

Browse files
committed
Replace more instances of etc-client with mantis
1 parent e592ebb commit c3c6a5e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/it/scala/io/iohk/ethereum/txExecTest/util/DumpChainApp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ object DumpChainApp extends App with NodeKeyBuilder with SecureRandomBuilder wit
5252
override val updateNodesInterval: FiniteDuration = 20.seconds
5353
}
5454

55-
val actorSystem = ActorSystem("etc-client_system")
55+
val actorSystem = ActorSystem("mantis_system")
5656
trait PruningConfig extends PruningModeComponent {
5757
override val pruningMode: PruningMode = ArchivePruning
5858
}

src/test/scala/io/iohk/ethereum/mining/BlockGeneratorSpec.scala

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
3232
val result: Either[BlockPreparationError, PendingBlock] = blockGenerator.generateBlockForMining(1, Nil, Nil, Address(testAddress))
3333
result shouldBe a[Right[_, Block]]
3434

35-
//mined with etc-client + ethminer
35+
//mined with mantis + ethminer
3636
val minedNonce = ByteString(Hex.decode("ce1b500070aeec4f"))
3737
val minedMixHash = ByteString(Hex.decode("40d9bd2064406d7f22390766d6fe5eccd2a67aa89bf218e99df35b2dbb425fb1"))
3838
val miningTimestamp = 1494604913
@@ -47,7 +47,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
4747
val result: Either[BlockPreparationError, PendingBlock] = blockGenerator.generateBlockForMining(1, Seq(signedTransaction), Nil, Address(testAddress))
4848
result shouldBe a[Right[_, Block]]
4949

50-
//mined with etc-client + ethminer
50+
//mined with mantis + ethminer
5151
val minedNonce = ByteString(Hex.decode("5e8d5c12cea7e0c7"))
5252
val minedMixHash = ByteString(Hex.decode("9247b81258f97159f987a5f4f9e94df1d95e10eeabff2836020eafb27a8228b0"))
5353
val miningTimestamp = 1494604913
@@ -63,7 +63,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
6363
blockGenerator.generateBlockForMining(1, Seq(signedTransaction, duplicatedSignedTransaction), Nil, Address(testAddress))
6464
result shouldBe a[Right[_, Block]]
6565

66-
//mined with etc-client + ethminer
66+
//mined with mantis + ethminer
6767
val minedNonce = ByteString(Hex.decode("5e8d5c12cea7e0c7"))
6868
val minedMixHash = ByteString(Hex.decode("9247b81258f97159f987a5f4f9e94df1d95e10eeabff2836020eafb27a8228b0"))
6969
val miningTimestamp = 1494604913
@@ -86,7 +86,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
8686
blockGenerator.generateBlockForMining(1, Seq(txWitGasTooBigGasLimit, signedTransaction, duplicatedSignedTransaction), Nil, Address(testAddress))
8787
result shouldBe a[Right[_, Block]]
8888

89-
//mined with etc-client + ethminer
89+
//mined with mantis + ethminer
9090
val minedNonce = ByteString(Hex.decode("5e8d5c12cea7e0c7"))
9191
val minedMixHash = ByteString(Hex.decode("9247b81258f97159f987a5f4f9e94df1d95e10eeabff2836020eafb27a8228b0"))
9292
val miningTimestamp = 1494604913
@@ -124,7 +124,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
124124
blockGenerator.generateBlockForMining(1, Seq(generalTx, specificTx), Nil, Address(testAddress))
125125
result shouldBe a[Right[_, Block]]
126126

127-
//mined with etc-client + ethminer
127+
//mined with mantis + ethminer
128128
val minedNonce = ByteString(Hex.decode("48381cb0cd40936a"))
129129
val minedMixHash = ByteString(Hex.decode("dacd96cf5dbc662fa113c73319fcdc7d6e7053571432345b936fd221c1e18d42"))
130130
val miningTimestamp = 1499952002
@@ -143,7 +143,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
143143
blockGenerator.generateBlockForMining(1, Seq(generalTx, signedTransaction), Nil, Address(testAddress))
144144
result shouldBe a[Right[_, Block]]
145145

146-
//mined with etc-client + ethminer
146+
//mined with mantis + ethminer
147147
val minedNonce = ByteString(Hex.decode("39bd50fcbde30b18"))
148148
val minedMixHash = ByteString(Hex.decode("c77dae7cef6c685896ed6b8026466a2e6338b8bc5f182e2dd7a64cf7da9c7d1b"))
149149
val miningTimestamp = 1499951223
@@ -162,7 +162,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
162162
blockGenerator.generateBlockForMining(1, Seq(nextTransaction, signedTransaction), Nil, Address(testAddress))
163163
result shouldBe a[Right[_, Block]]
164164

165-
//mined with etc-client + ethminer
165+
//mined with mantis + ethminer
166166
val minedNonce = ByteString(Hex.decode("8f88ec20f1be482f"))
167167
val minedMixHash = ByteString(Hex.decode("247a206abc088487edc1697fcaceb33ad87b55666e438129b7048bb08c8ed88f"))
168168
val miningTimestamp = 1499721182
@@ -194,7 +194,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
194194
Nil, Address(testAddress))
195195
result shouldBe a[Right[_, Block]]
196196

197-
//mined with etc-client + ethminer
197+
//mined with mantis + ethminer
198198
val minedNonce = ByteString(Hex.decode("8f88ec20f1be482f"))
199199
val minedMixHash = ByteString(Hex.decode("247a206abc088487edc1697fcaceb33ad87b55666e438129b7048bb08c8ed88f"))
200200
val miningTimestamp = 1499721182
@@ -216,7 +216,7 @@ class BlockGeneratorSpec extends FlatSpec with Matchers with PropertyChecks with
216216
blockGenerator.generateBlockForMining(1, Seq(txWitSameNonceButLowerGasPrice, signedTransaction), Nil, Address(testAddress))
217217
result shouldBe a[Right[_, Block]]
218218

219-
//mined with etc-client + ethminer
219+
//mined with mantis + ethminer
220220
val minedNonce = ByteString(Hex.decode("5e8d5c12cea7e0c7"))
221221
val minedMixHash = ByteString(Hex.decode("9247b81258f97159f987a5f4f9e94df1d95e10eeabff2836020eafb27a8228b0"))
222222
val miningTimestamp = 1494604913

src/test/scala/io/iohk/ethereum/network/p2p/MessageSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class MessageSpec extends FlatSpec with Matchers {
2626
Hex.decode("f858048a6574632d636c69656e74c6c5836574683f820d05b840a13f3f0555b5037827c743e40fce29139fcf8c3f2a8f12753872fe906a77ff70f6a7f517be995805ff39ab73af1d53dac1a6c9786eebc5935fc455ac8f41ba67")
2727
val hello = WireProtocol.Hello(
2828
p2pVersion = 4,
29-
clientId = "etc-client",
29+
clientId = "mantis",
3030
capabilities = Seq(WireProtocol.Capability("eth", Versions.PV63.toByte)),
3131
listenPort = 3333,
3232
nodeId = ByteString(Hex.decode("a13f3f0555b5037827c743e40fce29139fcf8c3f2a8f12753872fe906a77ff70f6a7f517be995805ff39ab73af1d53dac1a6c9786eebc5935fc455ac8f41ba67")))

0 commit comments

Comments
 (0)