From: Ardis Lu Date: Thu, 4 Jun 2026 05:49:50 +0000 (-0700) Subject: Follow `geas` comment convention X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=e5dedbb604999f98798b5c5b2bf1dfce1b700a77;p=minimal-eth-burner Follow `geas` comment convention See https://github.com/fjl/geas#comments --- diff --git a/burner.eas b/burner.eas index 927196b..930b655 100644 --- a/burner.eas +++ b/burner.eas @@ -1,11 +1,12 @@ -;; This is creation bytecode which will return 0x30ff when run -PUSH2 0x30ff ;; value -PUSH0 ;; offset +;;; This is creation bytecode which will return 0x30ff when run + +PUSH2 0x30ff ; value +PUSH0 ; offset MSTORE -PUSH1 2 ;; size -PUSH1 30 ;; offset +PUSH1 2 ; size +PUSH1 30 ; offset RETURN -;; The above code, assembled: -;; 0x6130ff5f526002601ef3 +;;; The above code, assembled: +;;; 0x6130ff5f526002601ef3 diff --git a/deployer.eas b/deployer.eas index 10275c6..f9b08c7 100644 --- a/deployer.eas +++ b/deployer.eas @@ -1,25 +1,25 @@ -;; This code will: -;; 1. Create a new smart contract using burner.evm -;; 2. Call the new smart contract +;;; This code will: +;;; 1. Create a new smart contract using burner.evm +;;; 2. Call the new smart contract ;; burner.evm, assembled -PUSH10 0x6130ff5f526002601ef3 ;; value -PUSH0 ;; offset +PUSH10 0x6130ff5f526002601ef3 ; value +PUSH0 ; offset MSTORE -PUSH1 10 ;; size -PUSH1 22 ;; offset -CALLVALUE ;; value +PUSH1 10 ; size +PUSH1 22 ; offset +CALLVALUE ; value CREATE -PUSH0 ;; retSize -PUSH0 ;; retOffset -PUSH0 ;; argsSize -PUSH0 ;; argsOffset -PUSH0 ;; value -DUP6 ;; address -GAS ;; gas +PUSH0 ; retSize +PUSH0 ; retOffset +PUSH0 ; argsSize +PUSH0 ; argsOffset +PUSH0 ; value +DUP6 ; address +GAS ; gas CALL -;; This smart contract, assembled: -;; 0x696130ff5f526002601ef35f52600a601634f05f5f5f5f5f855af1 +;;; This smart contract, assembled: +;;; 0x696130ff5f526002601ef35f52600a601634f05f5f5f5f5f855af1