// SPDX-License-Identifier: AGPL-3.0-or-later
//! Helper methods for generating common p2panda data objects.
//!
//! Used when generating fixtures and in the mock node and client implementations.
//!
//! The primary reason we separate this from the main fixture logic is that these methods can be
//! imported and used outside of testing modules, whereas the fixture macros can only be injected
//! into `rstest` defined methods.
use Serialize;
use crate;
use crateHash;
/// A custom `Result` type to be able to dynamically propagate `Error` types.
pub type Result<T> = Result;
/// Struct which contains the values for the next entry args needed when publishing a new entry.