Skip to content

Commit

Permalink
refactor(core): move address logic to crate
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFluffy committed Nov 12, 2024
1 parent e5577e1 commit d387f5f
Show file tree
Hide file tree
Showing 19 changed files with 598 additions and 574 deletions.
15 changes: 14 additions & 1 deletion Cargo.lock

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

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ members = [
"crates/astria-conductor",
"crates/astria-config",
"crates/astria-core",
"crates/astria-core-address",
"crates/astria-core-consts",
"crates/astria-eyre",
"crates/astria-grpc-mock",
"crates/astria-grpc-mock-test",
Expand All @@ -34,6 +36,8 @@ default-members = [
"crates/astria-conductor",
"crates/astria-config",
"crates/astria-core",
"crates/astria-core-address",
"crates/astria-core-consts",
"crates/astria-grpc-mock",
"crates/astria-grpc-mock-test",
"crates/astria-grpc-mock-test-codegen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ use astria_core::{
Action,
TransactionBody,
},
Protobuf as _,
};
use astria_eyre::eyre::{
self,
Expand Down
14 changes: 14 additions & 0 deletions crates/astria-core-address/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!-- markdownlint-disable no-duplicate-heading -->

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Added

- Initial release.
14 changes: 14 additions & 0 deletions crates/astria-core-address/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "astria-core-address"
version = "0.1.0"
edition = "2021"

[dependencies]
astria-core-consts = { path = "../astria-core-consts" }

thiserror = { workspace = true }

bech32 = "0.11.0"

[features]
unchecked-constructor = []
Loading

0 comments on commit d387f5f

Please sign in to comment.