package
0.0.0-20240904134818-08f901de4bfb
Repository: https://github.com/dharitrione/drt-chain-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

BenchmarkScenariosSpecificTx -.
CheckAccounts will verify if scenariosAccounts correspond to AccountsAdapter accounts.
CheckConverter -.
CheckStorage checks if the dataTrie of an account equals with the storage of the corresponding scenariosAccount.
CheckTransactions checks if the transactions correspond with the scenariosTransactions.
CreateAccountsFromScenariosAccs uses scenariosAccounts to populate the AccountsAdapter.
CreateTransactionsFromScenariosTxs converts scenarios transactions intro trasnsactions that can be processed by the txProcessor.
DeploySCsFromScenariosDeployTxs deploys all smartContracts correspondent to "scDeploy" in a scenarios test, then replaces with the correct computed address in all the transactions.
ProcessAllTransactions -.
ReplaceScenariosScAddressesWithNewScAddresses corrects the Scenarios SC Addresses, with the new Addresses obtained from deploying the SCs.
RunSingleTransactionBenchmark receives the VMTestContext (which can be created with SetStateFromScenariosTest), a tx and performs a benchmark on that specific tx.
SetStateFromScenariosTest recieves path to scenariosTest, returns a VMTestContext with the specified accounts, an array with the specified transactions and an error.