Skip to content

Commit

Permalink
fix: inline IR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
z80dev committed Nov 25, 2023
1 parent 269f17f commit 0a93ff7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions examples/venom.dasy
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
(defn storeInMem [] :external
(venom "(seq (mstore (add 32 31) 5945936342127)
(mstore 0 20)
(return 0 0))"))

(defn retOne [] :uint256 :external
(defvar x :uint256 0)
(venom "(mstore 64 1)")
Expand Down
4 changes: 0 additions & 4 deletions tests/test_dasy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
import pytest


def test_venom():
c = compile("examples/venom.dasy")
assert c.retOne() == 1

def test_compare_venom_vyper():
c = compile("examples/venom.dasy")
v = boa.load("examples/venom_comp.vy")
Expand Down

0 comments on commit 0a93ff7

Please sign in to comment.