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

Bitcoin predicate, operation: "stx_locked" scans 25775 blocks only returns 1 data point #386

Open
timstackblock opened this issue Aug 15, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@timstackblock
Copy link
Contributor

timstackblock commented Aug 15, 2023

Bitcoin predicate, scope: "stacks_protocol" operation: "stx_locked" scans 25775 blocks only returns 1 action triggered. The time stamp is Fri Mar 17 2023 23:02:53.

Should this be the only stx_locked event in 25775 blocks?

Is this event an upgrade of POX where all the stacks were locked with POX3 if so that might make sense, please elaborate on this event as i was surprised only 1 data point was returned and as a result wanted to raise a possible bug.

{
  "uuid": "1",
  "name": "Hello Ordinals",
  "chain": "bitcoin",
  "version": 1,
  "networks": {
    "mainnet": {
      "start_block": 777534,
      "end_block": 803308,
      "if_this": {
        "scope": "stacks_protocol",
        "operation": "stx_locked"
      },
      "then_that": {
        "file_append": {
          "path": "automate/tests/bitcoin-predicates/stacks_protocol/stacks-protocol-file_result.json"
        }
      }
    }

  }
}
{"apply":[{"block_identifier":{"hash":"0x000000000000000000039285a530bc53bd54febe45e2c814b17900059642c1be","index":781284},"metadata":{"network":"mainnet"},"parent_block_identifier":{"hash":"0x00000000000000000000701e8f5e1ac355653c91535e393f0895089c44b8cccc","index":781283},"timestamp":1679108573,"transactions":[{"metadata":{"proof":null,"stacks_operations":[{"stx_locked":{"amount":"","duration":1,"sender":""}}]},"operations":[],"transaction_identifier":{"hash":"0x43e5587ebd9ff497639b3c7cbde314191938a4bae9d68645aca2bd83865734bb"}}]}],"chainhook":{"is_streaming_blocks":false,"predicate":{"operation":"stx_locked","scope":"stacks_protocol"},"uuid":"1"},"rollback":[]}
@github-project-automation github-project-automation bot moved this to 🆕 New in DevTools Aug 15, 2023
@timstackblock timstackblock added the bug Something isn't working label Aug 15, 2023
@smcclellan smcclellan moved this from 🆕 New to 📋 Backlog in DevTools Aug 21, 2023
@MicaiahReid MicaiahReid assigned csgui and unassigned MicaiahReid Sep 25, 2023
@csgui csgui moved this from 📋 Backlog to 🏗 In Progress in DevTools Dec 18, 2023
@csgui
Copy link
Contributor

csgui commented Jan 9, 2024

@smcclellan smcclellan moved this from 🏗 In Progress to 📋 Backlog in DevTools Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants