Skip to content

soroban-rpc: Remove panics from internal codebase #3219

soroban-rpc: Remove panics from internal codebase

soroban-rpc: Remove panics from internal codebase #3219

Triggered via pull request January 18, 2024 18:25
Status Failure
Total duration 10m 28s
Artifacts

soroban-rpc.yml

on: pull_request
Matrix: Build
Matrix: Integration tests
Matrix: Unit tests
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 6 warnings
Build (ubuntu-latest, x86_64-unknown-linux-gnu, amd64): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Build (ubuntu-latest, x86_64-unknown-linux-gnu, amd64): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Build (ubuntu-latest, x86_64-unknown-linux-gnu, amd64)
Process completed with exit code 1.
Build (windows-latest, x86_64-pc-windows-gnu, amd64)
The job was canceled because "ubuntu-latest_x86_64-unkn" failed.
Build (windows-latest, x86_64-pc-windows-gnu, amd64)
The operation was canceled.
Build (ubuntu-latest, aarch64-unknown-linux-gnu, arm64)
The job was canceled because "ubuntu-latest_x86_64-unkn" failed.
Build (ubuntu-latest, aarch64-unknown-linux-gnu, arm64)
The operation was canceled.
Build (macos-latest, x86_64-apple-darwin, amd64)
The job was canceled because "ubuntu-latest_x86_64-unkn" failed.
Build (macos-latest, x86_64-apple-darwin, amd64)
The operation was canceled.
Build (macos-latest, aarch64-apple-darwin, arm64)
The job was canceled because "ubuntu-latest_x86_64-unkn" failed.
Build (macos-latest, aarch64-apple-darwin, arm64)
The operation was canceled.
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L117
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L119
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L123
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L135
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L165
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21): cmd/soroban-rpc/internal/methods/get_transaction_test.go#L193
cannot use store (variable of type *transactions.MemoryStore) as transactionGetter value in argument to GetTransaction: *transactions.MemoryStore does not implement transactionGetter (wrong type for method GetTransaction)
Unit tests (ubuntu-20.04, 1.21)
Process completed with exit code 1.
Unit tests (ubuntu-22.04, 1.21)
The operation was canceled.
Integration tests (ubuntu-20.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Integration tests (ubuntu-20.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Integration tests (ubuntu-20.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$)
Process completed with exit code 1.
Integration tests (ubuntu-20.04, 1.21, .*CLI.*): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Integration tests (ubuntu-20.04, 1.21, .*CLI.*): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Integration tests (ubuntu-20.04, 1.21, .*CLI.*)
Process completed with exit code 1.
Integration tests (ubuntu-22.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Integration tests (ubuntu-22.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Integration tests (ubuntu-22.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$)
Process completed with exit code 1.
Integration tests (ubuntu-22.04, 1.21, .*CLI.*): cmd/soroban-rpc/internal/jsonrpc.go#L188
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.transactionGetter value in argument to methods.NewGetTransactionHandler: *transactions.MemoryStore does not implement methods.transactionGetter (wrong type for method GetTransaction)
Integration tests (ubuntu-22.04, 1.21, .*CLI.*): cmd/soroban-rpc/internal/jsonrpc.go#L195
cannot use params.TransactionStore (variable of type *transactions.MemoryStore) as methods.LatestLedgerStore value in argument to methods.NewSendTransactionHandler: *transactions.MemoryStore does not implement methods.LatestLedgerStore (wrong type for method GetLatestLedger)
Integration tests (ubuntu-22.04, 1.21, .*CLI.*)
Process completed with exit code 1.
Unit tests (ubuntu-20.04, 1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Unit tests (ubuntu-22.04, 1.21)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Integration tests (ubuntu-20.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Integration tests (ubuntu-20.04, 1.21, .*CLI.*)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Integration tests (ubuntu-22.04, 1.21, ^Test(([^C])|(C[^L])|(CL[^I])).*$)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Integration tests (ubuntu-22.04, 1.21, .*CLI.*)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/