Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
4ab3c4c
ci: Introduce Hiero Solo Action
gsstoykov Apr 30, 2025
885ca7f
ci: Bump solo action to main commit
gsstoykov Apr 30, 2025
21ca9cd
ci: Bump to version with quite mode enabled
gsstoykov Apr 30, 2025
7cfe7f6
ci: Remove mirror node port as it is blocking
gsstoykov Apr 30, 2025
7ed767a
ci: Disable cmake build until solo problem fixed
gsstoykov Apr 30, 2025
2390991
ci: Reenable build
gsstoykov Apr 30, 2025
c28c3d2
ci: Bump new solo action release
gsstoykov May 7, 2025
57e30b3
ci: Fix commit version
gsstoykov May 7, 2025
42ff329
Merge remote-tracking branch 'origin/main' into 00892-integrate-solo-…
gsstoykov May 7, 2025
2bc683c
ci: reenable mirror node port 5600
gsstoykov May 7, 2025
2b0d347
ci: Enabled mirror node ports and changed env to hiero
gsstoykov May 7, 2025
ef99da9
ci: Disable mirror node ports
gsstoykov May 7, 2025
5b03d5a
ci: remove commented config
gsstoykov May 7, 2025
4398b2d
ci: Try without setting v
gsstoykov May 7, 2025
1d894ea
ci: Try if v0.61.3 works
gsstoykov May 8, 2025
8c42459
ci: Disable C++ build
gsstoykov May 8, 2025
5447f53
ci: Redisable newest version
gsstoykov May 8, 2025
74dce65
ci: Add default value to test if running
gsstoykov May 8, 2025
d6e2516
ci: Try 0.62.0
gsstoykov May 8, 2025
c505439
ci: Try v0.58.0
gsstoykov May 8, 2025
0c135a7
ci: try 0.59.0
gsstoykov May 8, 2025
6729a09
ci: Truncate version string
gsstoykov May 8, 2025
fa78b72
ci: Add suggested version for network node v0.62.1
gsstoykov May 8, 2025
50393be
ci: Change version to v0.59.5 test
gsstoykov May 8, 2025
f28c735
ci: Final revert to v0.58.10
gsstoykov May 8, 2025
b5aa4d8
ci: Revert to manual solo
gsstoykov May 8, 2025
3255a77
ci: Test 0.35.2 solo version with old setup
gsstoykov May 8, 2025
430fa9d
ci: Try current mainnet version v0.60.1
gsstoykov May 8, 2025
befbaeb
ci: Try out commit with 0.37.1 Solo
gsstoykov Jun 10, 2025
041aa28
ci: Reenable SDK build
gsstoykov Jun 10, 2025
e33cf73
ci: Fix Failing Integration tests for the new setup
gsstoykov Jun 10, 2025
3c7326e
fix: Failing interation tests due to wrong port
gsstoykov Jun 12, 2025
738539d
ci: Fix the commit for the action
gsstoykov Jun 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 6 additions & 29 deletions .github/workflows/zxc-build-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,35 +178,12 @@ jobs:
${{ steps.cgroup.outputs.exec }} cmake --build -j 6 --preset ${{ matrix.preset }}-release
echo "::endgroup::"

- name: Install Solo
run: sudo npm install -g @hashgraph/solo@0.34.0

- name: Install Solo Required Tools
run: |
sudo curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
sudo curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.26.0/kind-linux-amd64
sudo chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind

- name: Start Solo
run: |
export SOLO_CLUSTER_NAME=solo-e2e
export SOLO_NAMESPACE=solo-e2e
export SOLO_CLUSTER_SETUP_NAMESPACE=fullstack-setup
kind create cluster -n "${SOLO_CLUSTER_NAME}"
solo init
solo node keys -i node1 --gossip-keys --tls-keys
solo cluster setup
solo network deploy -i node1 -n solo-e2e
solo node setup -i node1 -n solo-e2e -t v0.61.4
solo node start -i node1 -n solo-e2e
kubectl port-forward svc/haproxy-node1-svc -n "${SOLO_NAMESPACE}" 50211:50211 &
solo mirror-node deploy -n "${SOLO_NAMESPACE}" --pinger true
kubectl port-forward $(cut -d' ' -f1 <<<$(kubectl get pods -n solo-e2e | grep mirror-rest-)) 5551:5551 -n solo-e2e &
kubectl port-forward $(cut -d' ' -f1 <<<$(kubectl get pods -n solo-e2e | grep mirror-web)) 8545:8545 -n solo-e2e &
kubectl port-forward $(cut -d' ' -f1 <<<$(kubectl get pods -n solo-e2e | grep mirror-grpc)) 5600:5600 -n solo-e2e &
- name: Prepare Hiero Solo
id: solo
uses: hiero-ledger/hiero-solo-action@1ee185112b9c7c45a3c0392f0e99860a45cde689 # v0.7
with:
installMirrorNode: true
hieroVersion: v0.61.4

