summaryrefslogtreecommitdiff
path: root/node/node.go
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-05-22 20:08:09 -0400
committerstefan <stefan@s00.xyz>2023-05-22 20:08:09 -0400
commitc30e7f5f99f9ad4d9552b645d7b89d7385972f99 (patch)
treea2938c9cda3226ef7e3ea8cb84b338a41003ceb4 /node/node.go
downloadevm-c30e7f5f99f9ad4d9552b645d7b89d7385972f99.tar.gz
stack
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/node/node.go b/node/node.go
new file mode 100644
index 0000000..18640e9
--- /dev/null
+++ b/node/node.go
@@ -0,0 +1,15 @@
+package main
+
+import (
+ "fmt"
+
+ "github.com/holiman/uint256"
+)
+
+func main() {
+ s := NewStack()
+ x, _ := uint256.FromHex("0xfeedface")
+ s.Push(x)
+ y := s.Pop()
+ fmt.Println(y.String())
+}