2

I check system account resources just after test initialization start. And i see that ram_usage is already 62206 bytes. Where is this bytes come from?

eosio_system_tester.hpp

...
template<typename Lambda>
eosio_system_tester(Lambda setup) {

   using eosio::chain::resource_limits::resource_usage_object;
   using eosio::chain::resource_limits::by_owner;
   const auto& usage  = control->db().get<resource_usage_object,by_owner>( config::system_account_name );
   // Here. usage.ram_usage is 62206 bytes.

   setup(*this);
...

Thanks

2

Found the answer.

It is genesis block initialization (mostly by eosio.bios.wast).

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.