From 1d22f39a5107aecf55d5e8e367ec23efd3fa5d8f Mon Sep 17 00:00:00 2001 From: sdp_ibriz Date: Wed, 23 Oct 2024 14:05:17 +0545 Subject: [PATCH] fix build.gradle for cpsCore and CPSTreasury to support devnet --- CPSCore/build.gradle | 26 ++++++++++---------------- CPSTreasury/build.gradle | 23 +++++++---------------- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/CPSCore/build.gradle b/CPSCore/build.gradle index 1305b702..bcacd745 100644 --- a/CPSCore/build.gradle +++ b/CPSCore/build.gradle @@ -1,4 +1,4 @@ -version = '1.3.9' +version = '1.5.5' dependencies { @@ -35,31 +35,25 @@ deployJar { lisbon { uri = 'https://lisbon.net.solidwallet.io/api/v3' nid = 0x2 - to = 'cx8e21d3b7a70aeeaca45d4a70c31a6b959f5823bd' - } - local { - uri = 'http://localhost:9082/api/v3' - nid = 0x3 - } - berlin { - uri = 'https://berlin.net.solidwallet.io/api/v3' - nid = 0x7 - } - sejong { - uri = 'https://sejong.net.solidwallet.io/api/v3' - nid = 0x53 - to = 'cx2b214d56805531b9c878c4d4ff0e53d961c60834' + to = "cx1a7a9bde78fe14e2aeea03966c6d7260575627f5" } mainnet { uri = 'https://ctz.solidwallet.io/api/v3' nid = 0x1 to = 'cx9f4ab72f854d3ccdc59aa6f2c3e2215dd62e879f' } - + devnet{ + uri = "https://tt.net.solidwallet.io/api/v3" + nid = 0x3 + to = "cx5100c8b221cc373939d8a720ecfbd90440c75ed3" + } } keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : '' password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : '' parameters { + arg("applicationPeriod", "15") + arg("bondValue", "15") + } } diff --git a/CPSTreasury/build.gradle b/CPSTreasury/build.gradle index 85bfca6d..669f7650 100644 --- a/CPSTreasury/build.gradle +++ b/CPSTreasury/build.gradle @@ -1,4 +1,4 @@ -version = '1.3.5' +version = '1.4' dependencies { // compileOnly 'foundation.icon:javaee-api:0.9.2' @@ -31,31 +31,22 @@ deployJar { lisbon { uri = 'https://lisbon.net.solidwallet.io/api/v3' nid = 0x2 - to = 'cxabc97ed26cb147eeef55b1728102aea25af8f62f' - } - local { - uri = 'http://localhost:9082/api/v3' - nid = 0x3 - } - sejong{ - uri = 'https://sejong.net.solidwallet.io/api/v3' - nid = 0x53 - to = 'cxb33f0187a22a41c3ecb05a9756af320e98badb7d' - } - berlin{ - uri = 'https://berlin.net.solidwallet.io/api/v3' - nid = 0x7 - to = 'cx3e2a9648e4365added55bfa6a84e515d99f1bb67' + to = "cxe2179d6409a4920ac6e6ee272d79a3bcfea969df" } mainnet { uri = 'https://ctz.solidwallet.io/api/v3' nid = 0x1 to = 'cxd965531d1cce5daad1d1d3ee1efb39ce68f442fc' } + devnet{ + uri = "https://tt.net.solidwallet.io/api/v3" + nid = 0x3 + } } keystore = rootProject.hasProperty('keystoreName') ? "$keystoreName" : '' password = rootProject.hasProperty('keystorePass') ? "$keystorePass" : '' parameters { + arg("cpsScore", "cx5100c8b221cc373939d8a720ecfbd90440c75ed3") } }