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

[release] 20240812 #279

Merged
merged 1 commit into from
Aug 12, 2024
Merged

[release] 20240812 #279

merged 1 commit into from
Aug 12, 2024

Conversation

stwiname
Copy link
Contributor

No description provided.

Copy link

Coverage report

Caution

Test run failed

St.
Category Percentage Covered / Total
🔴 Statements 40.78% 2159/5294
🟡 Branches 74.93% 257/343
🔴 Functions 49.16% 117/238
🔴 Lines 40.78% 2159/5294

Test suite run failed

Failed tests: 17/71. Failed suites: 2/8.
  ● CosmosUtils › Parsing block data › Correctly wraps events

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › filter message data for true

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › filter message data for false

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › filter nested message data for true

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › filter nested message data for false

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › filter nested message data for invalid path

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › does not wrap events of failed transaction

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › does not lazy decode failed message filters

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › lazy decode passed message filters

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › can filter long type decoded msg for true

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › can filter long type decoded msg for number filter

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filtering › can filter long type decoded msg for false

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filterMessageData function › contractCall filtering › should return true for non-object contractCall in msg

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filterMessageData function › contractCall filtering › should return false for non-object contractCall not in msg

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filterMessageData function › contractCall filtering › should return false for object contractCall not in msg

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)

  ● CosmosUtils › filterMessageData function › contractCall filtering › should return true for object contractCall in msg

    height 4136542 is not available, lowest height is 5823001
    INFO: This most likely means the provided endpoint is a pruned node. An archive/full node is needed to access historical data

      440 |   blockArray: number[],
      441 | ): Promise<IBlock<BlockContent>[]> {
    > 442 |   const blocks = await fetchCosmosBlocksArray(
          |                  ^
      443 |     (height: number) => getBlockByHeightByRpc(api, height),
      444 |     blockArray,
      445 |   );

      at HttpClient.execute (node_modules/@cosmjs/tendermint-rpc/src/rpcclients/httpclient.ts:48:13)
      at Tendermint37Client.doCall (node_modules/@cosmjs/tendermint-rpc/src/tendermint37/tendermint37client.ts:346:20)
          at async Promise.all (index 1)
          at async Promise.all (index 0)
      at fetchBlocksBatches (packages/node/src/utils/cosmos.ts:442:18)
      at Object.<anonymous> (packages/node/src/utils/cosmos.spec.ts:100:26)


  ● Dictionary Queries › Message Filter Queries › Basic wasm filter works

    ApolloError: Response not successful: Received status code 500

      at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
      at node_modules/@apollo/client/core/QueryManager.js:785:71
      at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
      at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
      at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
      at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
          at Array.forEach (<anonymous>)
      at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
      at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
      at node_modules/@apollo/client/link/http/createHttpLink.js:145:17

    Cause:
    ServerError: Response not successful: Received status code 500

      at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
      at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
      at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48

  ● Dictionary Queries › Message Filter Queries › Wasm with contract filter builds a valid query

    ApolloError: Response not successful: Received status code 500

      at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
      at node_modules/@apollo/client/core/QueryManager.js:785:71
      at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
      at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
      at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
      at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
          at Array.forEach (<anonymous>)
      at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
      at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
      at node_modules/@apollo/client/link/http/createHttpLink.js:145:17

    Cause:
    ServerError: Response not successful: Received status code 500

      at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
      at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
      at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48

  ● Dictionary Queries › Message Filter Queries › Wasm with nested filter works

    ApolloError: Response not successful: Received status code 500

      at new ApolloError (node_modules/@apollo/client/errors/index.js:40:28)
      at node_modules/@apollo/client/core/QueryManager.js:785:71
      at both (node_modules/@apollo/client/utilities/observables/asyncMap.js:22:31)
      at node_modules/@apollo/client/utilities/observables/asyncMap.js:11:72
      at Object.then (node_modules/@apollo/client/utilities/observables/asyncMap.js:11:24)
      at Object.error (node_modules/@apollo/client/utilities/observables/asyncMap.js:24:49)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at node_modules/@apollo/client/utilities/observables/iteration.js:7:68
          at Array.forEach (<anonymous>)
      at iterateObserversSafely (node_modules/@apollo/client/utilities/observables/iteration.js:7:25)
      at Object.error (node_modules/@apollo/client/utilities/observables/Concast.js:76:21)
      at notifySubscription (node_modules/zen-observable/lib/Observable.js:140:18)
      at onNotify (node_modules/zen-observable/lib/Observable.js:179:3)
      at SubscriptionObserver.error (node_modules/zen-observable/lib/Observable.js:240:7)
      at handleError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:170:14)
      at node_modules/@apollo/client/link/http/createHttpLink.js:145:17

    Cause:
    ServerError: Response not successful: Received status code 500

      at Object.throwServerError (node_modules/@apollo/client/link/utils/throwServerError.js:2:17)
      at throwServerError (node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:120:9)
      at node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js:176:48

Report generated by 🧪jest coverage report action from ab47543

@stwiname stwiname merged commit 46fb650 into main Aug 12, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants