Commit Graph

913 Commits

Author SHA1 Message Date
semantic-release-bot
01a99c8868 chore(release): 3.0.0-beta.10 [skip ci]
## [3.0.0-beta.10](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2025-02-18)

### Bug Fixes

* **api:** multiple parent display ([703f98f](703f98f77f))
2025-02-18 22:17:11 +00:00
Rafael Cardenas
703f98f77f fix(api): multiple parent display 2025-02-18 16:06:21 -06:00
semantic-release-bot
3c1582e929 chore(release): 3.0.0-beta.9 [skip ci]
## [3.0.0-beta.9](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2025-02-18)

### Features

* **api:** add parent_refs field to inscription responses ([#436](https://github.com/hirosystems/ordhook/issues/436)) ([5630644](563064413b))

### Bug Fixes

* **api:** show delegate inscription id correctly ([#439](https://github.com/hirosystems/ordhook/issues/439)) ([d4ee264](d4ee264ad0))
* calculate charms correctly when inscription is unbound ([#440](https://github.com/hirosystems/ordhook/issues/440)) ([acfda83](acfda83757))
2025-02-18 20:43:41 +00:00
Rafael Cárdenas
c83d1edd6e Merge pull request #441 from hirosystems/develop
release to beta
2025-02-18 14:32:50 -06:00
Rafael Cárdenas
acfda83757 fix: calculate charms correctly when inscription is unbound (#440) 2025-02-18 14:14:37 -06:00
Rafael Cárdenas
d4ee264ad0 fix(api): show delegate inscription id correctly (#439) 2025-02-18 13:58:06 -06:00
Rafael Cárdenas
563064413b feat(api): add parent_refs field to inscription responses (#436)
* fix: parent refs

* parent refs array
2025-02-18 12:14:06 -06:00
semantic-release-bot
7d38710dc4 chore(release): 3.0.0-beta.8 [skip ci]
## [3.0.0-beta.8](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2025-02-18)

### Features

* **api:** return inscription charms in responses ([#435](https://github.com/hirosystems/ordhook/issues/435)) ([a7073da](a7073da0b4))
* index inscription charms ([#433](https://github.com/hirosystems/ordhook/issues/433)) ([4291eab](4291eabba7))
2025-02-18 17:48:27 +00:00
Rafael Cárdenas
60a44fdce3 Merge pull request #434 from hirosystems/develop
release to beta
2025-02-18 11:37:46 -06:00
Rafael Cárdenas
a7073da0b4 feat(api): return inscription charms in responses (#435)
* add to schema

* test: values
2025-02-18 11:12:42 -06:00
Rafael Cárdenas
4291eabba7 feat: index inscription charms (#433)
* calculate charms

* migration and insert

* drop unused code

* reinscription charm

* test progress

* test: charms
2025-02-18 08:48:26 -06:00
Rafael Cárdenas
c3ae68c17a Merge pull request #432 from hirosystems/beta
merge beta into develop
2025-02-17 10:11:11 -06:00
semantic-release-bot
39799cc341 chore(release): 3.0.0-beta.7 [skip ci]
## [3.0.0-beta.7](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2025-02-16)

### Bug Fixes

* kill process when a streamed block fails to index ([#431](https://github.com/hirosystems/ordhook/issues/431)) ([84e189b](84e189b9b4))
2025-02-16 00:31:39 +00:00
Rafael Cárdenas
84e189b9b4 fix: kill process when a streamed block fails to index (#431) 2025-02-15 18:21:07 -06:00
semantic-release-bot
52d2464ed4 chore(release): 3.0.0-beta.6 [skip ci]
## [3.0.0-beta.6](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2025-02-13)

### Features

* migrate ordinals api to ordhook repo ([#389](https://github.com/hirosystems/ordhook/issues/389)) ([205b4c8](205b4c80bd))

### Bug Fixes

* **brc20:** verify ordinal transfers in chunks instead of individually ([#394](https://github.com/hirosystems/ordhook/issues/394)) ([fe842e2](fe842e2e77))
* clean up rocksdb connections during rollbacks ([#420](https://github.com/hirosystems/ordhook/issues/420)) ([216cd52](216cd52c0e))
* remove double parsing of inscriptions ([#421](https://github.com/hirosystems/ordhook/issues/421)) ([19c8a79](19c8a79cd2))
* upgrade `ord` dependencies and integrate `chainhook-sdk` code ([#397](https://github.com/hirosystems/ordhook/issues/397)) ([fcffa7e](fcffa7e5c1)), closes [#412](https://github.com/hirosystems/ordhook/issues/412)
2025-02-13 19:19:11 +00:00
Rafael Cárdenas
99b63daf58 Merge pull request #427 from hirosystems/develop
release to beta
2025-02-13 13:08:20 -06:00
Rafael Cardenas
dc9e599c1e ci: ordinals-api monorepo release 2025-02-13 12:05:59 -06:00
Rafael Cardenas
586e1db61c ci: fix ord ingore path for codecov 2025-02-13 11:06:54 -06:00
Rafael Cárdenas
3409345e33 ci: fix api docker builds, upgrade to node 20, ignore ord from coverage (#426)
* ci: fix api docker builds, upgrade to node 20

* try again, ignore ord

* fix dockerignore

* restore ci order
2025-02-13 10:51:20 -06:00
Rafael Cárdenas
19c8a79cd2 fix: remove double parsing of inscriptions (#421) 2025-02-13 09:01:45 -06:00
Rafael Cárdenas
216cd52c0e fix: clean up rocksdb connections during rollbacks (#420)
* fix: only one rocksdb conn

* unify context

* improve logs

* clean up connections

* revert sequencing

* improve logs

* revert logs
2025-02-13 09:01:24 -06:00
Rafael Cárdenas
48b3ccef48 chore: improve log messages for zeromq and fork processing (#422)
* fix: only one rocksdb conn

* unify context

* improve logs

* clean up connections

* revert sequencing

* improve logs

* revert

* chore: standard log
2025-02-12 17:23:31 -06:00
ASuciuX
e48731de05 Merge pull request #418 from hirosystems/chore/unify-package-version
chore: unify package versions to workspace.package.version 2.2.5
2025-02-12 18:54:20 +02:00
ASuciuX
b4e0157a56 chore: unify package versions to workspace.package.version 2.2.5 2025-02-12 17:43:55 +02:00
Rafael Cárdenas
fcffa7e5c1 fix: upgrade ord dependencies and integrate chainhook-sdk code (#397)
* chore: upgrade ord code

* chore: deps

* chore: add parents table

* chore: move pg deps to workspace

* fix: delegation works

* chore: import chainhook-sdk code

* chore: move ord to its own component

* ci: dockerfile

* docs: ord readme

* refactor: remove all unused code from chainhook-sdk (#412)

* chore: remove stacks types

* checkpoint before removing predicates

* chore: remove all predicates code

* bitcoin dep

* fix: tests

* fix: api tests
2025-02-11 12:21:30 -06:00
dependabot[bot]
c7b9a34b4f chore(deps): bump cookie and light-my-request in /api/ordinals (#405)
Bumps [cookie](https://github.com/jshttp/cookie) and [light-my-request](https://github.com/fastify/light-my-request). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `light-my-request` from 5.9.1 to 5.14.0
- [Release notes](https://github.com/fastify/light-my-request/releases)
- [Commits](https://github.com/fastify/light-my-request/compare/v5.9.1...v5.14.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: light-my-request
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:51 -06:00
dependabot[bot]
5a9588adb3 chore(deps): bump @fastify/multipart in /api/ordinals (#404)
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.1.0 to 8.3.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.1.0...v8.3.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:27 -06:00
dependabot[bot]
fea12167d5 chore(deps): bump dompurify and redoc-cli in /api/ordinals (#408)
Removes [dompurify](https://github.com/cure53/DOMPurify). It's no longer used after updating ancestor dependency [redoc-cli](https://github.com/Redocly/redoc). These dependencies need to be updated together.


Removes `dompurify`

Updates `redoc-cli` from 0.13.20 to 0.13.21
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: indirect
- dependency-name: redoc-cli
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:38:29 -06:00
dependabot[bot]
50b0000097 chore(deps): bump undici from 5.22.1 to 5.28.5 in /api/ordinals (#406)
Bumps [undici](https://github.com/nodejs/undici) from 5.22.1 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.22.1...v5.28.5)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:37:50 -06:00
ASuciuX
42f20c8917 Merge pull request #396 from hirosystems/fix/mutants-dependency-binding
fix mutants: dependency binding error on Secp256k1
2025-02-10 18:19:35 +02:00
Rafael Cárdenas
205b4c80bd feat: migrate ordinals api to ordhook repo (#389)
* feat: add database migration cli commands

* update cargo lock

* chore: import first api files

* test: cache first

* test: cache

* test: sats

* test: inscription show

* test: inscription transfers

* test: inscriptions index

* test: inscriptions complete

* test: counts

* test: status

* test: block counts

* test: brc20 activity

* test: brc20 holders

* ci: api tests

* ci: update nvmrc path

* ci: remove migration refs

* ci: unused exports

* ci: unused

* ci: build publish

* ci: monorepo

* fix: timestamps

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/overview.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* fix: warnings

---------

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
2025-02-07 13:44:21 -06:00
ASuciuX
dbc54e4e98 update mutants version 2025-02-07 13:31:35 +02:00
Rafael Cárdenas
fe842e2e77 fix(brc20): verify ordinal transfers in chunks instead of individually (#394)
* chore: group transfers

* fix: finish integration

* fix: chunk query

* chunk size

* test: indexing

* fix: comments
2025-02-05 13:14:41 -06:00
ASuciuX
88a3b4d4c8 fix mutants: dependency binding error on Secp256k1 2025-02-05 15:58:05 +02:00
Rafael Cárdenas
51d3a76272 Merge pull request #393 from hirosystems/beta
beta to develop
2025-02-03 14:43:41 -06:00
Rafael Cárdenas
b203a1588d Merge pull request #392 from hirosystems/develop
merge develop into beta
2025-01-30 09:27:39 -06:00
semantic-release-bot
5075f163ff chore(release): 3.0.0-beta.5 [skip ci]
## [3.0.0-beta.5](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2025-01-29)

### Bug Fixes

* store inscription content as is ([#391](https://github.com/hirosystems/ordhook/issues/391)) ([3f10607](3f10607ba9))
2025-01-29 16:56:47 +00:00
Rafael Cárdenas
3f10607ba9 fix: store inscription content as is (#391) 2025-01-29 10:51:18 -06:00
semantic-release-bot
2dba824d7b chore(release): 3.0.0-beta.4 [skip ci]
## [3.0.0-beta.4](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2025-01-28)

### Bug Fixes

* **brc20:** add to_address index to operations table ([#390](https://github.com/hirosystems/ordhook/issues/390)) ([67c6035](67c6035828))
2025-01-28 16:56:36 +00:00
Rafael Cárdenas
67c6035828 fix(brc20): add to_address index to operations table (#390) 2025-01-28 10:51:18 -06:00
ASuciuX
6eefce6747 Merge pull request #388 from hirosystems/docs/contributing-file
Docs: add Contributing file
2025-01-21 23:57:28 +02:00
ASuciuX
5278495bf7 Merge branch 'develop' into docs/contributing-file 2025-01-21 23:57:20 +02:00
ASuciuX
09a83ffe74 Merge pull request #387 from hirosystems/feat/ci-mutants-on-prs
Add: CI mutants output and update rust version
2025-01-21 23:56:56 +02:00
ASuciuX
3ecabba8b1 Merge branch 'develop' into feat/ci-mutants-on-prs 2025-01-21 23:56:44 +02:00
ASuciuX
0a4fb13be7 docs: add Contributing file 2025-01-16 20:47:08 +02:00
ASuciuX
ef723d440a Add: CI mutants output and update rust version
- the version update to 1.81 is required to support mutation testing
2025-01-16 18:16:02 +02:00
semantic-release-bot
a183832400 chore(release): 3.0.0-beta.3 [skip ci]
## [3.0.0-beta.3](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2025-01-14)

### ⚠ BREAKING CHANGES

* store inscription data in postgres instead of sqlite (#375)

### Code Refactoring

* store inscription data in postgres instead of sqlite ([#375](https://github.com/hirosystems/ordhook/issues/375)) ([4afb201](4afb201006))
2025-01-14 18:38:39 +00:00
Rafael Cárdenas
126ce32d33 Merge pull request #383 from hirosystems/develop
release new beta
2025-01-14 12:33:07 -06:00
Rafael Cardenas
e60904356e chore: merge beta 2025-01-14 11:41:01 -06:00
Rafael Cárdenas
4afb201006 refactor!: store inscription data in postgres instead of sqlite (#375)
* chore: new pg lib

* chore: migrations and connection code

* brc20 migrations

* connection opts

* fixed columns

* vscode configs

* transaction utils

* chain tip integration

* more progress

* progress

* models

* brc20 progress

* progress

* more

* utils

* models and isnerts

* some more inserts

* ordering support

* remove extra code

* organize

* deadpool

* chain tip

* counts

* optimize transfers table

* optimize reinscriptions

* transfers in same block

* drop blocks structure

* brc20 counts

* token minted supplies

* brc20 insert chunks

* brc20 tweaks

* tweaks

* rollback progress

* restore tests

* fix brc20 tests

* cache tests

* brc20 db tests

* pg docker compose

* fix: pg path

* fix: dockerfile

* test: inscr write

* test: rollbacks

* fix: token minted supply rollback

* fix: ordinals rollback

* chore: upgrade rust

* fix: share rocksdb conn across threads

* chore: search path support

* chore: logs cleanup

* chore: re-enable seq cursor tests

* fix: wire up rollbacks

* fix: brc20 decimal conversion

* fix: recursion parsing

* fix: remove 0x from binary content

* fix: inscription content fixed for real this time

* fix: remove null bytes before inserting

* chore: delete http api

* fix: new pg methods

* fix: all tests

* chore: add pool size config, remove http config

* style: comments
2025-01-04 17:44:58 -06:00