- name: Start CTest suite (Debug)
run: ${{ steps.cgroup.outputs.exec }} ctest -j 6 -C Debug --test-dir build/${{ matrix.preset }}-debug --output-on-failure
Expand Down
18 changes: 9 additions & 9 deletions src/sdk/tests/integration/BatchTransactionIntegrationTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class BatchTransactionIntegrationTests : public BaseIntegrationTest
};

//-----
TEST_F(BatchTransactionIntegrationTests, CanExecuteBatchTransaction)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CanExecuteBatchTransaction)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand All @@ -53,7 +53,7 @@ TEST_F(BatchTransactionIntegrationTests, CanExecuteBatchTransaction)
}

//-----
TEST_F(BatchTransactionIntegrationTests, CanExecuteAfterFromToBytes)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CanExecuteAfterFromToBytes)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand Down Expand Up @@ -86,7 +86,7 @@ TEST_F(BatchTransactionIntegrationTests, CanExecuteAfterFromToBytes)
}

//-----
TEST_F(BatchTransactionIntegrationTests, CanExecuteLargeBatchTransaction)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CanExecuteLargeBatchTransaction)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand Down Expand Up @@ -119,15 +119,15 @@ TEST_F(BatchTransactionIntegrationTests, CanExecuteLargeBatchTransaction)
}

//-----
TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithoutNoInnerTransactions)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CannotExecuteBatchTransactionWithoutNoInnerTransactions)
{
// Given /When / Then
TransactionResponse txResponse;
ASSERT_THROW(txResponse = BatchTransaction().execute(getTestClient()), PrecheckStatusException);
}

//-----
TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithBlacklistedTransaction)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CannotExecuteBatchTransactionWithBlacklistedTransaction)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand All @@ -153,7 +153,7 @@ TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithBlackl
}

//-----
TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithInvalidInnerBatchKey)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CannotExecuteBatchTransactionWithInvalidInnerBatchKey)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand All @@ -178,7 +178,7 @@ TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithInvali
}

//-----
TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithoutBatchifyingInner)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CannotExecuteBatchTransactionWithoutBatchifyingInner)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand All @@ -200,7 +200,7 @@ TEST_F(BatchTransactionIntegrationTests, CannotExecuteBatchTransactionWithoutBat
}

//-----
TEST_F(BatchTransactionIntegrationTests, CanExecuteBatchTransactionWithChunkedInner)
TEST_F(BatchTransactionIntegrationTests, DISABLED_CanExecuteBatchTransactionWithChunkedInner)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand Down Expand Up @@ -236,7 +236,7 @@ TEST_F(BatchTransactionIntegrationTests, CanExecuteBatchTransactionWithChunkedIn
}

//-----
TEST_F(BatchTransactionIntegrationTests, BatchTransactionIncursFeesEvenIfOneInnerFailed)
TEST_F(BatchTransactionIntegrationTests, DISABLED_BatchTransactionIncursFeesEvenIfOneInnerFailed)
{
// Given
std::shared_ptr<PrivateKey> operatorKey;
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/tests/integration/HttpClientIntegrationTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class HttpClientIntegrationTests : public BaseIntegrationTest
private:
const std::string mUrl = "http://127.0.0.1:5551/api/v1/accounts/";
const std::string mJsonMirrorNetworkTag = "mirrorNetwork";
const std::string mAccountIdStr = "0.0.3";
const std::string mAccountIdStr = "0.0.2";
};

//-----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MirrorNodeGatewayIntegrationTests : public BaseIntegrationTest
[[nodiscard]] inline const std::string& getMirrorNetworkUrl() const { return mMirrorNetworkUrl; }

private:
const std::string mAccountIdStr = "0.0.3";
const std::string mAccountIdStr = "0.0.2";
const std::string mMirrorNetworkUrl = "http://127.0.0.1:5551";
};

Expand Down
Loading