Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 30, 2023
1 parent cfa4f7a commit 8ebb68f
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 37 deletions.
40 changes: 24 additions & 16 deletions Cargo.lock

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

6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,4 @@ wasm-bindgen-test = "0.3"
features = [ "all" ]

[patch.crates-io]
strict_encoding = { git = "https://github.com/strict-types/strict-encoding", branch = "phantom" }
commit_verify = { git = "https://github.com/LNP-BP/client_side_validation", branch = "v0.11" }
bp-consensus = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-dbc = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-seals = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
bp-core = { git = "https://github.com/BP-WG/bp-core", branch = "v0.11" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "v0.11" }
2 changes: 1 addition & 1 deletion src/containers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ pub use disclosure::Disclosure;
pub use indexed::IndexedConsignment;
pub use partials::{Batch, CloseMethodSet, Fascia, TransitionInfo};
pub use seal::{BuilderSeal, TerminalSeal, VoutSeal};
pub use util::{ContainerVer, Terminal, XOutpoint};
pub use util::{ContainerVer, Terminal};
4 changes: 2 additions & 2 deletions src/containers/partials.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ use amplify::confinement::{Confined, U24};
use bp::seals::txout::CloseMethod;
use commit_verify::mpc;
use rgb::{
ContractId, OpId, Operation, Transition, TransitionBundle, TxoSeal, XAnchor, XOutputSeal,
ContractId, OpId, Operation, Transition, TransitionBundle, TxoSeal, XAnchor, XOutpoint,
XOutputSeal,
};
use strict_encoding::{StrictDeserialize, StrictDumb, StrictSerialize};

use crate::containers::XOutpoint;
use crate::LIB_NAME_RGB_STD;

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
Expand Down
5 changes: 1 addition & 4 deletions src/containers/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
// limitations under the License.

use amplify::confinement::SmallOrdSet;
use bp::{Outpoint, Tx};
use rgb::XChain;
use bp::Tx;

use super::TerminalSeal;
use crate::LIB_NAME_RGB_STD;
Expand Down Expand Up @@ -70,5 +69,3 @@ pub enum ContainerVer {
#[default]
V2 = 2,
}

pub type XOutpoint = XChain<Outpoint>;
3 changes: 1 addition & 2 deletions src/interface/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ use amplify::confinement::{LargeOrdMap, LargeVec, SmallVec};
use bp::Outpoint;
use rgb::{
AssetTag, AssignmentType, AttachId, BlindingFactor, ContractId, ContractState, FungibleOutput,
MediaType, RevealedAttach, RevealedData, WitnessId, XOutputSeal,
MediaType, RevealedAttach, RevealedData, WitnessId, XOutpoint, XOutputSeal,
};
use strict_encoding::FieldName;
use strict_types::typify::TypedVal;
use strict_types::{decode, StrictVal};

use crate::containers::XOutpoint;
use crate::interface::{IfaceId, IfaceImpl};

#[derive(Clone, Eq, PartialEq, Debug, Display, Error, From)]
Expand Down
4 changes: 2 additions & 2 deletions src/persistence/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ use invoice::{Beneficiary, InvoiceState, RgbInvoice};
use rgb::{
validation, AnchoredBundle, AssignmentType, BlindingFactor, BundleId, ContractId, GraphSeal,
OpId, Operation, Opout, SchemaId, SecretSeal, SubSchema, Transition, TransitionBundle,
WitnessId, XAnchor, XChain, XOutputSeal,
WitnessId, XAnchor, XChain, XOutpoint, XOutputSeal,
};
use strict_encoding::TypeName;

use crate::accessors::{BundleExt, MergeRevealError, RevealError};
use crate::containers::{
Batch, Bindle, BuilderSeal, Cert, Consignment, ContentId, Contract, Fascia, Terminal,
TerminalSeal, Transfer, TransitionInfo, XOutpoint,
TerminalSeal, Transfer, TransitionInfo,
};
use crate::interface::{
BuilderError, ContractIface, Iface, IfaceId, IfaceImpl, IfacePair, IfaceWrapper,
Expand Down
6 changes: 2 additions & 4 deletions src/persistence/stock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ use rgb::{
validation, AnchoredBundle, Assign, AssignmentType, BundleId, ContractHistory, ContractId,
ContractState, ExposedState, Extension, Genesis, GenesisSeal, GraphSeal, OpId, Operation,
Opout, SecretSeal, SubSchema, Transition, TransitionBundle, TypedAssigns, WitnessAnchor,
WitnessId, XAnchor, XChain, XOutputSeal,
WitnessId, XAnchor, XChain, XOutpoint, XOutputSeal,
};
use strict_encoding::{StrictDeserialize, StrictSerialize};

use crate::containers::{
Bindle, Cert, Consignment, ContentId, Contract, TerminalSeal, Transfer, XOutpoint,
};
use crate::containers::{Bindle, Cert, Consignment, ContentId, Contract, TerminalSeal, Transfer};
use crate::interface::{
ContractIface, Iface, IfaceId, IfaceImpl, IfacePair, SchemaIfaces, TypedState,
};
Expand Down

0 comments on commit 8ebb68f

Please sign in to comment.