mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Update VM gas counter after execution
This commit is contained in:
parent
2b4430eedf
commit
ddfe85bd33
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ bytesConstRef VM::go(ExtVMFace& _ext, OnOpFunc const&, uint64_t)
|
|||
break;
|
||||
}
|
||||
|
||||
m_gas = llvm2eth(data.elems[RuntimeData::Gas]);
|
||||
m_output = std::move(engine.returnData);
|
||||
return {m_output.data(), m_output.size()}; // TODO: This all bytesConstRef stuff sucks
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue