Skip to content

Commit

Permalink
Merge pull request #200 from virtualeconomy/feature/fermat_setting
Browse files Browse the repository at this point in the history
version and setting for Fermat testnet
  • Loading branch information
ncying authored May 8, 2020
2 parents 601b285 + 67c1f44 commit 1e22146
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ enablePlugins(sbtdocker.DockerPlugin, JavaServerAppPackaging, JDebPackaging, Sys

name := "vsys"
organization := "systems.v"
version := "0.2.2"
version := "0.3.0"
scalaVersion in ThisBuild := "2.12.6"
crossPaths := false
publishArtifact in (Compile, packageDoc) := false
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/vsys/settings/BlockchainSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ object FunctionalitySettings {
//TODO
//set the value
allowContractTransactionAfterHeight = 4236000,
allowDepositWithdrawContractAfterHeight = Int.MaxValue)
allowDepositWithdrawContractAfterHeight = 12550000)

val configPath = "vsys.blockchain.custom.functionality"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class BlockchainSettingsSpecification extends FlatSpec with Matchers {
settings.functionalitySettings.numOfSlots should be (60)
settings.functionalitySettings.mintingSpeed should be (1)
settings.functionalitySettings.allowContractTransactionAfterHeight should be (4236000) // same as the setting
settings.functionalitySettings.allowDepositWithdrawContractAfterHeight should be (Int.MaxValue)
settings.functionalitySettings.allowDepositWithdrawContractAfterHeight should be (12550000)
settings.genesisSettings.blockTimestamp should be(1535356447650226656L)
settings.genesisSettings.timestamp should be(1535356447650226656L)
settings.genesisSettings.averageBlockDelay should be(60.seconds)
Expand Down

0 comments on commit 1e22146

Please sign in to comment.