odradev / odra

Odra framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Speculative Execution for livenet deploys.

zie1ony opened this issue · comments

Try to catch 'speculative_exec' is not a supported json-rpc method on this server and then communicate gas need to be set manually.

pub enum GasStrategy {
   SpeculativeFirst,
   ManualIfSetThenSpeculative,
   ManualFirst // skips sepeculative
}

Maybe add livenet_env.set_gas_strategy(GasStrategy::ManualOnly)