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

chore(release): publish v1.3.1 #501

Merged
merged 3 commits into from
Feb 14, 2024
Merged

chore(release): publish v1.3.1 #501

merged 3 commits into from
Feb 14, 2024

Conversation

MicaiahReid
Copy link
Collaborator

No description provided.

MicaiahReid and others added 3 commits February 14, 2024 16:23
(this PR is just cherry-picking the relevant commits from @janniks in PR
#417, which I apparently mucked up with some bad merging)

- closes #387 
- adds a position struct to the event and renames the event to payload
(with enum type)
- updates occurences.json to include the expected serialized position
for testing

---

**Note**: Any users running a Chainhook node (i.e. `chainhook service
start ...`) will not have transaction event positions stored in the
database, so all event position will have a value of:
``` JSON
"position": {
  "index": 0
}
```
To rebuild the database with this data filled in:
 - Upgrade to the latest version of Chainhook
- Delete the `stacks.rocksdb` folder inside the `working_dir` set in
your `Chainhook.toml`
 - Rerun Chainhook

This will rebuild your Stacks database from scratch.

---------

Co-authored-by: janniks <janniks@users.noreply.github.com>
### Description

Fixes #496 

### Checklist

- [X] All tests pass
- [ ] Tests added in this PR (if applicable)
Co-authored-by: Ludo Galabru <ludovic@galabru.com>
Copy link
Member

@lgalabru lgalabru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@MicaiahReid MicaiahReid merged commit 6a33e32 into main Feb 14, 2024
14 of 16 checks passed
Copy link

🎉 This PR is included in version 1.3.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants