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

Add GetSystemTransaction and GetSystemTransactionResult endpoints #143

Merged
merged 15 commits into from
Nov 22, 2024

Merge pull request #144 from onflow/refactor-code-duplication

e697552
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add GetSystemTransaction and GetSystemTransactionResult endpoints #143

Merge pull request #144 from onflow/refactor-code-duplication
e697552
Select commit
Loading
Failed to load commit list.
GitHub Actions / Integration Test Results failed Nov 21, 2024 in 0s

1 fail, 40 pass in 3m 30s

  6 files  ±0    6 suites  ±0   3m 30s ⏱️ ±0s
41 tests ±0  40 ✔️  - 1  0 💤 ±0  1 ❌ +1 

Results for commit e697552. ± Comparison against earlier commit 99f39fc.

Annotations

Check warning on line 0 in org.onflow.flow.sdk.cadence.JsonCadenceTest

See this annotation in the file changed.

@github-actions github-actions / Integration Test Results

decodeUFix64() (org.onflow.flow.sdk.cadence.JsonCadenceTest) failed

sdk/build/test-results/integrationTest/TEST-org.onflow.flow.sdk.cadence.JsonCadenceTest.xml
Raw output
java.lang.IllegalStateException: Failed to execute script: Failed to execute script at latest block
	at org.onflow.flow.sdk.cadence.JsonCadenceTest.decodeUFix64(JsonCadenceTest.kt:119)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
	at app//io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:262)
	at app//io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:243)
	at app//io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:156)
	at app//org.onflow.protobuf.access.AccessAPIGrpc$AccessAPIBlockingStub.executeScriptAtLatestBlock(AccessAPIGrpc.java:3372)
	at app//org.onflow.flow.sdk.impl.FlowAccessApiImpl.executeScriptAtLatestBlock(FlowAccessApiImpl.kt:386)
	at app//org.onflow.flow.sdk.Script_dslKt.executeScript(script-dsl.kt:15)
	at app//org.onflow.flow.sdk.Script_dslKt.simpleFlowScript(script-dsl.kt:29)
	at app//org.onflow.flow.sdk.cadence.JsonCadenceTest.executeScript(JsonCadenceTest.kt:55)
	at app//org.onflow.flow.sdk.cadence.JsonCadenceTest.decodeUFix64(JsonCadenceTest.kt:117)
	... 3 more
Caused by: io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AnnotatedConnectException: finishConnect(..) failed: Connection refused: localhost/[0:0:0:0:0:0:0:1]:35315
Caused by: java.net.ConnectException: finishConnect(..) failed: Connection refused
	at io.grpc.netty.shaded.io.netty.channel.unix.Errors.throwConnectException(Errors.java:124)
	at io.grpc.netty.shaded.io.netty.channel.unix.Socket.finishConnect(Socket.java:251)
	at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.doFinishConnect(AbstractEpollChannel.java:672)
	at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.finishConnect(AbstractEpollChannel.java:649)
	at io.grpc.netty.shaded.io.netty.channel.epoll.AbstractEpollChannel$AbstractEpollUnsafe.epollOutReady(AbstractEpollChannel.java:529)
	at io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:465)
	at io.grpc.netty.shaded.io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378)
	at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
	at io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
	at io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
	at java.base/java.lang.Thread.run(Thread.java:1583)