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

Bump ckb dependencies to v0.116.1 #115

Merged
merged 1 commit into from
May 13, 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
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ckb-sdk"
version = "3.1.1"
version = "3.2.0"
authors = [ "Linfeng Qian <[email protected]>", "Nervos Core Dev <[email protected]>" ]
edition = "2018"
license = "MIT"
Expand Down Expand Up @@ -29,22 +29,22 @@ lru = "0.7.1"
dashmap = "5.4"
dyn-clone = "1.0"

ckb-types = "0.115.0-rc2"
ckb-dao-utils = "0.115.0-rc2"
ckb-traits = "0.115.0-rc2"
ckb-jsonrpc-types = "0.115.0-rc2"
ckb-hash = "0.115.0-rc2"
ckb-resource = "0.115.0-rc2"
ckb-crypto = { version = "=0.115.0-rc2", features = ["secp"] }
ckb-script = "0.115.0-rc2"
ckb-types = "0.116.1"
ckb-dao-utils = "0.116.1"
ckb-traits = "0.116.1"
ckb-jsonrpc-types = "0.116.1"
ckb-hash = "0.116.1"
ckb-resource = "0.116.1"
ckb-crypto = { version = "=0.116.1", features = ["secp"] }
ckb-script = "0.116.1"
bitflags = "1.3.2"
sha3 = "0.10.1"
enum-repr-derive = "0.2.0"

# for feature test
rand = { version = "0.7.3", optional = true }
ckb-mock-tx-types = "0.115.0-rc2"
ckb-chain-spec = "0.115.0-rc2"
ckb-mock-tx-types = { version = "0.116.1" }
ckb-chain-spec = "0.116.1"

sparse-merkle-tree = "0.6.1"
lazy_static = "1.3.0"
Expand Down
12 changes: 7 additions & 5 deletions src/rpc/ckb.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
use ckb_jsonrpc_types::{
Alert, BannedAddr, Block, BlockEconomicState, BlockFilter, BlockNumber, BlockResponse,
BlockTemplate, BlockView, Capacity, CellWithStatus, ChainInfo, Consensus,
DaoWithdrawingCalculationKind, DeploymentsInfo, EpochNumber, EpochNumberWithFraction,
EpochView, EstimateCycles, ExtraLoggerConfig, FeeRateStatistics, HeaderView, JsonBytes,
LocalNode, MainLoggerConfig, OutPoint, OutputsValidator, PoolTxDetailInfo, RawTxPool,
RemoteNode, SyncState, Timestamp, Transaction, TransactionAndWitnessProof, TransactionProof,
TransactionWithStatusResponse, TxPoolInfo, Uint32, Uint64, Version,
DaoWithdrawingCalculationKind, DeploymentsInfo, EntryCompleted, EpochNumber,
EpochNumberWithFraction, EpochView, EstimateCycles, ExtraLoggerConfig, FeeRateStatistics,
HeaderView, JsonBytes, LocalNode, MainLoggerConfig, OutPoint, OutputsValidator,
PoolTxDetailInfo, RawTxPool, RemoteNode, SyncState, Timestamp, Transaction,
TransactionAndWitnessProof, TransactionProof, TransactionWithStatusResponse, TxPoolInfo,
Uint32, Uint64, Version,
};
use ckb_types::{core::Cycle, H256};

Expand Down Expand Up @@ -78,6 +79,7 @@ crate::jsonrpc!(pub struct CkbRpcClient {
pub fn clear_tx_pool(&self) -> ();
pub fn get_raw_tx_pool(&self, verbose: Option<bool>) -> RawTxPool;
pub fn tx_pool_ready(&self) -> bool;
pub fn test_tx_pool_accept(&self, tx: Transaction, outputs_validator: Option<OutputsValidator>) -> EntryCompleted;

// Stats
pub fn get_blockchain_info(&self) -> ChainInfo;
Expand Down
Loading