refactor: SField and TER code renames (#7797)

This commit is contained in:
Rithvik Reddygari
2026-07-20 12:29:39 -04:00
committed by GitHub
parent d3550fac60
commit a41889df31
27 changed files with 316 additions and 322 deletions

View File

@@ -58,10 +58,10 @@ ApplyContext::discard()
std::optional<TxMeta>
ApplyContext::apply(TER ter)
{
if (wasmReturnCode_.has_value())
if (vmReturnCode_.has_value())
{
// NOLINTNEXTLINE(bugprone-unchecked-optional-access) view_ emplaced in constructor
view_->setWasmReturnCode(*wasmReturnCode_);
view_->setVMReturnCode(*vmReturnCode_);
}
// NOLINTNEXTLINE(bugprone-unchecked-optional-access) view_ emplaced in constructor
view_->setGasUsed(gasUsed_);