Skip to content

Commit

Permalink
Merge pull request ordinals#60 from okx/bugfix/reverse_merge_0.6.4
Browse files Browse the repository at this point in the history
Bugfix/reverse merge 0.6.4
  • Loading branch information
wanyvic authored May 22, 2023
2 parents 88ccd12 + 9258d4c commit 6e4c1dc
Show file tree
Hide file tree
Showing 8 changed files with 264 additions and 54 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

[0.6.4](https://github.com/okx/ord/releases/tag/0.6.4) - 2023-05-21
---------------------------------------------------------------------
### New Feature
- Support BRC20 protocol
- Add RESTful API for BRC20 protocol (#48)

[0.5.2](https://github.com/casey/ord/releases/tag/0.5.2) - 2023-04-17
---------------------------------------------------------------------

Expand Down
121 changes: 120 additions & 1 deletion Cargo.lock

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

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
[package]
name = "ord"
description = "◉ Ordinal wallet and block explorer"
version = "0.5.2"
version = "0.6.4"
license = "CC0-1.0"
edition = "2021"
autotests = false
homepage = "https://github.com/casey/ord"
repository = "https://github.com/casey/ord"
autobins = false
rust-version = "1.67"
build = "build.rs"

[workspace]
members = [".", "test-bitcoincore-rpc"]
Expand Down Expand Up @@ -60,6 +61,7 @@ tokio-util = {version = "0.7.3", features = ["compat"] }
tower-http = { version = "0.3.3", features = ["compression-br", "compression-gzip", "cors", "set-header"] }
bincode = "1.3.3"
bigdecimal = "0.3.1"
shadow-rs = "0.21.0"

[dev-dependencies]
executable-path = "1.0.0"
Expand All @@ -82,6 +84,7 @@ path = "tests/lib.rs"

[build-dependencies]
pulldown-cmark = "0.9.2"
shadow-rs = "0.21.0"

[features]
rollback = []
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() -> shadow_rs::SdResult<()> {
shadow_rs::new()
}
4 changes: 3 additions & 1 deletion src/arguments.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use super::*;

use shadow_rs::shadow;
shadow!(build);
#[derive(Debug, Parser)]
#[clap(version)]
#[clap(version(build::CLAP_LONG_VERSION))]
pub(crate) struct Arguments {
#[clap(flatten)]
pub(crate) options: Options,
Expand Down
4 changes: 2 additions & 2 deletions src/brc20/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ pub enum BRC20Error {
#[error("decimals {0} too large")]
DecimalsTooLarge(u8),

#[error("invalid bigInt {0}")]
InvalidBigInt(Num),
#[error("invalid integer {0}")]
InvalidInteger(Num),

#[error("tick: {0} has been minted")]
TickMinted(String),
Expand Down
Loading

0 comments on commit 6e4c1dc

Please sign in to comment.