Skip to content

Commit

Permalink
Merge pull request #366 from hirosystems/develop
Browse files Browse the repository at this point in the history
release to beta
  • Loading branch information
rafaelcr authored Sep 20, 2024
2 parents 7775551 + 786f877 commit 721b68b
Show file tree
Hide file tree
Showing 42 changed files with 5,190 additions and 2,840 deletions.
3 changes: 3 additions & 0 deletions .cargo/config → .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[alias]
ordhook-install = "install --path components/ordhook-cli --locked --force"

[env]
RUST_TEST_THREADS = "1"
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- beta
- develop
paths-ignore:
- "**/CHANGELOG.md"
Expand All @@ -19,7 +20,14 @@ env:

jobs:
test:
strategy:
fail-fast: false
matrix:
suite: [cli, core]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./components/ordhook-${{ matrix.suite }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -41,14 +49,8 @@ jobs:
rustup update
cargo install --force cargo-tarpaulin
- name: Run Core tests
run: |
cd ${{ github.workspace }}/components/ordhook-core
cargo tarpaulin --skip-clean --out lcov -- --test-threads=1
- name: Run CLI tests
- name: Run tests
run: |
cd ${{ github.workspace }}/components/ordhook-cli
cargo tarpaulin --skip-clean --out lcov -- --test-threads=1
- name: Upload coverage reports to Codecov
Expand Down
53 changes: 29 additions & 24 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
{
"branches": [
"main"
"branches": [
"main",
{
"name": "beta",
"channel": "beta",
"prerelease": true
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": false
}
],
"@semantic-release/changelog",
"@semantic-release/git"
]
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": false
}
],
"@semantic-release/changelog",
"@semantic-release/git"
]
}
5 changes: 3 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Inscription 6fb976ab49dcec017f1e201e84395983204ae1a7c2abf7ced0a85d692e442799i0 r
Inscription 26482871f33f1051f450f2da9af275794c0b5f1c61ebf35e4467fb42c2813403i0 revealed at block #767753 (ordinal_number 727624168684699, inscription_number 1)
```

In this command, an interval of blocks to scan (starting at block `767430`, ending at block `767753`) is being provided. `ordhook` will display inscriptions and transfers activities occurring in the range of the specified blocks.
In this command, an interval of blocks to scan (starting at block `767430`, ending at block `767753`) is being provided. `ordhook` will display inscriptions and transfers activities occurring in the range of the specified blocks. Add the option `--meta-protocols=brc20` if you wish to explore BRC-20 activity as well.

The activity for a given inscription can be retrieved using the following command:

Expand Down
2 changes: 1 addition & 1 deletion components/ordhook-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ clap = { version = "3.2.23", features = ["derive"], optional = true }
clap_generate = { version = "3.0.3", optional = true }
toml = { version = "0.5.6", features = ["preserve_order"], optional = true }
ctrlc = { version = "3.2.2", optional = true }
tcmalloc2 = { version = "0.1.2+2.13", optional = true }
tcmalloc2 = { version = "0.1.2", optional = true }

[features]
default = ["cli"]
Expand Down
Loading

0 comments on commit 721b68b

Please sign in to comment.