mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 02:49:55 +00:00
doc: Rephrase comment
This commit is contained in:
@ -110,8 +110,10 @@ where
|
|||||||
_contract: Address,
|
_contract: Address,
|
||||||
_data: Bytes,
|
_data: Bytes,
|
||||||
) -> Result<ResultAndState<Self::HaltReason>, Self::Error> {
|
) -> Result<ResultAndState<Self::HaltReason>, Self::Error> {
|
||||||
// NOTE: (HACK) Per hyper-evm-sync, HyperEVM doesn't seem to call this method, so we just return a success result with no changes
|
// NOTE: This is used for block traces.
|
||||||
// This is used for block traces. In a long term, consider implementing SystemCaller.
|
// Per hyper-evm-sync, HyperEVM doesn't seem to call this method, so
|
||||||
|
// - we just return a success result with no changes, which gives the same semantics as HyperEVM.
|
||||||
|
// - In a long term (ideally), consider implementing SystemCaller.
|
||||||
Ok(ResultAndState::new(
|
Ok(ResultAndState::new(
|
||||||
ExecutionResult::Success {
|
ExecutionResult::Success {
|
||||||
reason: SuccessReason::Stop,
|
reason: SuccessReason::Stop,
|
||||||
|
|||||||
Reference in New Issue
Block a user