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

chore: upgrade clarity-vm including epoch 3.0 #1266

Merged
merged 47 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
9754fbb
chore: upgrade clarity-vm version
hugocaillard Dec 5, 2023
7236a50
chore: expose miner_wallet_name in settings
Dec 7, 2023
5ee02d0
feat: include epochs 2.5 and 3.0 in generated Stacks.toml
obycode Dec 7, 2023
a9bba59
chore: update `tracing-subscriber` dependency
obycode Dec 8, 2023
373c7be
feat: handle new nakamoto wire format
hugocaillard Dec 13, 2023
a744461
feat: pox-4
hugocaillard Dec 15, 2023
94be62f
feat: update bitcoin image
hugocaillard Dec 15, 2023
64068ad
chore: update cargo.lock
hugocaillard Dec 19, 2023
7506659
fix: pox-4 stacking
hugocaillard Dec 19, 2023
0a12455
fix: adjust the timing of the stacking orders (#1297)
obycode Dec 21, 2023
f838929
fix: typo
hugocaillard Dec 21, 2023
9c4009d
fix: audit
hugocaillard Dec 21, 2023
fed4c4b
chore: upgrade dependencies
hugocaillard Dec 21, 2023
42fe4e3
chore: ugprade chainhook-types
hugocaillard Dec 22, 2023
0b3c97d
chore: adjust default pox-3 height
hugocaillard Dec 22, 2023
771ea74
fix: update default stacking settings
hugocaillard Dec 22, 2023
04dd3ec
feat: clar2wasm in simnet
hugocaillard Dec 22, 2023
1d7c62e
feat: update default docker image for nakamoto
hugocaillard Dec 22, 2023
3e48eb1
fix: set the burnchain mode for pre-nakamoto correctly
obycode Dec 23, 2023
bd8f749
feat: upgrade ratatui and add pox informations in devnet ui
hugocaillard Jan 9, 2024
c736b26
fix: set the sender correctly for contract calls (#1300)
obycode Jan 5, 2024
fcb1514
refactor: remove temp code
hugocaillard Jan 9, 2024
8c16cb8
feat: support latest stacks-core change, improve stacking logics, rem…
hugocaillard Jan 11, 2024
2f0ad1e
refactor: fmt
hugocaillard Jan 12, 2024
3315c5c
refactor: remove dead code
hugocaillard Jan 12, 2024
5d87a8a
refactor: fix conditional compiliation for clar2wasm
hugocaillard Jan 12, 2024
7b0a3bb
chore: update dependencies
hugocaillard Jan 12, 2024
649e861
feat: add disable_clarity-wasm method
hugocaillard Jan 12, 2024
96eada8
chore: finish switch to ratatui and upgrade tokio
hugocaillard Jan 16, 2024
b38f3c1
fix: pox_info fetching issues
hugocaillard Jan 17, 2024
d6f795f
fix: remove unwanted log file
hugocaillard Jan 17, 2024
909610d
fix: expose NAKA_ images
hugocaillard Jan 17, 2024
248562a
fix: typo
hugocaillard Jan 17, 2024
8d70d71
refactor: remove comment
hugocaillard Jan 17, 2024
de40306
fix: typo
hugocaillard Jan 17, 2024
e5e6003
fix: typo
hugocaillard Jan 17, 2024
0f34af6
fix: stacks-node config
hugocaillard Jan 17, 2024
9f39bcd
fix: send stacking order at cycle position 1
hugocaillard Jan 18, 2024
c169884
fix: typo
hugocaillard Jan 19, 2024
1dbb3b7
refactor: remove unecessary logs
hugocaillard Jan 19, 2024
f9284fa
chore: upgrade shlex dependency to fix audit
hugocaillard Jan 22, 2024
8899e30
chore: revert changes to the devnet bitcoin docker image
hugocaillard Jan 22, 2024
63f76ca
chore: update default bitcoin images
hugocaillard Jan 22, 2024
3a7f9fe
refactor: optimize stacking orders logic
hugocaillard Jan 22, 2024
9de03e8
fix: clarinet image build
hugocaillard Jan 22, 2024
be2d7e8
refactor: variable naming
hugocaillard Jan 22, 2024
03d70b2
chore: fix cargo audit
hugocaillard Jan 22, 2024
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
2,353 changes: 1,838 additions & 515 deletions Cargo.lock

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions components/clarinet-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ serde_derive = "1"
log = { version = "=0.4.17", features = ["serde"] }
signal-hook-registry = "1.4.0"
secure_tempfile = { version = "3.8.0", package = "tempfile" }
tokio-util = { version = "0.7.1", features = ["io"], optional = true }
libsecp256k1 = "0.7.0"
hmac = "0.12.0"
pbkdf2 = { version = "0.12.2", features = ["simple"], default-features = false }
futures = "0.3.12"
tokio = { version = "1.24", features = ["full"] }
tokio = { version = "1.35.1", features = ["full"] }
tokio-util = { version = "0.7.10", features = ["io"], optional = true }
lazy_static = "1.4.0"
atty = "0.2.14"
termcolor = "1.1.2"
Expand All @@ -47,7 +47,8 @@ reqwest = { version = "0.11", default-features = false, features = [
"json",
"rustls-tls",
] }
crossterm = "0.22.1"
crossterm = "0.27.0"
ratatui = { version = "0.25.0", default-features = false, features = ["crossterm"] }
base58 = "0.2.0"
ctrlc = "3.1.9"
strum = { version = "0.23.0", features = ["derive"] }
Expand Down Expand Up @@ -75,11 +76,6 @@ hiro-system-kit = { path = "../hiro-system-kit" }
clarinet-utils = { path = "../clarinet-utils" }
stacks-network = { path = "../stacks-network" }

[dependencies.tui]
version = "0.18.0"
default-features = false
features = ["crossterm"]

[target.'cfg(unix)'.dependencies]
nix = "=0.24.2"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ disable_stacks_api = false
# epoch_2_0 = 100
# epoch_2_05 = 102
# epoch_2_1 = 106
# pox_2_activation = 109


# Send some stacking orders
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-cli/src/deployments/ui/app.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clarinet_deployments::onchain::TransactionTracker;
use tui::widgets::ListState;
use ratatui::widgets::ListState;

pub struct StatefulList<T> {
pub state: ListState,
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-cli/src/deployments/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ use crossterm::{
execute,
terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen},
};
use ratatui::{backend::CrosstermBackend, Terminal};
use std::io::stdout;
use std::sync::mpsc::Receiver;
use tui::{backend::CrosstermBackend, Terminal};

pub fn start_ui(
node_url: &str,
Expand Down
14 changes: 5 additions & 9 deletions components/clarinet-cli/src/deployments/ui/ui.rs
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
use clarinet_deployments::onchain::TransactionStatus;

use super::App;
use tui::{
backend::Backend,
use ratatui::{
layout::{Constraint, Rect},
style::{Color, Style},
widgets::{Block, Cell, Row, Table},
Frame,
};

pub fn draw<B: Backend>(f: &mut Frame<B>, app: &mut App) {
pub fn draw(f: &mut Frame, app: &mut App) {
draw_contracts_status(f, app, f.size());
}

fn draw_contracts_status<B>(f: &mut Frame<B>, app: &mut App, area: Rect)
where
B: Backend,
{
fn draw_contracts_status(f: &mut Frame, app: &mut App, area: Rect) {
let rows = app.transactions.items.iter().map(|tx| {
let (status, default_comment) = match &tx.status {
TransactionStatus::Queued => ("🟪", "Transaction indexed".to_string()),
Expand All @@ -39,10 +35,10 @@ where
.bottom_margin(0)
});

let t = Table::new(rows)
let t = Table::new(rows, vec![] as Vec<&Constraint>)
.block(Block::default().title(format!("Broadcasting transactions to {}", app.node_url)))
.style(Style::default().fg(Color::White))
.widths(&[
.widths([
Constraint::Length(3),
Constraint::Length(90),
Constraint::Length(110),
Expand Down
5 changes: 3 additions & 2 deletions components/clarinet-cli/src/frontend/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1081,12 +1081,13 @@ pub fn main() {
}
};
let contract_id = QualifiedContractIdentifier::transient();
let epoch = DEFAULT_EPOCH;
let contract = ClarityContract {
code_source: ClarityCodeSource::ContractInMemory(code_source),
deployer: ContractDeployer::Transient,
name: "transient".to_string(),
clarity_version: ClarityVersion::Clarity1,
epoch: DEFAULT_EPOCH,
clarity_version: ClarityVersion::default_for_epoch(epoch),
epoch,
};
let (ast, mut diagnostics, mut success) = session.interpreter.build_ast(&contract);
let (annotations, mut annotation_diagnostics) = session
Expand Down
2 changes: 1 addition & 1 deletion components/clarinet-cli/src/generate/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mod contract;
mod project;

use chainhook::GetChangesForNewChainhook;
pub use changes::{Changes, DirectoryCreation, FileCreation, TOMLEdition};
pub use changes::Changes;
use clarinet_files::chainhook_types::Chain;
use clarinet_files::FileLocation;
use contract::GetChangesForNewContract;
Expand Down
36 changes: 15 additions & 21 deletions components/clarinet-cli/src/generate/project.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use clarinet_files::{
DEFAULT_BITCOIN_EXPLORER_IMAGE, DEFAULT_BITCOIN_NODE_IMAGE, DEFAULT_DERIVATION_PATH,
DEFAULT_EPOCH_2_0, DEFAULT_EPOCH_2_05, DEFAULT_EPOCH_2_1, DEFAULT_EPOCH_2_2, DEFAULT_EPOCH_2_3,
DEFAULT_EPOCH_2_4, DEFAULT_FAUCET_MNEMONIC, DEFAULT_POSTGRES_IMAGE, DEFAULT_POX2_ACTIVATION,
DEFAULT_STACKS_API_IMAGE, DEFAULT_STACKS_EXPLORER_IMAGE, DEFAULT_STACKS_MINER_MNEMONIC,
DEFAULT_STACKS_NODE_IMAGE, DEFAULT_SUBNET_API_IMAGE, DEFAULT_SUBNET_CONTRACT_ID,
DEFAULT_SUBNET_MNEMONIC, DEFAULT_SUBNET_NODE_IMAGE,
DEFAULT_EPOCH_2_4, DEFAULT_EPOCH_2_5, DEFAULT_EPOCH_3_0, DEFAULT_FAUCET_MNEMONIC,
DEFAULT_POSTGRES_IMAGE, DEFAULT_STACKS_API_IMAGE, DEFAULT_STACKS_EXPLORER_IMAGE,
DEFAULT_STACKS_MINER_MNEMONIC, DEFAULT_STACKS_NODE_IMAGE, DEFAULT_SUBNET_API_IMAGE,
DEFAULT_SUBNET_CONTRACT_ID, DEFAULT_SUBNET_MNEMONIC, DEFAULT_SUBNET_NODE_IMAGE,
};

use super::changes::{Changes, DirectoryCreation, FileCreation};
Expand Down Expand Up @@ -403,32 +403,33 @@ disable_stacks_api = false
# subnet_api_postgres_database = "subnet_api"

# For testing in epoch 2.1 / using Clarity2
# epoch_2_0 = {default_epoch_2_0}
# epoch_2_05 = {default_epoch_2_05}
# epoch_2_1 = {default_epoch_2_1}
# pox_2_activation = {default_pox2_activation}
# epoch_2_2 = {default_epoch_2_2}
# epoch_2_3 = {default_epoch_2_3}
# epoch_2_4 = {default_epoch_2_4}
# epoch_2_0 = {DEFAULT_EPOCH_2_0}
MicaiahReid marked this conversation as resolved.
Show resolved Hide resolved
# epoch_2_05 = {DEFAULT_EPOCH_2_05}
# epoch_2_1 = {DEFAULT_EPOCH_2_1}
# epoch_2_2 = {DEFAULT_EPOCH_2_2}
# epoch_2_3 = {DEFAULT_EPOCH_2_3}
# epoch_2_4 = {DEFAULT_EPOCH_2_4}
# epoch_2_5 = {DEFAULT_EPOCH_2_5}
# epoch_3_0 = {DEFAULT_EPOCH_3_0}


# Send some stacking orders
[[devnet.pox_stacking_orders]]
start_at_cycle = 3
start_at_cycle = 0
duration = 12
wallet = "wallet_1"
slots = 2
btc_address = "mr1iPkD9N3RJZZxXRk7xF9d36gffa6exNC"

[[devnet.pox_stacking_orders]]
start_at_cycle = 3
start_at_cycle = 1
duration = 12
wallet = "wallet_2"
slots = 1
btc_address = "muYdXKmX9bByAueDe6KFfHd5Ff1gdN9ErG"

[[devnet.pox_stacking_orders]]
start_at_cycle = 3
start_at_cycle = 2
duration = 12
wallet = "wallet_3"
slots = 1
Expand All @@ -447,13 +448,6 @@ btc_address = "mvZtbibDAAA3WLpY7zXXFqRa3T4XSknBX7"
default_subnet_api_image = DEFAULT_SUBNET_API_IMAGE,
default_stacks_miner_mnemonic = DEFAULT_STACKS_MINER_MNEMONIC,
default_stacks_faucet_mnemonic = DEFAULT_FAUCET_MNEMONIC,
default_epoch_2_0 = DEFAULT_EPOCH_2_0,
default_epoch_2_05 = DEFAULT_EPOCH_2_05,
default_epoch_2_1 = DEFAULT_EPOCH_2_1,
default_pox2_activation = DEFAULT_POX2_ACTIVATION,
default_epoch_2_2 = DEFAULT_EPOCH_2_2,
default_epoch_2_3 = DEFAULT_EPOCH_2_3,
default_epoch_2_4 = DEFAULT_EPOCH_2_4,
);
let name = "Devnet.toml".into();
let path = format!(
Expand Down
6 changes: 3 additions & 3 deletions components/clarinet-deployments/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use clarity_repl::clarity::stacks_common::types::StacksEpochId;
use clarity_repl::clarity::StacksEpochId;
use clarity_repl::repl::{ClarityCodeSource, ClarityContract, ContractDeployer};
use clarity_repl::repl::{DEFAULT_CLARITY_VERSION, DEFAULT_EPOCH};

Expand Down Expand Up @@ -119,10 +119,10 @@ pub fn update_session_with_contracts_executions(
) -> BTreeMap<QualifiedContractIdentifier, Result<ExecutionResult, Vec<Diagnostic>>> {
let boot_contracts_data = BOOT_CONTRACTS_DATA.clone();

for (_, (boot_contract, mut ast)) in boot_contracts_data {
for (_, (boot_contract, ast)) in boot_contracts_data {
session
.interpreter
.run_ast(&boot_contract, &mut ast, &mut vec![], true, false, None)
.run(&boot_contract, &mut Some(ast), false, None)
.expect("failed to interprete boot contract");
}

Expand Down
10 changes: 5 additions & 5 deletions components/clarinet-deployments/src/onchain/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use bitcoincore_rpc::{Auth, Client};
use clarinet_files::chainhook_types::StacksNetwork;
use clarinet_files::{AccountConfig, NetworkManifest};
use clarinet_utils::get_bip39_seed_from_mnemonic;
use clarity_repl::clarity::chainstate::StacksAddress;
use clarity_repl::clarity::codec::StacksMessageCodec;
use clarity_repl::clarity::stacks_common::types::chainstate::StacksAddress;
use clarity_repl::clarity::util::secp256k1::{
MessageSignature, Secp256k1PrivateKey, Secp256k1PublicKey,
};
Expand Down Expand Up @@ -537,9 +537,7 @@ pub fn apply_on_chain_deployment(
let _ =
deployment_event_tx.send(DeploymentEvent::Interrupted(format!(
"unable to encode contract_call {}::{} ({})",
tx.contract_id.to_string(),
tx.method,
e
tx.contract_id, tx.method, e
)));
return;
}
Expand All @@ -548,7 +546,7 @@ pub fn apply_on_chain_deployment(
accounts_cached_nonces.insert(issuer_address.clone(), nonce + 1);
let name = format!(
"Call ({} {} {})",
tx.contract_id.to_string(),
tx.contract_id,
tx.method,
tx.parameters.join(" ")
);
Expand Down Expand Up @@ -758,6 +756,8 @@ pub fn apply_on_chain_deployment(
EpochSpec::Epoch2_2 => network_manifest.devnet.as_ref().unwrap().epoch_2_2,
EpochSpec::Epoch2_3 => network_manifest.devnet.as_ref().unwrap().epoch_2_3,
EpochSpec::Epoch2_4 => network_manifest.devnet.as_ref().unwrap().epoch_2_4,
EpochSpec::Epoch2_5 => network_manifest.devnet.as_ref().unwrap().epoch_2_5,
EpochSpec::Epoch3_0 => network_manifest.devnet.as_ref().unwrap().epoch_3_0,
};
let mut epoch_transition_successful =
current_bitcoin_block_height > after_bitcoin_block;
Expand Down
28 changes: 22 additions & 6 deletions components/clarinet-deployments/src/requirements.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
use clarinet_files::{FileAccessor, FileLocation};
use clarity_repl::clarity::stacks_common::types::StacksEpochId;
use clarity_repl::clarity::{vm::types::QualifiedContractIdentifier, ClarityVersion};
use clarity_repl::{
clarity::{vm::types::QualifiedContractIdentifier, ClarityVersion, StacksEpochId},
repl::{DEFAULT_CLARITY_VERSION, DEFAULT_EPOCH},
};
use reqwest;

#[derive(Debug, Clone, Serialize, Deserialize)]
Expand All @@ -12,8 +14,8 @@ pub struct ContractMetadata {
impl Default for ContractMetadata {
fn default() -> Self {
ContractMetadata {
epoch: StacksEpochId::latest(),
clarity_version: ClarityVersion::latest(),
epoch: DEFAULT_EPOCH,
clarity_version: DEFAULT_CLARITY_VERSION,
}
}
}
Expand Down Expand Up @@ -119,13 +121,19 @@ pub const MAINNET_21_START_HEIGHT: u32 = 99_113;
pub const MAINNET_22_START_HEIGHT: u32 = 103_900;
pub const MAINNET_23_START_HEIGHT: u32 = 104_359;
pub const MAINNET_24_START_HEIGHT: u32 = 107_055;
// @TODO: set right heights once epochs are live on mainnet
hugocaillard marked this conversation as resolved.
Show resolved Hide resolved
pub const MAINNET_25_START_HEIGHT: u32 = 200_000;
pub const MAINNET_30_START_HEIGHT: u32 = 300_000;

pub const TESTNET_20_START_HEIGHT: u32 = 1;
pub const TESTNET_2_05_START_HEIGHT: u32 = 20_216;
pub const TESTNET_21_START_HEIGHT: u32 = 99_113;
pub const TESTNET_22_START_HEIGHT: u32 = 105_923;
pub const TESTNET_23_START_HEIGHT: u32 = 106_196;
pub const TESTNET_24_START_HEIGHT: u32 = 106_979;
// @TODO: set right heights once epochs are live on testnet
pub const TESTNET_25_START_HEIGHT: u32 = 200_000;
pub const TESTNET_30_START_HEIGHT: u32 = 300_000;

fn epoch_for_height(is_mainnet: bool, height: u32) -> StacksEpochId {
if is_mainnet {
Expand All @@ -146,8 +154,12 @@ fn epoch_for_mainnet_height(height: u32) -> StacksEpochId {
StacksEpochId::Epoch22
} else if height < MAINNET_24_START_HEIGHT {
StacksEpochId::Epoch23
} else {
} else if height < MAINNET_25_START_HEIGHT {
StacksEpochId::Epoch24
} else if height < MAINNET_30_START_HEIGHT {
StacksEpochId::Epoch25
} else {
StacksEpochId::Epoch30
}
}

Expand All @@ -162,8 +174,12 @@ fn epoch_for_testnet_height(height: u32) -> StacksEpochId {
StacksEpochId::Epoch22
} else if height < TESTNET_24_START_HEIGHT {
StacksEpochId::Epoch23
} else {
} else if height < TESTNET_25_START_HEIGHT {
StacksEpochId::Epoch24
} else if height < TESTNET_30_START_HEIGHT {
StacksEpochId::Epoch25
} else {
StacksEpochId::Epoch30
}
}

Expand Down
13 changes: 10 additions & 3 deletions components/clarinet-deployments/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use clarinet_files::chainhook_types::StacksNetwork;
use clarinet_files::FileLocation;
use clarity_repl::clarity::stacks_common::types::StacksEpochId;
use clarity_repl::clarity::util::hash::{hex_bytes, to_hex};
use clarity_repl::clarity::vm::analysis::ContractAnalysis;
use clarity_repl::clarity::vm::ast::ContractAST;
Expand All @@ -8,9 +8,8 @@ use clarity_repl::clarity::vm::types::{
PrincipalData, QualifiedContractIdentifier, StandardPrincipalData,
};

use clarinet_files::chainhook_types::StacksNetwork;
use clarity_repl::analysis::ast_dependency_detector::DependencySet;
use clarity_repl::clarity::{ClarityName, ClarityVersion, ContractName};
use clarity_repl::clarity::{ClarityName, ClarityVersion, ContractName, StacksEpochId};
use clarity_repl::repl::{Session, DEFAULT_CLARITY_VERSION};
use serde::{Deserialize, Serialize};
use serde_yaml;
Expand All @@ -31,6 +30,10 @@ pub enum EpochSpec {
Epoch2_3,
#[serde(rename = "2.4")]
Epoch2_4,
#[serde(rename = "2.5")]
Epoch2_5,
#[serde(rename = "3.0")]
Epoch3_0,
}

impl From<StacksEpochId> for EpochSpec {
Expand All @@ -42,6 +45,8 @@ impl From<StacksEpochId> for EpochSpec {
StacksEpochId::Epoch22 => EpochSpec::Epoch2_2,
StacksEpochId::Epoch23 => EpochSpec::Epoch2_3,
StacksEpochId::Epoch24 => EpochSpec::Epoch2_4,
StacksEpochId::Epoch25 => EpochSpec::Epoch2_5,
StacksEpochId::Epoch30 => EpochSpec::Epoch3_0,
StacksEpochId::Epoch10 => unreachable!("epoch 1.0 is not supported"),
}
}
Expand All @@ -56,6 +61,8 @@ impl From<EpochSpec> for StacksEpochId {
EpochSpec::Epoch2_2 => StacksEpochId::Epoch22,
EpochSpec::Epoch2_3 => StacksEpochId::Epoch23,
EpochSpec::Epoch2_4 => StacksEpochId::Epoch24,
EpochSpec::Epoch2_5 => StacksEpochId::Epoch25,
EpochSpec::Epoch3_0 => StacksEpochId::Epoch30,
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions components/clarinet-files/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ edition = "2021"
[dependencies]
serde = "1"
serde_derive = "1"
chainhook-types = "1.2"
# chainhook-types = { version = "=1.2", path = "../../../chainhook/components/chainhook-types-rs" }
# chainhook-types = "1.2"
chainhook-types = { version = "1.2", git = "https://github.com/hirosystems/chainhook.git", rev="a938e61846a430750ad31d84b2032efabf6d039f" }
hugocaillard marked this conversation as resolved.
Show resolved Hide resolved
bip39 = { version = "1.0.1", default-features = false }
libsecp256k1 = "0.7.0"
toml = { version = "0.5.6", features = ["preserve_order"] }
Expand Down
Loading
Loading