Skip to content

Commit 7c6a3ce

Browse files
authored
Add requestsRoot to t8n output for Prague (#1018)
Pulled out of #961 This is related to https://eips.ethereum.org/EIPS/eip-7685 and required for filling EEST for Prague.
1 parent 0453324 commit 7c6a3ce

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/t8n/t8n.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ int main(int argc, const char* argv[])
238238
hex0x(state::BlockInfo::MAX_BLOB_GAS_PER_BLOCK - blob_gas_left);
239239
j_result["currentExcessBlobGas"] = hex0x(block.excess_blob_gas);
240240
}
241+
if (rev >= EVMC_PRAGUE)
242+
{
243+
// EIP-7685: General purpose execution layer requests
244+
j_result["requestsRoot"] = hex0x(state::EMPTY_MPT_HASH);
245+
}
241246

242247
std::ofstream{output_dir / output_result_file} << std::setw(2) << j_result;
243248

0 commit comments

Comments
 (0)