-
Notifications
You must be signed in to change notification settings - Fork 0
v2.3.4
Marcus Vinicius Girolneto Sousa edited this page May 2, 2024
·
1 revision
In this new version, the sdk
package has been renamed to nodeShared
. Consequently, the dependencies in your sbt
builds need to be updated. Replace the previous sbt
commands:
sbt clean kernel/publishM2 shared/publishM2 keytool/publishM2 sdk/publishM2 dagL1/publishM2 currencyL0/publishM2 currencyL1/publishM2
with:
sbt clean kernel/publishM2 shared/publishM2 keytool/publishM2 nodeShared/publishM2 dagL1/publishM2 currencyL0/publishM2 currencyL1/publishM2
The signatures of the Main classes have been updated. Previously, the configuration was:
object Main extends CurrencyL1App(
"currency-data_l1",
"currency data L1 node",
ClusterId(UUID.fromString("517c3a05-9219-471b-a54c-21b7d72f4ae5")),
version = BuildInfo.version
)
object Main extends CurrencyL0App(
"currency-l0",
"currency-l0 node",
ClusterId(UUID.fromString("517c3a05-9219-471b-a54c-21b7d72f4ae5")),
version = BuildInfo.version
)
The new configuration is:
object Main extends CurrencyL1App(
"currency-data_l1",
"currency data L1 node",
ClusterId(UUID.fromString("517c3a05-9219-471b-a54c-21b7d72f4ae5")),
tessellationVersion = TessellationVersion.unsafeFrom(org.tessellation.BuildInfo.version),
metagraphVersion = MetagraphVersion.unsafeFrom(com.my.dor_metagraph.data_l1.BuildInfo.version)
)
object Main extends CurrencyL0App(
"currency-l0",
"currency-l0 node",
ClusterId(UUID.fromString("517c3a05-9219-471b-a54c-21b7d72f4ae5")),
tessellationVersion = TessellationVersion.unsafeFrom(org.tessellation.BuildInfo.version),
metagraphVersion = MetagraphVersion.unsafeFrom(com.my.dor_metagraph.data_l1.BuildInfo.version)
)
Ensure that you update the imports in each of your Main class files if you previously imported anything from the sdk
, now nodeShared
.