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

Deploy WSB v2.0 on Reef Testnet #420

Open
guidiaz opened this issue Mar 25, 2024 · 1 comment
Open

Deploy WSB v2.0 on Reef Testnet #420

guidiaz opened this issue Mar 25, 2024 · 1 comment
Assignees

Comments

@guidiaz
Copy link
Collaborator

guidiaz commented Mar 25, 2024

Former deployment was wiped out from the Testnet a few months ago.

@guidiaz
Copy link
Collaborator Author

guidiaz commented Apr 9, 2024

Unfortunately, interception of eth_getTransactionReceipt on the gateway is returning null, although txs seem to get mined.

This issue wont be feasible until a further assessment on whether reef's graphql schema has changed, or what other reasons may provoking eth_getTransactionReceipt keeps returning null.

Current graphql queries in eth_getTransactionReceipt:

      {
        extrinsics (
          offset: 0,
          limit: 1,
          where: { hash_eq: "${txHash}" }
        ) {
          args
          index
          signedData
          status
          timestamp
          block {
            hash
            height
            finalized
          }
          events (
            offset: 0,
            limit: 1,
            where: {
              AND: [
                { section_eq: "EVM" },
                { OR: [
                  { method_eq: "Executed" },
                  { method_eq: "Created" },
                ]}
              ]
            }
          ) {
            data
            index
            method
          }
        }
      }
if (extrinsic && extrinsic.block.finalized) {
      const logsQuery = gql`
        {
          evmEvents (
            offset: 0, 
            limit: 50, 
            where: { 
              AND: [ 
                { block: { hash_eq: "${extrinsic?.block?.hash}" }}, 
                { extrinsicIndex_eq: ${extrinsic?.index}}
              ]
            }
          ) {
            eventIndex
            dataRaw
          }
        }
      `

@guidiaz guidiaz self-assigned this Apr 9, 2024
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

No branches or pull requests

1 participant