Skip to content

Commit

Permalink
Merge pull request #283 from RGB-WG/fix/280
Browse files Browse the repository at this point in the history
Remove consignment-based resolver
  • Loading branch information
dr-orlovsky authored Nov 4, 2024
2 parents ddee889 + f312aa3 commit 2cadb29
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 60 deletions.
5 changes: 0 additions & 5 deletions src/containers/consignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ use super::{
};
use crate::interface::{Iface, IfaceImpl};
use crate::persistence::{MemContract, MemContractState};
use crate::resolvers::ConsignmentResolver;
use crate::{SecretSeal, LIB_NAME_RGB_STD};

pub type Transfer = Consignment<true>;
Expand Down Expand Up @@ -331,10 +330,6 @@ impl<const TRANSFER: bool> Consignment<TRANSFER> {
testnet: bool,
) -> Result<ValidConsignment<TRANSFER>, (validation::Status, Consignment<TRANSFER>)> {
let index = IndexedConsignment::new(&self);
let resolver = ConsignmentResolver {
consignment: &index,
fallback: resolver,
};
let mut status = Validator::<MemContract<MemContractState>, _, _>::validate(
&index,
&resolver,
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ pub mod stl;
pub mod interface;
pub mod containers;
pub mod persistence;
pub mod resolvers;
mod contract;
pub mod info;

Expand Down
54 changes: 0 additions & 54 deletions src/resolvers.rs

This file was deleted.

0 comments on commit 2cadb29

Please sign in to comment.