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

Release 0.21.0 #3997

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
Changelog
=========

[0.21.0](https://github.com/ordinals/ord/releases/tag/0.21.0) - 2024-10-11
--------------------------------------------------------------------------

### Added
- Add `ord verify` ([#3906](https://github.com/ordinals/ord/pull/3906) by [raphjaph](https://github.com/raphjaph))

### Misc
- Remove regtest.ordinals.net just recipes ([#3978](https://github.com/ordinals/ord/pull/3978) by [casey](https://github.com/casey))
- Refactor burn command ([#3976](https://github.com/ordinals/ord/pull/3976) by [casey](https://github.com/casey))

[0.20.1](https://github.com/ordinals/ord/releases/tag/0.20.1) - 2024-10-03
--------------------------------------------------------------------------

Expand Down
62 changes: 31 additions & 31 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "ord"
description = "◉ Ordinal wallet and block explorer"
version = "0.20.1"
version = "0.21.0"
license = "CC0-1.0"
edition = "2021"
autotests = false
Expand Down Expand Up @@ -65,7 +65,7 @@ serde_with = "3.7.0"
serde_yaml = "0.9.17"
sha3 = "0.10.8"
snafu = "0.8.3"
sysinfo = "0.31.0"
sysinfo = "0.32.0"
tempfile = "3.2.0"
tokio = { version = "1.17.0", features = ["rt-multi-thread"] }
tokio-stream = "0.1.9"
Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ publish-tag-and-crate revision='master':
rm -rf tmp/release

outdated:
cargo outdated -R --workspace
cargo outdated --root-deps-only --workspace

update-modern-normalize:
curl \
Expand Down
14 changes: 1 addition & 13 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mod utxo_entry;
#[cfg(test)]
pub(crate) mod testing;

const SCHEMA_VERSION: u64 = 28;
const SCHEMA_VERSION: u64 = 29;

define_multimap_table! { SAT_TO_SEQUENCE_NUMBER, u64, u32 }
define_multimap_table! { SEQUENCE_NUMBER_TO_CHILDREN, u32, u32 }
Expand Down Expand Up @@ -6675,16 +6675,4 @@ mod tests {
// zero
assert_eq!(Statistic::Schema.key(), 0);
}

#[test]
fn reminder_to_update_utxo_entry_type_name() {
// This test will break when the schema version is updated, and is a
// reminder to fix the type name in `impl redb::Value for &UtxoEntry`.
//
// The type name should be changed from `ord::index::utxo_entry::UtxoValue`
// to `ord::UtxoEntry`. I think it's probably best if we just name types
// `ord::NAME`, instead of including the full path, since the full path
// will change if we reorganize the code.
assert_eq!(SCHEMA_VERSION, 28);
}
}
2 changes: 1 addition & 1 deletion src/index/utxo_entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl redb::Value for &UtxoEntry {
}

fn type_name() -> TypeName {
TypeName::new("&ord::index::utxo_entry::UtxoValue")
TypeName::new("ord::UtxoEntry")
}
}

Expand Down
Loading