Remove batch splitting system (#475)
* First pass at removing batch splitting * Refactor to separate module loading from request parsing * Consolidate module functionality * Tidy up comments * Use array of modules instead of HashMap * Formatting * Use module hashes when importing modules
This commit is contained in:
parent
5dab8195b4
commit
acab26e5c1
17 changed files with 1425 additions and 1938 deletions
|
|
@ -12,7 +12,7 @@ use crate::{
|
|||
frontend::{
|
||||
MainPod, MainPodBuilder, Operation, PodRequest, Result, SignedDict, SignedDictBuilder,
|
||||
},
|
||||
lang::parse,
|
||||
lang::parse_request,
|
||||
middleware::{
|
||||
self, containers::Set, hash_values, CustomPredicateRef, Params, Predicate, PublicKey,
|
||||
Signer as _, Statement, StatementArg, TypedValue, VDSet, Value,
|
||||
|
|
@ -90,8 +90,7 @@ pub fn zu_kyc_pod_request(gov_signer: &Value, pay_signer: &Value) -> Result<PodR
|
|||
)
|
||||
"#,
|
||||
);
|
||||
let parsed = parse(&input, &Params::default(), &[])?;
|
||||
Ok(parsed.request)
|
||||
Ok(parse_request(&input, &Params::default(), &[])?)
|
||||
}
|
||||
|
||||
// ETHDoS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue