Mavryk_alpha_test_helpersmodule Account : sig ... endmodule Account_helpers : sig ... endAccount_helpers defines a type abstracting the information of an account in the protocol. This includes its pkh, delegate, any funds, staking parameters, etc...
module Adaptive_issuance_helpers : sig ... endmodule Assert : sig ... endmodule Big_map_helpers : sig ... endmodule Block : sig ... endmodule Consensus_helpers : sig ... endmodule Constants_helpers : sig ... endmodule Context : sig ... endmodule Contract_helpers : sig ... endmodule Cpmm_logic : sig ... endmodule Cpmm_repr : sig ... endmodule Dal_helpers : sig ... endmodule Dummy_zk_rollup : sig ... endDummy ZK Rollup for testing the ZKRU integration in the protocol. The library Plompiler is used to build the circuits (in a module V as verifier) and the corresponding functions to produce the inputs for the circuits (in a module P as prover).
module Expr : sig ... endmodule Expr_common : sig ... endmodule Incremental : sig ... endmodule Liquidity_baking_generator : sig ... endThis module provides a set of abstractions to reason about the so-called “liquidity baking” feature1.
module Liquidity_baking_machine : sig ... endThis module provides the means to test extensively the Liquidity Baking (LB) feature. We recall that this feature is built upon three smart contracts: (1) a CPMM contract initially based on Dexter 2, and (2) two tokens contracts. Our objective is to run “scenarios” consisting in interleaved, realistic calls to these contracts, and to assert these scenarios do not yield any undesirable behaviors.
module Log_helpers : sig ... endmodule Lqt_fa12_repr : sig ... endmodule Lwt_result_wrap_syntax : sig ... endExtends the Lwt_result_syntax with additional utilities for wrapping results produced by the protocol, i.e. Environment.Error_monad.tzresult, to tzresult Lwt.t values used in the tests.
module Merkle_list_helper : sig ... endmodule Nonce : sig ... endmodule Op : sig ... endmodule Operation_generator : sig ... endThese generators aims at generating operations which are not necessary correct. The goal is to tests functions such as
Operation.compare with as much as possible parameters that play a role in operation weight computation.
module Result_wrap_syntax : sig ... endExtends the Result_syntax with additional utilities for wrapping results produced by the protocol, i.e. Environment.Error_monad.tzresult, to tzresult values used in the tests.
module Rewards : sig ... endThe tables are precomputed using this the following formulas:
module Sapling_helpers : sig ... endmodule Sc_rollup_helpers : sig ... endmodule Scenario : sig ... endThis module centralises all modules related to Scenario writing and execution. Most scenario tests would use most if not all of them, so they only need to open Scenario.
module Scenario_bake : sig ... endmodule Scenario_base : sig ... endThis module gathers the basic operations used in test scenarios. This includes starting a scenario, baking, checking and manipulating the state, and various wait functions
module Scenario_begin : sig ... endmodule Scenario_constants : sig ... endmodule Scenario_dsl : sig ... endmodule Scenario_op : sig ... endThis module gathers many protocol operations in the form of scenarios. This includes (but is not limited to) transfers and such (stake, unstake...), as well as various ways to forge double signings.
module Script_big_map : sig ... endmodule Script_map : sig ... endmodule Script_set : sig ... endmodule Slashing_helpers : sig ... endHelpers related to denunciations and slashing.
module State : sig ... endmodule State_account : sig ... endState_account is dedicated to operations in State.t that would modify an account_state. This includes any operation like transfer, stake, unstake, set_delegate_parameters, anything related to slashing or rewards, etc...
module State_ai_flags : sig ... endThis module handles the logic of flags for AI/AS in the State
module Test_global_constants : sig ... endmodule Testable : sig ... endmodule Tez_helpers : sig ... endmodule Tez_staking_helpers : sig ... endTez_staking_helpers defines different kinds of tez Modules that manipulate them in different ways. They involve more complicated operations, as they are related to staking, thus are represented as partial amounts, and are related to pseudotokens.
module Ticket_helpers : sig ... endmodule Transfers : sig ... endmodule Zk_rollup_l2_helpers : sig ... end