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

Add script to sync signatures with 4bytes #855

Merged
merged 2 commits into from
Jul 3, 2023
Merged

Conversation

jankjr
Copy link
Contributor

@jankjr jankjr commented Jun 29, 2023

To run the signature sync: yarn run:4bytes.

Script will pull all event/function signatures from artifacts/ and sync them with 4bytes if we've not previously syncced that signature with 4bytes.

The scripts/4bytes-syncced.json file has been added to the repo, this file contains all the signatures we've previously syncced. The file is updated as yarn run:4bytes works through the signatures.

If you run the script locally, be sure to commit the scripts/4bytes-syncced.json to history.

I also added a workflow that should trigger whenever we merge to master. This workflow will trigger the sync file and commit it to history when done.

Copy link
Collaborator

@pmckelvy1 pmckelvy1 left a comment

Choose a reason for hiding this comment

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

lgtm

@pmckelvy1 pmckelvy1 merged commit a930cfb into master Jul 3, 2023
8 checks passed
@pmckelvy1 pmckelvy1 deleted the feat/4-bytes-api branch July 3, 2023 19:46
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