Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests fixes #78

Merged
merged 3 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group = com.bloxbean.cardano
artifactId = yaci
version = 0.3.0-beta15-SNAPSHOT
version = 0.3.0-beta15
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public class BaseTest {
protected long protocolMagic = Constants.PREPROD_PROTOCOL_MAGIC;
protected Point knownPoint = new Point(13003663, "b896e43a25de269cfc47be7afbcbf00cad41a5011725c2732393f1b4508cf41d");

protected String nodeSocketFile = "/Users/satya/work/cardano-node/preprod-8.1.2/db/node.socket";
protected String nodeSocketFile = "/Users/satya/work/cardano-node/preprod-9.1.0/db/node.socket";
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,7 @@ void submitTx_validTx() {
String senderAddr = "addr_test1qp8mg8c5950hhrj3mkfr9ggseae2aj24ya2rndegwzuuyr202959apwtpv7sp0t6vfjnzyr0232uent4urdx7snr23yqa533ha";
String mnemonic = "wrist approve ethics forest knife treat noise great three simple prize happy toe dynamic number hunt trigger install wrong change decorate vendor glow erosion";

Era era = null;
if (protocolMagic == Constants.SANCHONET_PROTOCOL_MAGIC) {
era = Era.Conway;
} else {
era = Era.Babbage;
}
Era era = Era.Conway;

Mono<UtxoByAddressQueryResult> mono = localClientProvider.getLocalStateQueryClient()
.executeQuery(new UtxoByAddressQuery(era, new Address(senderAddr)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,7 @@ private Transaction getTestTransaction() {
String senderAddr = "addr_test1qp8mg8c5950hhrj3mkfr9ggseae2aj24ya2rndegwzuuyr202959apwtpv7sp0t6vfjnzyr0232uent4urdx7snr23yqa533ha";
String mnemonic = "wrist approve ethics forest knife treat noise great three simple prize happy toe dynamic number hunt trigger install wrong change decorate vendor glow erosion";

Era era = null;
if (protocolMagic == Constants.SANCHONET_PROTOCOL_MAGIC) {
era = Era.Conway;
} else {
era = Era.Babbage;
}
Era era = Era.Conway;

Mono<UtxoByAddressQueryResult> mono = localClientProvider.getLocalStateQueryClient()
.executeQuery(new UtxoByAddressQuery(era, new Address(senderAddr)));
Expand Down
Loading