eos icon indicating copy to clipboard operation
eos copied to clipboard

[bug]Can not set custom genesis config for native tester

Open Avm07 opened this issue 3 years ago • 0 comments

For developing purposes i need to increase max inline actions depth.

I do this in tester constructor class, but seems that blockchain start before constructor call

genesis_state gs;
gs.initial_configuration.max_inline_action_depth = 10;
init(controller::config{}, gs);

Error is test is next: This version of controller::startup only works with a fresh state database.

How to gracefully change max inline actions depth in native unit tests?

Avm07 avatar Aug 25 '21 14:08 Avm07