This is a paid feature. Please check the pricing page for our different subscription tiers.
Hydra supports reading and writing LiquidApps' vRAM tables.
eosio::multi_index tables, vRAM tables are stored and encoded across multiple tables.
Hydra decodes this table data on the fly when using
getTableRowsScoped, so they can be used like any other EOSIO multi-index table.
At the same time, it's possible to use Hydra's exisiting fixture loading feature to load initial vRAM table data.
Consider a token contract storing the user account balances in a vRAM table:
The transfer function can be tested by simply reading the
accounts table that the
dapp::multi_index was defined on:
Under the hood, Hydra transforms the vRAM table data to what one would expect.
hydraload action, one can inject data into any vRAM table.
Enable it by including the header file and annotating each
Afterwards, specify the data to load in your tests: