chore(dao): drop unused as_constr import from governor.rs top-level
This commit is contained in:
parent
d1167b5a15
commit
14902f4e01
1 changed files with 2 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
use pallas_primitives::PlutusData;
|
||||
|
||||
use crate::agora::plutus_data::{as_constr, as_int, as_product, constr, int, product};
|
||||
use crate::agora::plutus_data::{as_int, as_product, constr, int, product};
|
||||
use crate::agora::proposal::{ProposalThresholds, ProposalTimingConfig};
|
||||
use crate::error::{DaoError, DaoResult};
|
||||
|
||||
|
|
@ -101,6 +101,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn governor_redeemer_indices() {
|
||||
use crate::agora::plutus_data::as_constr;
|
||||
for (r, i) in [
|
||||
(GovernorRedeemer::CreateProposal, 0u64),
|
||||
(GovernorRedeemer::MintGATs, 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue