Skip to content

Commit

Permalink
feat(gtest): Introduce full waitlist management to gtest (#4194)
Browse files Browse the repository at this point in the history
  • Loading branch information
techraed authored Aug 28, 2024
1 parent d444bda commit 7d45a41
Show file tree
Hide file tree
Showing 25 changed files with 1,555 additions and 1,213 deletions.
1 change: 1 addition & 0 deletions common/src/auxiliary/waitlist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ impl AuxiliaryDoubleStorageWrap for WaitlistStorageWrap {
}

/// An implementor of the error returned from calling `Waitlist` trait functions
#[derive(Debug)]
pub enum WaitlistErrorImpl {
DuplicateKey,
ElementNotFound,
Expand Down
11 changes: 2 additions & 9 deletions gtest/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,28 +492,21 @@
#![doc(html_logo_url = "https://docs.gear.rs/logo.svg")]
#![doc(html_favicon_url = "https://gear-tech.io/favicons/favicon.ico")]

mod accounts;
mod actors;
mod bank;
mod blocks;
mod error;
mod gas_tree;
mod log;
mod mailbox;
mod manager;
mod program;
mod state;
mod system;
mod task_pool;
mod waitlist;

pub use crate::log::{BlockRunResult, CoreLog, Log};
pub use codec;
pub use error::{Result, TestError};
pub use mailbox::ActorMailbox;
pub use program::{
calculate_program_id, gbuild::ensure_gbuild, Gas, Program, ProgramBuilder, ProgramIdWrapper,
WasmProgram,
};
pub use state::mailbox::ActorMailbox;
pub use system::System;

pub use constants::Value;
Expand Down
Loading

0 comments on commit 7d45a41

Please sign in to comment.