From 6ea801d960e7f51424ab62193b886a0ba98ce8eb Mon Sep 17 00:00:00 2001 From: Daniel Lubarov Date: Sat, 13 Aug 2022 10:23:29 -0700 Subject: [PATCH] TODOs --- evm/src/cpu/kernel/asm/core/terminate.asm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/evm/src/cpu/kernel/asm/core/terminate.asm b/evm/src/cpu/kernel/asm/core/terminate.asm index 7aff0e43..3f953522 100644 --- a/evm/src/cpu/kernel/asm/core/terminate.asm +++ b/evm/src/cpu/kernel/asm/core/terminate.asm @@ -21,6 +21,7 @@ global selfdestruct: global revert: // TODO: Refund unused gas to parent. + // TODO: Revert state changes. %jump(terminate_common) // The execution is in an exceptional halt-ing state if @@ -31,7 +32,7 @@ global revert: // - the new stack size would be larger than 1024, or // - state modification is attempted during a static call global exception: - // TODO + // TODO: Revert state changes. %jump(terminate_common) terminate_common: